Skip to content

Commit

Permalink
Re-order clusterresourcesync annotations (#2542)
Browse files Browse the repository at this point in the history
This is done as otherwise you'd get a ` <.Template.BasePath>: nil pointer evaluating interface {}.BasePath` error

Signed-off-by: Bernhard Stadlbauer <[email protected]>
  • Loading branch information
bstadlbauer authored May 25, 2022
1 parent 4386d2a commit 5f1b452
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ spec:
matchLabels: {{ include "flyteclusterresourcesync.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.cluster_resource_manager.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
configChecksum: {{ include (print .Template.BasePath "/clusterresourcesync/configmap.yaml") . | sha256sum | trunc 63 | quote }}
{{- end }}
{{- with .Values.cluster_resource_manager.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels: {{ include "flyteclusterresourcesync.labels" . | nindent 8 }}
spec:
containers:
Expand Down
2 changes: 2 additions & 0 deletions deployment/eks/flyte_aws_scheduler_helm_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -999,6 +999,8 @@ spec:
app.kubernetes.io/instance: flyte
template:
metadata:
annotations:
configChecksum: "96ecbccfd19ea2e8268104eae476320f13d53bfa83ddae7ac29d072b3fbc238"
labels:
app.kubernetes.io/name: flyteclusterresourcesync
app.kubernetes.io/instance: flyte
Expand Down
2 changes: 2 additions & 0 deletions deployment/eks/flyte_helm_controlplane_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,8 @@ spec:
app.kubernetes.io/instance: flyte
template:
metadata:
annotations:
configChecksum: "96ecbccfd19ea2e8268104eae476320f13d53bfa83ddae7ac29d072b3fbc238"
labels:
app.kubernetes.io/name: flyteclusterresourcesync
app.kubernetes.io/instance: flyte
Expand Down
2 changes: 2 additions & 0 deletions deployment/eks/flyte_helm_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1030,6 +1030,8 @@ spec:
app.kubernetes.io/instance: flyte
template:
metadata:
annotations:
configChecksum: "96ecbccfd19ea2e8268104eae476320f13d53bfa83ddae7ac29d072b3fbc238"
labels:
app.kubernetes.io/name: flyteclusterresourcesync
app.kubernetes.io/instance: flyte
Expand Down
2 changes: 2 additions & 0 deletions deployment/gcp/flyte_helm_controlplane_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,8 @@ spec:
app.kubernetes.io/instance: flyte
template:
metadata:
annotations:
configChecksum: "2a1e5e5cff9966c9658d2b665fc4787ef644d6eb43b0954a3eb59df94c0c678"
labels:
app.kubernetes.io/name: flyteclusterresourcesync
app.kubernetes.io/instance: flyte
Expand Down
2 changes: 2 additions & 0 deletions deployment/gcp/flyte_helm_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,8 @@ spec:
app.kubernetes.io/instance: flyte
template:
metadata:
annotations:
configChecksum: "2a1e5e5cff9966c9658d2b665fc4787ef644d6eb43b0954a3eb59df94c0c678"
labels:
app.kubernetes.io/name: flyteclusterresourcesync
app.kubernetes.io/instance: flyte
Expand Down
2 changes: 2 additions & 0 deletions deployment/sandbox/flyte_helm_generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4607,6 +4607,8 @@ spec:
app.kubernetes.io/instance: flyte
template:
metadata:
annotations:
configChecksum: "c9c09c6c4db7eb63d15b3c38ac229d0df28647bb980aaf23a0be22a37f33d94"
labels:
app.kubernetes.io/name: flyteclusterresourcesync
app.kubernetes.io/instance: flyte
Expand Down

0 comments on commit 5f1b452

Please sign in to comment.