Remove k8s hooks for versions prior to 1.20 (#7998)

This commit is contained in:
Florian Ruynat
2021-09-22 19:32:01 +02:00
committed by GitHub
parent 598f178054
commit c8d7f000c9
14 changed files with 3 additions and 67 deletions

View File

@@ -24,11 +24,7 @@ spec:
k8s-app: openstack-cloud-controller-manager
spec:
nodeSelector:
{% if kube_version is version('v1.20.0', '<') %}
node-role.kubernetes.io/master: ""
{% else %}
node-role.kubernetes.io/control-plane: ""
{% endif %}
securityContext:
runAsUser: 999
tolerations: