diff --git a/src/mas/devops/templates/pipelinerun-install.yml.j2 b/src/mas/devops/templates/pipelinerun-install.yml.j2 index 27898ab9..6a1e9c88 100644 --- a/src/mas/devops/templates/pipelinerun-install.yml.j2 +++ b/src/mas/devops/templates/pipelinerun-install.yml.j2 @@ -1002,6 +1002,29 @@ spec: value: "{{ aiservice_certificate_issuer }}" {%- endif %} + # AI Service - Database Configuration + # ------------------------------------------------------------------------- +{%- if install_db2 is defined %} + - name: install_db2 + value: "{{ install_db2 }}" +{%- endif %} +{%- if aiservice_db_jdbc_url is defined and aiservice_db_jdbc_url != "" %} + - name: aiservice_db_jdbc_url + value: "{{ aiservice_db_jdbc_url }}" +{%- endif %} +{%- if aiservice_db_username is defined and aiservice_db_username != "" %} + - name: aiservice_db_username + value: "{{ aiservice_db_username }}" +{%- endif %} +{%- if aiservice_db_password is defined and aiservice_db_password != "" %} + - name: aiservice_db_password + value: "{{ aiservice_db_password }}" +{%- endif %} +{%- if aiservice_db_ca_cert is defined and aiservice_db_ca_cert != "" %} + - name: aiservice_db_ca_cert + value: "{{ aiservice_db_ca_cert }}" +{%- endif %} + {%- endif %} workspaces: