remove old comments

This commit is contained in:
Александр Степченко 2024-11-01 10:08:29 +03:00
parent 0864a0ed3a
commit 93edc671bd

View File

@ -70,13 +70,11 @@
ansible.builtin.replace: ansible.builtin.replace:
path: kube-flannel.yml path: kube-flannel.yml
regexp: '^([ tab]+)image: docker.io/flannel/flannel-cni-plugin:.*' regexp: '^([ tab]+)image: docker.io/flannel/flannel-cni-plugin:.*'
# TODO(geochip): Make it more generic instead of hardcoding versions
replace: '\1image: {{ registry }}/k8s-{{ branch }}/flannel-cni-plugin:{{ flannel_cni_tag }}' replace: '\1image: {{ registry }}/k8s-{{ branch }}/flannel-cni-plugin:{{ flannel_cni_tag }}'
- name: replace upstream flannel image with alt image - name: replace upstream flannel image with alt image
ansible.builtin.replace: ansible.builtin.replace:
path: kube-flannel.yml path: kube-flannel.yml
regexp: '^([ tab]+)image: docker.io/flannel/flannel:.*' regexp: '^([ tab]+)image: docker.io/flannel/flannel:.*'
# TODO(geochip): Make it more generic instead of hardcoding versions
replace: '\1image: {{ registry }}/k8s-{{ branch }}/flannel:{{ flannel_tag }}' replace: '\1image: {{ registry }}/k8s-{{ branch }}/flannel:{{ flannel_tag }}'
- name: create flannel network - name: create flannel network
ansible.builtin.command: kubectl apply -f kube-flannel.yml ansible.builtin.command: kubectl apply -f kube-flannel.yml