Ver Fonte

template in k8s is dumb

Grega Bremec há 1 ano atrás
pai
commit
237adbc260
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      roles/fix-operators/tasks/main.yml

+ 2 - 1
roles/fix-operators/tasks/main.yml

@@ -43,7 +43,8 @@
     kind: secret
     namespace: openshift-config
     name: pull-secret
-    template: files/pull-secret.yml
+    state: present
+    definition: "{{ lookup('file', 'files/pull-secret.yml') | from_yaml }}"
 
 - name: Ensure the standard catalog sources are there
   k8s: