Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix helm deploymentAnnotations

Maidul Islam7acb4cc22a48
diff --git a/helm-charts/infisical/Chart.yaml b/helm-charts/infisical/Chart.yaml
index 013b01e54b..81b7182c00 100644
--- a/helm-charts/infisical/Chart.yaml
+++ b/helm-charts/infisical/Chart.yaml
@@ -7,7 +7,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
-version: 0.1.9
+version: 0.1.10
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
diff --git a/helm-charts/infisical/templates/backend-deployment.yaml b/helm-charts/infisical/templates/backend-deployment.yaml
index 62eb90436d..141997a3ec 100644
--- a/helm-charts/infisical/templates/backend-deployment.yaml
+++ b/helm-charts/infisical/templates/backend-deployment.yaml
@@ -2,12 +2,12 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "infisical.backend.fullname" . }}
+ {{- with .Values.backend.deploymentAnnotations }}
+ annotations:
+ {{- toYaml . | nindent 8 }}
+ {{- end }}
labels:
{{- include "infisical.backend.labels" . | nindent 4 }}
- {{- with .Values.backend.deploymentAnnotations }}
- annotations:
- {{- toYaml . | nindent 8 }}
- {{- end }}
spec:
replicas: {{ .Values.backend.replicaCount }}
selector:
diff --git a/helm-charts/infisical/templates/frontend-deployment.yaml b/helm-charts/infisical/templates/frontend-deployment.yaml
index 553d94d359..0527a63dd0 100644
--- a/helm-charts/infisical/templates/frontend-deployment.yaml
+++ b/helm-charts/infisical/templates/frontend-deployment.yaml
@@ -2,12 +2,12 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "infisical.frontend.fullname" . }}
+ {{- with .Values.frontend.deploymentAnnotations }}
+ annotations:
+ {{- toYaml . | nindent 8 }}
+ {{- end }}
labels:
{{- include "infisical.frontend.labels" . | nindent 4 }}
- {{- with .Values.frontend.deploymentAnnotations }}
- annotations:
- {{- toYaml . | nindent 8 }}
- {{- end }}
spec:
replicas: {{ .Values.frontend.replicaCount }}
selector: