Skip to content

Commit

Permalink
Adapt the deployment priorityClassName according to the gardener docu…
Browse files Browse the repository at this point in the history
…mentation
  • Loading branch information
Kristiyan Gostev committed Jul 6, 2022
1 parent a8a0362 commit 5419728
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 19 deletions.
10 changes: 0 additions & 10 deletions charts/gardener-extension-os-ubuntu/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,4 @@ gardener-extension-os-ubuntu

{{- define "deploymentversion" -}}
apps/v1
{{- end -}}

{{- define "priorityclassversion" -}}
{{- if semverCompare ">= 1.14-0" .Capabilities.KubeVersion.GitVersion -}}
scheduling.k8s.io/v1
{{- else if semverCompare ">= 1.11-0" .Capabilities.KubeVersion.GitVersion -}}
scheduling.k8s.io/v1beta1
{{- else -}}
scheduling.k8s.io/v1alpha1
{{- end -}}
{{- end -}}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
app.kubernetes.io/name: gardener-extension-os-ubuntu
app.kubernetes.io/instance: {{ .Release.Name }}
spec:
priorityClassName: gardener-extension-os-ubuntu
priorityClassName: gardener-system-900
serviceAccountName: gardener-extension-os-ubuntu
containers:
- name: gardener-extension-os-ubuntu
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion example/controller-registration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: os-ubuntu
type: helm
providerConfig:
chart: H4sIAAAAAAAAA+0ba3PbNjKf+Sv22Os06YSkHrZzo5venCqriaeO7bGcdDI3NxmIhCTUJMECoBQlzf32W4APkZIty3bGblruaCQSWOwuFsBidwFNiQhoTIVDPygaS8Zjh0snHaexSr0nXwZaCC/2980vwvqveW5399qd/c7BgS5v73fb3Sew/4X4b4VUKiIAngjO1Ta8m+q/UphuG393RsOITWMu6H146AE+2Nu7dvxx2NfG/8XefusJtL5UJ7fBX3z8v4EzohQVsQTFIRtrWMxoDOOUhQGLp5AQ/5JMqXStb+BixiTINEm4U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