Skip to content

Commit

Permalink
adding extraLabels to kibana, move apigw extralabels into pod
Browse files Browse the repository at this point in the history
  • Loading branch information
Aron Kaufmann committed Dec 7, 2023
1 parent 195199a commit 1cca359
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apigateway/helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ metadata:
{{- with .Values.extraLabels -}}
{{ toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.apigw.extraLabels -}}
{{ toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
Expand All @@ -48,6 +45,9 @@ spec:
{{- with .Values.extraLabels -}}
{{ toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.apigw.extraLabels -}}
{{ toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down
3 changes: 3 additions & 0 deletions apigateway/helm/templates/kibana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ spec:
{{- with .Values.extraLabels -}}
{{ toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.kibana.extraLabels -}}
{{ toYaml . | nindent 8 }}
{{- end }}
annotations:
{{- with .Values.kibana.annotations -}}
{{ toYaml . | nindent 8 }}
Expand Down
5 changes: 5 additions & 0 deletions apigateway/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,8 @@ apigw:
# properties:
# location: apigw-config.yml
extraConfigSources: []

# -- Additional labels to be added to apigw pod labels.
extraLabels: {}

prometheus:
Expand Down Expand Up @@ -563,6 +565,9 @@ kibana:
# memory: 128Mi
resources: {}

# -- Additional labels to be added to kibana pod labels.
extraLabels: {}

# -- Enable and configure service account creation.
serviceAccount:
# -- Whether to create a ServiceAccount for Kibana
Expand Down

0 comments on commit 1cca359

Please sign in to comment.