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