Cleanup old checks for k8s 1.18 (#7192)

This commit is contained in:
Florian Ruynat
2021-01-19 17:43:45 +01:00
committed by GitHub
parent 15dc3868c3
commit f6fbbc17a4
4 changed files with 9 additions and 10 deletions

View File

@@ -482,7 +482,7 @@ spec:
spec:
hostNetwork: true
nodeSelector:
{{ 'beta.' if kube_version is version('v1.18.0', '<') }}kubernetes.io/arch: amd64
kubernetes.io/arch: amd64
tolerations:
- operator: Exists
effect: NoSchedule
@@ -556,7 +556,7 @@ spec:
hostNetwork: true
hostPID: true
nodeSelector:
{{ 'beta.' if kube_version is version('v1.18.0', '<') }}kubernetes.io/arch: amd64
kubernetes.io/arch: amd64
tolerations:
- operator: Exists
effect: NoSchedule