Skip to content

Commit fd13d6e

Browse files
Adam kafkabmsiegel
authored andcommitted
Add support for extraContainers
This adds support for declaring additional containers as part of the pod spec in the deployment. The driving use case here is to allow us to deploy the [aws_signing_helper](https://github.com/aws/rolesanywhere-credential-helper) in "serve" mode as a sidecar, so we can use the AWS PCA Issuer with IAM Roles Anywhere. Signed-off-by: Adam Kafka <[email protected]>
1 parent dc794bc commit fd13d6e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

charts/aws-pca-issuer/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ spec:
8585
resources:
8686
{{- toYaml .Values.resources | nindent 12 }}
8787
{{- end }}
88+
{{- if .Values.extraContainers }}
89+
{{- toYaml .Values.extraContainers | nindent 8 }}
90+
{{- end }}
8891
{{- if .Values.volumes }}
8992
volumes:
9093
{{ toYaml .Values.volumes | nindent 6 }}

charts/aws-pca-issuer/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ volumes: []
154154
# Additional VolumeMounts on the operator container.
155155
volumeMounts: []
156156

157+
# Extra containers to add to the pod spec in the deployment.
158+
extraContainers: []
159+
157160
# Configures a disruption budget for the deployment.
158161
#
159162
# Expects input structure similar to https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#poddisruptionbudgetspec-v1-policy

0 commit comments

Comments
 (0)