Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
feat(helm): add extraContainers, extraInitContainers, extraVolumes, and extraVolumeMounts support
Devin AIe37e0ad4b8c6
diff --git a/helm-charts/infisical-standalone-postgres/templates/infisical.yaml b/helm-charts/infisical-standalone-postgres/templates/infisical.yamlindex 058e431337..39fce528d0 100644--- a/helm-charts/infisical-standalone-postgres/templates/infisical.yaml+++ b/helm-charts/infisical-standalone-postgres/templates/infisical.yaml@@ -45,6 +45,10 @@ spec:{{- if $infisicalValues.image.imagePullSecrets }}imagePullSecrets:{{- toYaml $infisicalValues.image.imagePullSecrets | nindent 6 }}+ {{- end }}+ {{- with $infisicalValues.extraInitContainers }}+ initContainers:+ {{- toYaml . | nindent 8 }}{{- end }}containers:- name: {{ template "infisical.name" . }}-{{ $infisicalValues.name }}@@ -87,6 +91,9 @@ spec:volumeMounts:{{- toYaml . | nindent 10 }}{{- end }}+ {{- with $infisicalValues.extraContainers }}+ {{- toYaml . | nindent 6 }}+ {{- end }}{{- with $infisicalValues.extraVolumes }}volumes:{{- toYaml . | nindent 8 }}diff --git a/helm-charts/infisical-standalone-postgres/values.yaml b/helm-charts/infisical-standalone-postgres/values.yamlindex 11da79ab94..4157d0acbc 100644--- a/helm-charts/infisical-standalone-postgres/values.yaml+++ b/helm-charts/infisical-standalone-postgres/values.yaml@@ -107,6 +107,39 @@ infisical:# -- CPU request for Infisical containercpu: 350m+ # -- Additional containers to run alongside the Infisical container (sidecars).+ # -- Useful for running auxiliary services like HSM PKCS#11 clients.+ # -- Example:+ # -- extraContainers:+ # -- - name: hsm-client+ # -- image: my-hsm-client:latest+ # -- volumeMounts:+ # -- - name: pkcs11-socket+ # -- mountPath: /var/run/hsm+ extraContainers: []++ # -- Additional init containers to run before the Infisical container starts.+ # -- Example:+ # -- extraInitContainers:+ # -- - name: wait-for-hsm+ # -- image: busybox:latest+ # -- command: ['sh', '-c', 'until nc -z hsm-host 9004; do sleep 2; done']+ extraInitContainers: []++ # -- Additional volumes to attach to the Infisical pods.+ # -- Example:+ # -- extraVolumes:+ # -- - name: pkcs11-socket+ # -- emptyDir: {}+ extraVolumes: []++ # -- Additional volume mounts for the Infisical container.+ # -- Example:+ # -- extraVolumeMounts:+ # -- - name: pkcs11-socket+ # -- mountPath: /var/run/hsm+ extraVolumeMounts: []+ingress:# -- Enable or disable ingress configurationenabled: true