diff --git a/charts/temporal/templates/admintools-deployment.yaml b/charts/temporal/templates/admintools-deployment.yaml index 8e5515d8..4bd48fb2 100644 --- a/charts/temporal/templates/admintools-deployment.yaml +++ b/charts/temporal/templates/admintools-deployment.yaml @@ -11,6 +11,13 @@ metadata: app.kubernetes.io/version: {{ .Chart.AppVersion | replace "+" "_" }} app.kubernetes.io/component: admintools app.kubernetes.io/part-of: {{ .Chart.Name }} + {{- with $.Values.admintools.deploymentLabels }} + {{- toYaml . | nindent 4 }} + {{- end }} + {{- with $.Values.admintools.deploymentAnnotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} spec: replicas: 1 selector: diff --git a/charts/temporal/templates/server-deployment.yaml b/charts/temporal/templates/server-deployment.yaml index 3679c226..f2f91662 100644 --- a/charts/temporal/templates/server-deployment.yaml +++ b/charts/temporal/templates/server-deployment.yaml @@ -13,6 +13,13 @@ metadata: app.kubernetes.io/version: {{ $.Chart.AppVersion | replace "+" "_" }} app.kubernetes.io/component: {{ $service }} app.kubernetes.io/part-of: {{ $.Chart.Name }} + {{- with (default $.Values.server.deploymentLabels $serviceValues.deploymentLabels) }} + {{- toYaml . | nindent 4 }} + {{- end }} + {{- with (default $.Values.server.deploymentAnnotations $serviceValues.deploymentAnnotations) }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} spec: replicas: {{ default $.Values.server.replicaCount $serviceValues.replicaCount }} selector: diff --git a/charts/temporal/templates/web-deployment.yaml b/charts/temporal/templates/web-deployment.yaml index d6096e70..1c288192 100644 --- a/charts/temporal/templates/web-deployment.yaml +++ b/charts/temporal/templates/web-deployment.yaml @@ -11,6 +11,13 @@ metadata: app.kubernetes.io/version: {{ .Chart.AppVersion | replace "+" "_" }} app.kubernetes.io/component: web app.kubernetes.io/part-of: {{ .Chart.Name }} + {{- with $.Values.web.deploymentLabels }} + {{- toYaml . | nindent 4 }} + {{- end }} + {{- with $.Values.web.deploymentAnnotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} spec: replicas: {{ .Values.web.replicaCount }} selector: diff --git a/charts/temporal/values.yaml b/charts/temporal/values.yaml index 5f8c4fd4..1b61732d 100644 --- a/charts/temporal/values.yaml +++ b/charts/temporal/values.yaml @@ -58,6 +58,8 @@ server: # targetLabel: __name__ prometheus: timerType: histogram + deploymentAnnotations: {} + deploymentLabels: {} podAnnotations: {} podLabels: {} secretLabels: {} @@ -207,6 +209,8 @@ server: # enabled: false prometheus: {} # timerType: histogram + deploymentAnnotations: {} + deploymentLabels: {} podAnnotations: {} podLabels: {} resources: {} @@ -229,6 +233,8 @@ server: # enabled: false prometheus: {} # timerType: histogram + deploymentAnnotations: {} + deploymentLabels: {} podAnnotations: {} podLabels: {} resources: {} @@ -251,6 +257,8 @@ server: # enabled: false prometheus: {} # timerType: histogram + deploymentAnnotations: {} + deploymentLabels: {} podAnnotations: {} podLabels: {} resources: {} @@ -273,6 +281,8 @@ server: # enabled: false prometheus: {} # timerType: histogram + deploymentAnnotations: {} + deploymentLabels: {} podAnnotations: {} podLabels: {} resources: {} @@ -293,6 +303,8 @@ admintools: type: ClusterIP port: 22 annotations: {} + deploymentAnnotations: {} + deploymentLabels: {} podLabels: {} podAnnotations: {} nodeSelector: {} @@ -332,6 +344,8 @@ web: # - secretName: chart-example-tls # hosts: # - chart-example.local + deploymentAnnotations: {} + deploymentLabels: {} podAnnotations: {} podLabels: {} resources: {}