We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 33f072c + c5fc8f7 commit 4b23dd6Copy full SHA for 4b23dd6
ibm/mas_devops/roles/db2/tasks/install/main.yml
@@ -140,6 +140,7 @@
140
set_fact:
141
new_secret: "{{ content | join('') }}"
142
143
+# Note: We use "new_secret | to_json | string" to avoid older versions of Ansible creating invalid json representation containing single quotes
144
- name: "Generate 'ibm-registry' secret"
145
no_log: true
146
kubernetes.core.k8s:
@@ -151,7 +152,7 @@
151
152
name: ibm-registry
153
namespace: "{{ db2_namespace }}"
154
data:
- .dockerconfigjson: "{{ new_secret | b64encode }}"
155
+ .dockerconfigjson: "{{ new_secret | to_json | string | b64encode }}"
156
register: secretUpdateResult
157
158
- name: "Delete old db2 subscription, operand request and csv from {{ ibm_common_services_namespace }}"
0 commit comments