Skip to content

Commit

Permalink
Adding Pod Annotations for all components (#150)
Browse files Browse the repository at this point in the history
* Adding Pod Annotations for all components
  • Loading branch information
ehuizar1028 authored Oct 16, 2024
1 parent a8f795d commit c08b689
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/terrakube/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,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.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.22.0
version: 3.23.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. Versions are not expected to
Expand Down
3 changes: 3 additions & 0 deletions charts/terrakube/templates/deployment-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
annotations:
{{- with .Values.api.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
checksum/config: {{ include (print $.Template.BasePath "/secrets-api.yaml") . | sha256sum }}
spec:
{{- with .Values.api.imagePullSecrets | default .Values.global.imagePullSecrets }}
Expand Down
3 changes: 3 additions & 0 deletions charts/terrakube/templates/deployment-openldap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
annotations:
{{- with .Values.openldap.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
checksum/config: {{ include (print $.Template.BasePath "/secret-openldap.yaml") . | sha256sum }}
spec:
{{- with .Values.openldap.imagePullSecrets | default .Values.global.imagePullSecrets }}
Expand Down
3 changes: 3 additions & 0 deletions charts/terrakube/templates/deployment-registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
annotations:
{{- with .Values.registry.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
checksum/config: {{ include (print $.Template.BasePath "/secrets-registry.yaml") . | sha256sum }}
spec:
{{- with .Values.registry.imagePullSecrets | default .Values.global.imagePullSecrets }}
Expand Down
3 changes: 3 additions & 0 deletions charts/terrakube/templates/deployment-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
annotations:
{{- with .Values.ui.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
checksum/config: {{ include (print $.Template.BasePath "/secrets-ui.yaml") . | sha256sum }}
spec:
{{- with .Values.ui.imagePullSecrets | default .Values.global.imagePullSecrets }}
Expand Down
4 changes: 4 additions & 0 deletions charts/terrakube/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ openldap:
imagePullSecrets: []
initContainers: []
podLabels: {}
podAnnotations: {}
securityContext: {}
containerSecurityContext: {}

Expand Down Expand Up @@ -186,6 +187,7 @@ api:
- terrakube-api-secrets
resources: {}
podLabels: {}
podAnnotations: {}
defaultDatabase: true
defaultRedis: true
loadSampleData: true
Expand Down Expand Up @@ -254,6 +256,7 @@ registry:
secrets:
- terrakube-registry-secrets
resources: {}
podAnnotations: {}
podLabels: {}
securityContext: {}
containerSecurityContext: {}
Expand All @@ -271,6 +274,7 @@ ui:
serviceAccountName: ""
resources: {}
podLabels: {}
podAnnotations: {}
securityContext: {}
containerSecurityContext: {}
imagePullSecrets: []
Expand Down

0 comments on commit c08b689

Please sign in to comment.