Commit e7bb88a 1 parent b07526a commit e7bb88a Copy full SHA for e7bb88a
File tree 5 files changed +42
-12
lines changed
5 files changed +42
-12
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ permissions:
10
10
packages : write
11
11
12
12
jobs :
13
- helm :
13
+ helm-oci :
14
14
runs-on : ubuntu-latest
15
15
steps :
16
16
- name : Clone repo
32
32
helm package --app-version ${{ github.ref_name }} --version ${{ github.ref_name }} grafana-operator
33
33
helm push grafana-operator-${{ github.ref_name }}.tgz ${{ env.HELM_REPO }}
34
34
35
+ helm-charts-repo :
36
+ permissions :
37
+ contents : write
38
+ uses : grafana/helm-charts/.github/workflows/update-helm-repo.yaml@main
39
+ with :
40
+ charts_dir : deploy/helm
41
+ cr_configfile : deploy/helm/cr.yaml
42
+ ct_configfile : deploy/helm/ct.yaml
43
+ helm_tag_prefix : helm
44
+ secrets :
45
+ github_app_id : ${{ secrets.GRAFANA_OPERATOR_HELM_RELEASE_APP_ID }}
46
+ github_app_pem : ${{ secrets.GRAFANA_OPERATOR_HELM_RELEASE_PEM_KEY }}
47
+
35
48
kustomize :
36
49
runs-on : ubuntu-latest
37
50
steps :
Original file line number Diff line number Diff line change @@ -420,3 +420,11 @@ API_REF_GEN=$(GOBIN)/crdoc
420
420
else
421
421
API_REF_GEN =$(shell which crdoc)
422
422
endif
423
+
424
+ .PHONY : prep-release
425
+ prep-release : yq
426
+ $(YQ ) -i ' .version="v$(VERSION)"' deploy/helm/grafana-operator/Chart.yaml
427
+ $(YQ ) -i ' .appVersion="v$(VERSION)"' deploy/helm/grafana-operator/Chart.yaml
428
+ $(YQ ) -i ' .params.version="v$(VERSION)"' hugo/config.yaml
429
+ sed -i ' s/--version v5.*/--version v$(VERSION)/g' README.md
430
+ make helm/docs
Original file line number Diff line number Diff line change
1
+ git-repo : helm-charts
2
+ owner : grafana
3
+ skip-existing : true
4
+ release-name-template : " {{ .Name }}-{{ .Version }}"
5
+
6
+ generate-release-notes : true
Original file line number Diff line number Diff line change
1
+ ---
2
+ remote : origin
3
+ target-branch : main
4
+ chart-dirs :
5
+ - deploy/helm
6
+ chart-repos :
7
+ - grafana=https://grafana.github.io/helm-charts
8
+ helm-extra-args : --timeout 600s
9
+ check-version-increment : false
10
+ validate-maintainers : false
11
+ validate-yaml : true
Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
2
name : grafana-operator
3
3
description : A Helm chart for Kubernetes
4
-
5
4
# A chart can be either an 'application' or a 'library' chart.
6
5
#
7
6
# Application charts are a collection of templates that can be packaged into versioned archives
@@ -11,14 +10,7 @@ description: A Helm chart for Kubernetes
11
10
# a dependency of application charts to inject those utilities and functions into the rendering
12
11
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
13
12
type : application
14
-
15
- # This is the chart version. This version number should be incremented each time you make changes
16
- # to the chart and its templates, including the app version.
17
- # Versions are expected to follow Semantic Versioning (https://semver.org/)
18
- version : 0.3.0
19
-
20
- # This is the version number of the application being deployed. This version number should be
21
- # incremented each time you make changes to the application. Versions are not expected to
22
- # follow Semantic Versioning. They should reflect the version the application is using.
23
- # It is recommended to use it with quotes.
13
+ # We keep the version and appVersion in sync as most updates also include
14
+ # changes to the CRDs which are bundled with the helm resources
15
+ version : v5.14.0
24
16
appVersion : " v5.14.0"
You can’t perform that action at this time.
0 commit comments