This repository was archived by the owner on Jul 26, 2022. It is now read-only.
File tree 5 files changed +60
-48
lines changed
charts/kubernetes-external-secrets
5 files changed +60
-48
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,12 @@ $ helm install --name my-release external-secrets/kubernetes-external-secrets
22
22
23
23
> ** Tip:** A namespace can be specified by the ` Helm ` option '` --namespace kube-external-secrets ` '
24
24
25
+ To install the chart with [ AWS IAM Roles for Service Accounts] ( https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html ) :
26
+
27
+ ``` bash
28
+ $ helm install --name my-release --set securityContext.fsGroup=65534 --set serviceAccount.annotations." eks\.amazonaws\.com/role-arn" =' arn:aws:iam::111111111111:role/ROLENAME' external-secrets/kubernetes-external-secrets
29
+ ```
30
+
25
31
## Uninstalling the Chart
26
32
27
33
To uninstall/delete the deployment:
@@ -49,8 +55,10 @@ The following table lists the configurable parameters of the `kubernetes-externa
49
55
| ` nameOverride ` | Override the name of app | ` nil ` |
50
56
| ` fullnameOverride ` | Override the full name of app | ` nil ` |
51
57
| ` rbac.create ` | Create & use RBAC resources | ` true ` |
58
+ | ` securityContext.fsGroup ` | Security context for the container | ` {} ` |
52
59
| ` serviceAccount.create ` | Whether a new service account name should be created. | ` true ` |
53
- | ` serviceAccount.name ` | Service account to be used. | automatically generated
60
+ | ` serviceAccount.name ` | Service account to be used. | automatically generated |
61
+ | ` serviceAccount.annotations ` | Annotations to be added to service account | ` nil ` |
54
62
| ` podAnnotations ` | Annotations to be added to pods | ` {} ` |
55
63
| ` replicaCount ` | Number of replicas | ` 1 ` |
56
64
| ` nodeSelector ` | node labels for pod assignment | ` {} ` |
Original file line number Diff line number Diff line change 24
24
{{- end }}
25
25
spec :
26
26
serviceAccountName : {{ template "kubernetes-external-secrets.serviceAccountName" . }}
27
+ {{- if .Values.securityContext }}
28
+ securityContext : {{ toYaml .Values.securityContext | nindent 8 }}
29
+ {{- end }}
27
30
containers :
28
31
- name : {{ .Chart.Name }}
29
32
image : " {{ .Values.image.repository }}:{{ .Values.image.tag }}"
Original file line number Diff line number Diff line change @@ -43,6 +43,9 @@ fullnameOverride: ""
43
43
44
44
podAnnotations : {}
45
45
46
+ securityContext : {}
47
+ # fsGroup: 65534
48
+
46
49
resources : {}
47
50
# We usually recommend not to specify default resources and to leave this as a conscious
48
51
# choice for the user. This also increases chances charts run on environments with little
Original file line number Diff line number Diff line change 29
29
"node" : " >=12.0.0"
30
30
},
31
31
"dependencies" : {
32
- "aws-sdk" : " ^2.433 .0" ,
32
+ "aws-sdk" : " ^2.566 .0" ,
33
33
"express" : " ^4.17.1" ,
34
34
"json-stream" : " ^1.0.0" ,
35
35
"kubernetes-client" : " ^8.3.0" ,
You can’t perform that action at this time.
0 commit comments