Quellcode durchsuchen

CloudFront oc_secret contents should be a list

Fixes "argument contents is of type <type 'dict'> and we were unable to
convert to list"
Steve Milner vor 8 Jahren
Ursprung
Commit
9ce20410d4
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      roles/openshift_hosted/tasks/registry/storage/s3.yml

+ 2 - 2
roles/openshift_hosted/tasks/registry/storage/s3.yml

@@ -31,8 +31,8 @@
         namespace: "{{ openshift.hosted.registry.namespace | default('default') }}"
         name: docker-registry-s3-cloudfront
         contents:
-          path: cloudfront.pem
-          data: "{{ lookup('file', openshift_hosted_registry_storage_s3_cloudfront_privatekeyfile) }}"
+          - path: cloudfront.pem
+            data: "{{ lookup('file', openshift_hosted_registry_storage_s3_cloudfront_privatekeyfile) }}"
 
     - name: Add cloudfront secret to the registry deployment config
       command: >