Skip to content

Commit 6be944a

Browse files
[patch] Added support external database for AI Service
1 parent 9e9d25a commit 6be944a

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

src/mas/devops/templates/pipelinerun-install.yml.j2

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,6 +1002,29 @@ spec:
10021002
value: "{{ aiservice_certificate_issuer }}"
10031003
{%- endif %}
10041004

1005+
# AI Service - Database Configuration
1006+
# -------------------------------------------------------------------------
1007+
{%- if install_db2 is defined and install_db2 != "" %}
1008+
- name: install_db2
1009+
value: "{{ install_db2 }}"
1010+
{%- endif %}
1011+
{%- if aiservice_db_jdbc_url is defined and aiservice_db_jdbc_url != "" %}
1012+
- name: aiservice_db_jdbc_url
1013+
value: "{{ aiservice_db_jdbc_url }}"
1014+
{%- endif %}
1015+
{%- if aiservice_db_username is defined and aiservice_db_username != "" %}
1016+
- name: aiservice_db_username
1017+
value: "{{ aiservice_db_username }}"
1018+
{%- endif %}
1019+
{%- if aiservice_db_password is defined and aiservice_db_password != "" %}
1020+
- name: aiservice_db_password
1021+
value: "{{ aiservice_db_password }}"
1022+
{%- endif %}
1023+
{%- if aiservice_db_ca_cert is defined and aiservice_db_ca_cert != "" %}
1024+
- name: aiservice_db_ca_cert
1025+
value: "{{ aiservice_db_ca_cert }}"
1026+
{%- endif %}
1027+
10051028
{%- endif %}
10061029

10071030
workspaces:

0 commit comments

Comments
 (0)