소스 검색

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: