ソースを参照

template in k8s is dumb

Grega Bremec 1 年間 前
コミット
237adbc260
1 ファイル変更2 行追加1 行削除
  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: