added deploymentAnnotations to helm chart

This commit is contained in:
Maidul Islam
2023-01-26 14:17:51 -08:00
parent 038445e13e
commit b95ab6c6a1
4 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # 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. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.8 version: 0.1.9
# This is the version number of the application being deployed. This version number should be # 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 # incremented each time you make changes to the application. Versions are not expected to
@@ -4,6 +4,10 @@ metadata:
name: {{ include "infisical.backend.fullname" . }} name: {{ include "infisical.backend.fullname" . }}
labels: labels:
{{- include "infisical.backend.labels" . | nindent 4 }} {{- include "infisical.backend.labels" . | nindent 4 }}
{{- with .Values.backend.deploymentAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
spec: spec:
replicas: {{ .Values.backend.replicaCount }} replicas: {{ .Values.backend.replicaCount }}
selector: selector:
@@ -4,6 +4,10 @@ metadata:
name: {{ include "infisical.frontend.fullname" . }} name: {{ include "infisical.frontend.fullname" . }}
labels: labels:
{{- include "infisical.frontend.labels" . | nindent 4 }} {{- include "infisical.frontend.labels" . | nindent 4 }}
{{- with .Values.frontend.deploymentAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
spec: spec:
replicas: {{ .Values.frontend.replicaCount }} replicas: {{ .Values.frontend.replicaCount }}
selector: selector:
+4 -2
View File
@@ -8,12 +8,13 @@ nameOverride: ""
frontend: frontend:
name: frontend name: frontend
podAnnotations: {} podAnnotations: {}
deploymentAnnotations: {}
replicaCount: 2 replicaCount: 2
image: image:
repository: infisical/frontend repository: infisical/frontend
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
tag: "latest" tag: "latest"
# kubeSecretRef: some-kube-secret-name # kubeSecretRef: some-kube-secret-name
service: service:
# type of the frontend service # type of the frontend service
type: ClusterIP type: ClusterIP
@@ -24,12 +25,13 @@ frontend:
backend: backend:
name: backend name: backend
podAnnotations: {} podAnnotations: {}
deploymentAnnotations: {}
replicaCount: 2 replicaCount: 2
image: image:
repository: infisical/backend repository: infisical/backend
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
tag: "latest" tag: "latest"
# kubeSecretRef: some-kube-secret-name # kubeSecretRef: some-kube-secret-name
service: service:
annotations: {} annotations: {}