Skip to content

Commit

Permalink
Add ability to specify pod labels to all deployments and upgraded Dex…
Browse files Browse the repository at this point in the history
… dependency to 0.16.0 (#94)
  • Loading branch information
dcopestake authored Feb 15, 2024
1 parent a1526fe commit b7f23a9
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 5 deletions.
6 changes: 3 additions & 3 deletions charts/terrakube/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ dependencies:
version: 12.2.1
- name: dex
repository: https://charts.dexidp.io
version: 0.13.0
version: 0.16.0
- name: redis
repository: https://charts.bitnami.com/bitnami
version: 17.10.1
digest: sha256:b585024374038198da33c7e8484d7a6e4738e0418cec205a0e91ac1b85f3b91e
generated: "2023-11-10T09:50:04.812420216-06:00"
digest: sha256:c162d1108dcb874659cf0eabb02ecd016d4ee9157f140a44fb9f99200c1ea9fa
generated: "2024-02-08T17:41:25.9940401Z"
4 changes: 2 additions & 2 deletions 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.12.0
version: 3.13.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 All @@ -35,7 +35,7 @@ dependencies:
repository: "https://charts.bitnami.com/bitnami"

- name: dex
version: "0.13.0"
version: "0.16.0"
condition: dex.enabled
repository: "https://charts.dexidp.io"

Expand Down
Binary file removed charts/terrakube/charts/dex-0.13.0.tgz
Binary file not shown.
Binary file added charts/terrakube/charts/dex-0.16.0.tgz
Binary file not shown.
3 changes: 3 additions & 0 deletions charts/terrakube/templates/deployment-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ spec:
metadata:
labels:
app: terrakube-api
{{- with .Values.api.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secrets-api.yaml") . | sha256sum }}
spec:
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 @@ -14,6 +14,9 @@ spec:
metadata:
labels:
app: terrakube-executor
{{- with .Values.executor.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secrets-executor.yaml") . | sha256sum }}
spec:
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 @@ -14,6 +14,9 @@ spec:
metadata:
labels:
app: terrakube-openldap
{{- with .Values.openldap.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secret-openldap.yaml") . | sha256sum }}
spec:
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 @@ -14,6 +14,9 @@ spec:
metadata:
labels:
app: terrakube-registry
{{- with .Values.registry.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secrets-registry.yaml") . | sha256sum }}
spec:
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 @@ -14,6 +14,9 @@ spec:
metadata:
labels:
app: terrakube-ui
{{- with .Values.ui.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secrets-ui.yaml") . | sha256sum }}
spec:
Expand Down
20 changes: 20 additions & 0 deletions charts/terrakube/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@
"type": "object"
}
},
"podLabels": {
"type": "object"
},
"env": {
"type": "array",
"items": {
Expand Down Expand Up @@ -249,6 +252,14 @@
}
}
},
"openldap": {
"type": "object",
"properties": {
"podLabels": {
"type": "object"
}
}
},
"executor": {
"type": "object",
"required": ["enabled", "replicaCount", "properties"],
Expand Down Expand Up @@ -284,6 +295,9 @@
"type": "object"
}
},
"podLabels": {
"type": "object"
},
"env": {
"type": "array",
"items": {
Expand Down Expand Up @@ -347,6 +361,9 @@
"nodeSelector": {
"type": "object"
},
"podLabels": {
"type": "object"
},
"tolerations": {
"type": "array",
"items": {
Expand Down Expand Up @@ -417,6 +434,9 @@
"items": {
"type": "object"
}
},
"podLabels": {
"type": "object"
}
}
},
Expand Down

0 comments on commit b7f23a9

Please sign in to comment.