Skip to content

Commit

Permalink
[patch] update cert format in CR
Browse files Browse the repository at this point in the history
  • Loading branch information
karol-czarnecki committed Jan 28, 2025
1 parent 9bfc422 commit 968cf5c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ibm/mas_devops/roles/aibroker/tasks/config_db2/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
password: "{{ jdbccfg[0].data.password }}"
url: "{{ jdbccfg[1].spec.config.url }}"
# ca: "{{ jdbccfg[1].spec.certificates | map(attribute='crt') }}"
ca: "{{ jdbccfg[1].spec.certificates | map(attribute='crt') | join(',') }}"
ca: "{{ jdbccfg[1].spec.certificates | map(attribute='crt') | join(',') | replace(',','\n')}}"

- name: "Debug: jdbc information" #TODO: remove before PR
debug:
Expand Down
2 changes: 1 addition & 1 deletion ibm/mas_devops/roles/aibroker/tasks/config_dro/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
secret_name: "{{ drocfg[0].metadata.name }}"
registration_key: "{{ drocfg[0].stringData.api_key }}"
url: "{{ drocfg[1].spec.config.url }}"
ca: "{{ drocfg[1].spec.certificates | map(attribute='crt') | join(',') }}"
ca: "{{ drocfg[1].spec.certificates | map(attribute='crt') | join(',') | replace(',','\n') }}"
# ca: "{{ drocfg[1].spec.certificates | map(attribute='crt') }}"

- name: "Debug: dro information" #TODO: remove before PR
Expand Down
2 changes: 1 addition & 1 deletion ibm/mas_devops/roles/aibroker/tasks/config_sls/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
secret_name: "{{ slscfg[0].metadata.name }}"
registration_key: "{{ slscfg[0].stringData.registrationKey }}"
url: "{{ slscfg[1].spec.config.url }}"
ca: "{{ slscfg[1].spec.certificates | map(attribute='crt') | join(',') }}"
ca: "{{ slscfg[1].spec.certificates | map(attribute='crt') | join(',') | replace(',','\n') }}"
# ca: "{{ slscfg[1].spec.certificates | map(attribute='crt') }}"

- name: "Debug: sls information" #TODO: remove before PR
Expand Down

0 comments on commit 968cf5c

Please sign in to comment.