Skip to content

Commit

Permalink
Pod-Annotations-For-Executor (#140)
Browse files Browse the repository at this point in the history
* Pod-Annotations-For-Executor
  • Loading branch information
ehuizar1028 authored Aug 23, 2024
1 parent 5ba4164 commit c998221
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
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.20.0
version: 3.21.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-executor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ spec:
{{- end }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secrets-executor.yaml") . | sha256sum }}
{{- with .Values.executor.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.executor.imagePullSecrets | default .Values.global.imagePullSecrets }}
imagePullSecrets:
Expand Down
5 changes: 4 additions & 1 deletion charts/terrakube/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,9 @@
"podLabels": {
"type": "object"
},
"podAnnotations": {
"type": "object"
},
"env": {
"type": "array",
"items": {
Expand Down Expand Up @@ -557,4 +560,4 @@
},
"title": "Terrakube Chart Values",
"type": "object"
}
}
1 change: 1 addition & 0 deletions charts/terrakube/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ executor:
- terrakube-executor-secrets
resources: {}
podLabels: {}
podAnnotations: {}
apiServiceUrl: "http://terrakube-api-service:8080"
properties:
toolsRepository: "https://github.com/AzBuilder/terrakube-extensions"
Expand Down

0 comments on commit c998221

Please sign in to comment.