File tree Expand file tree Collapse file tree 4 files changed +20
-2
lines changed Expand file tree Collapse file tree 4 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22name : csdp-add-cluster
33description : This helm chart adds a remote cluster to an existing Codefresh runtime
44type : application
5- version : 0.3 .0
5+ version : 0.4 .0
66appVersion : 0.8.0
77home : https://codefresh.io/
88icon : https://avatars1.githubusercontent.com/u/11412079?v=3
Original file line number Diff line number Diff line change @@ -10,4 +10,18 @@ metadata:
1010 annotations :
1111 {{- toYaml . | nindent 4 }}
1212 {{- end }}
13- {{- end }}
13+ {{- if .Values.serviceAccount.secret }}
14+ {{- if .Values.serviceAccount.secret.create }}
15+ secrets :
16+ - name : {{ include "csdp-add-cluster.serviceAccountName" . }}-sa-token
17+ ---
18+ apiVersion : v1
19+ kind : Secret
20+ type : kubernetes.io/service-account-token
21+ metadata :
22+ name : {{ include "csdp-add-cluster.serviceAccountName" . }}-sa-token
23+ annotations :
24+ kubernetes.io/service-account.name : {{ include "csdp-add-cluster.serviceAccountName" . }}
25+ {{- end }}
26+ {{- end }}
27+ {{- end }}
Original file line number Diff line number Diff line change 4242# -- Create ServiceAccount
4343serviceAccount :
4444 create : true
45+ # -- Create ServiceAccount secret
46+ secret :
47+ create : true
4548 name : argocd-manager
4649 annotations : {}
4750
Original file line number Diff line number Diff line change @@ -11,3 +11,4 @@ base_components:
1111 Try to keep resources and patches out of the bundle kustomization, it should contain only the composition
1212 of components.
1313 bootstrap : This is the bootstrap component
14+
You can’t perform that action at this time.
0 commit comments