Skip to content

Commit

Permalink
[Release] stable v3.1.0 support custom pod labels
Browse files Browse the repository at this point in the history
feat(confluence-server): support custom pod labels
  • Loading branch information
javimox authored Mar 23, 2021
2 parents e1a511e + 12bf21a commit 3c2739d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/confluence-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,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.
version: 3.0.0
version: 3.1.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
1 change: 1 addition & 0 deletions charts/confluence-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ By default a PostgreSQL will be deployed and a user and a database will be creat
| `tolerations` | List of node taints to tolerate | `[]` |
| `affinity` | Map of node/pod affinity labels | `{}` |
| `podAnnotations` | Map of annotations to add to the pods | `{}` |
| `podLabels` | Map of labels to add to the pods | `{}` |
| `extraVolumeMounts` | Additional volume mounts to add to the pods | `[]` |
| `extraVolumes` | Additional volumes to add to the pods | `[]` |
| `schedulerName` | Use an alternate scheduler, eg. `stork` | `""` |
Expand Down
3 changes: 3 additions & 0 deletions charts/confluence-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ spec:
metadata:
labels:
{{- include "confluence-server.selectorLabels" . | nindent 8 }}
{{- if .Values.podLabels }}
{{- toYaml .Values.podLabels | nindent 8 }}
{{- end }}
{{- with .Values.podAnnotations }}
annotations:
{{- . | toYaml | trim | nindent 8 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/confluence-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ affinity: {}
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
podAnnotations: {}

## Pod labels
## red: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podLabels: {}

## Persistent Volume Claim
## Confluence Home directory
## https://kubernetes.io/docs/concepts/storage/persistent-volumes/
Expand Down

0 comments on commit 3c2739d

Please sign in to comment.