Skip to content

Commit

Permalink
chart placeholders (#66)
Browse files Browse the repository at this point in the history
* add podLabels and podAnnotations

* add namespace

* remove NS

* NS from values
  • Loading branch information
abynenkov-ib committed Apr 26, 2021
1 parent 1a3ba47 commit 8f6a42c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions deploy/pubsub/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ spec:
labels:
app.kubernetes.io/name: {{ include "pubsub.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Values.podLabels }}
{{- toYaml .Values.podLabels | trim | nindent 8 }}
{{- end }}
annotations:
{{- if .Values.podAnnotations }}
{{- toYaml .Values.podAnnotations | trim | nindent 8 }}
{{- end }}
spec:
{{- if eq .Values.rbac.enabled true }}
serviceAccountName: pubsub
Expand Down
6 changes: 6 additions & 0 deletions deploy/pubsub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ imagePullSecretsName:

replicaCount: 1

# additional annotations to add to the pods
podAnnotations: {}

# additional labels to add to the pods
podLabels: {}

env:
name: "AWS_REGION"
value: "us-east-1"
Expand Down

0 comments on commit 8f6a42c

Please sign in to comment.