Explorar o código

template in k8s is dumb

Grega Bremec hai 1 ano
pai
achega
237adbc260
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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: