Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checksum configmap #101

Merged
merged 6 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/apigw-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: apigw-operator
description: A Helm chart for Kubernetes
type: application
version: 0.1.7
version: 0.1.8
appVersion: "1.1.2"
maintainers:
- name: ffais
Expand Down
5 changes: 3 additions & 2 deletions charts/apigw-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ spec:
{{- include "apigw-operator.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
Expand Down Expand Up @@ -83,4 +84,4 @@ spec:
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/core/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: core
description: Core backend application for DigitalHub.
type: application
version: 0.1.36
version: 0.1.37
appVersion: "0.6.0"
maintainers:
- name: ffais
Expand Down
3 changes: 2 additions & 1 deletion charts/core/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ spec:
{{- include "core.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
Expand Down
2 changes: 1 addition & 1 deletion charts/dremio-rest-server-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: dremio-rest-server-operator
description: A Helm chart for Kubernetes
type: application
version: 0.1.4
version: 0.1.5
appVersion: "1.0.3"
maintainers:
- name: ffais
Expand Down
5 changes: 3 additions & 2 deletions charts/dremio-rest-server-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ spec:
{{- include "dremio-rest-server-operator.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
Expand Down Expand Up @@ -83,4 +84,4 @@ spec:
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/kubernetes-resource-manager/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: kubernetes-resource-manager
description: A Helm chart for Kubernetes
type: application
version: 0.1.22
version: 0.1.24
appVersion: "1.1.18"
maintainers:
- name: ffais
Expand Down
3 changes: 3 additions & 0 deletions charts/kubernetes-resource-manager/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ data:
KRM_AUTH_OAUTH2_SCOPES: {{ .Values.oidc.scope }}
AUTH_TYPE: {{ .Values.oidc.authType }}
REDIRECT_URL: {{ .Values.oidc.redirectUrl }}
{{- if .Values.env.additionalEnv }}
{{- toYaml .Values.env.additionalEnv | nindent 2}}
{{- end }}
3 changes: 2 additions & 1 deletion charts/kubernetes-resource-manager/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ spec:
{{- include "kubernetes-resource-manager.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
Expand Down
3 changes: 3 additions & 0 deletions charts/kubernetes-resource-manager/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -225,3 +225,6 @@ resourceSelectors:
owners: "db.movetokube.com/v1alpha1"
# list separated by ,
names: "(digitalhub\\-owner|digitalhub\\-reader|digitalhub\\-writer).*"

env:
additionalEnv: {}
2 changes: 1 addition & 1 deletion charts/minio-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: minio-operator
description: A Kubernetes operator to handle instances of buckets, users and policies on MinIO.
type: application
version: 0.1.3
version: 0.1.4
appVersion: "1.0.1"
maintainers:
- name: ffais
Expand Down
3 changes: 2 additions & 1 deletion charts/minio-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ spec:
{{- include "minio-operator.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
Expand Down
2 changes: 1 addition & 1 deletion charts/postgrest-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: postgrest-operator
description: A Helm chart for Kubernetes
type: application
version: 0.1.6
version: 0.1.7
appVersion: "2.0.5"
maintainers:
- name: ffais
Expand Down
3 changes: 2 additions & 1 deletion charts/postgrest-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ spec:
{{- include "postgrest-operator.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
Expand Down