he knows.
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -5,7 +5,7 @@ jenkinsPipelineSkeleton('json-echo', [
|
|||||||
pullAlways: true,
|
pullAlways: true,
|
||||||
helmChart: 'json-echo-helm-chart',
|
helmChart: 'json-echo-helm-chart',
|
||||||
helmRepo: 'my-helm-repo',
|
helmRepo: 'my-helm-repo',
|
||||||
version: '1.0.6',
|
version: '1.0.7',
|
||||||
useInsecureRegistry: false,
|
useInsecureRegistry: false,
|
||||||
port: 8091,
|
port: 8091,
|
||||||
checkDependencyPipeline: true,
|
checkDependencyPipeline: true,
|
||||||
|
|||||||
@@ -45,3 +45,14 @@ spec:
|
|||||||
- name: {{ $key }}
|
- name: {{ $key }}
|
||||||
value: "{{ $value }}"
|
value: "{{ $value }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
- name: QUARKUS_DATASOURCE_USERNAME
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: auth-api
|
||||||
|
key: QuarkusDB_Username
|
||||||
|
- name: QUARKUS_DATASOURCE_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: auth-api
|
||||||
|
key: QuarkusDB_Password
|
||||||
|
|||||||
@@ -6,6 +6,6 @@ app:
|
|||||||
secret: nexus-secret
|
secret: nexus-secret
|
||||||
env:
|
env:
|
||||||
QUARKUS_DATASOURCE_DB_KIND: "mysql"
|
QUARKUS_DATASOURCE_DB_KIND: "mysql"
|
||||||
QUARKUS_DATASOURCE_USERNAME: "myuser"
|
QUARKUS_DATASOURCE_USERNAME: "{{ .Values.global.k8sSecret.auth-api.QuarkusDB_Username }}"
|
||||||
QUARKUS_DATASOURCE_PASSWORD: "mypassword"
|
QUARKUS_DATASOURCE_PASSWORD: "{{ .Values.global.k8sSecret.auth-api.QuarkusDB_Password }}"
|
||||||
QUARKUS_DATASOURCE_JDBC_URL: "jdbc:mysql://localhost:3306/mydatabase"
|
QUARKUS_DATASOURCE_JDBC_URL: "jdbc:mysql://localhost:3306/mydatabase"
|
||||||
Reference in New Issue
Block a user