Kaynağa Gözat

template in k8s is dumb

Grega Bremec 1 yıl önce
ebeveyn
işleme
237adbc260
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  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: