diff --git a/ibm/mas_devops/roles/db2/tasks/install/main.yml b/ibm/mas_devops/roles/db2/tasks/install/main.yml index e8bc6ef7f..e4cc075ce 100644 --- a/ibm/mas_devops/roles/db2/tasks/install/main.yml +++ b/ibm/mas_devops/roles/db2/tasks/install/main.yml @@ -151,7 +151,7 @@ name: ibm-registry namespace: "{{ db2_namespace }}" data: - .dockerconfigjson: "{{ new_secret | b64encode }}" + .dockerconfigjson: "{{ new_secret | to_json | b64encode }}" register: secretUpdateResult - name: "Delete old db2 subscription, operand request and csv from {{ ibm_common_services_namespace }}" diff --git a/ibm/mas_devops/roles/db2/tasks/install/setup_norootsquash.yml b/ibm/mas_devops/roles/db2/tasks/install/setup_norootsquash.yml index c6c66c04c..33636c808 100644 --- a/ibm/mas_devops/roles/db2/tasks/install/setup_norootsquash.yml +++ b/ibm/mas_devops/roles/db2/tasks/install/setup_norootsquash.yml @@ -27,7 +27,7 @@ name: ibm-registry namespace: kube-system data: - .dockerconfigjson: "{{ new_secret | b64encode }}" + .dockerconfigjson: "{{ new_secret | to_json | b64encode }}" register: secretUpdateResult # 3. Create DaemonSet