diff --git a/config/nsodev/values.yaml b/config/nsodev/values.yaml index 3de64e3..eadaf0c 100644 --- a/config/nsodev/values.yaml +++ b/config/nsodev/values.yaml @@ -38,6 +38,9 @@ connect: ip: "10.3.0.14" - name: "dev-elastic-stack-elastic-03" ip: "10.3.0.16" + health: + # connect jwt.secret + user: health-check + api_token: "eyJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiYWxnIjoiZGlyIn0..81defzSkS2nXHBrPLOQOmA.UUg_8LQaxmdFlzgSMKiDEoAkcfuLbbirUSoJR51ts3g.-ZLzCW-pRoVPKIy4q8hlvw" iam: keycloak: diff --git a/smardigo/templates/connect/deployment.yml b/smardigo/templates/connect/deployment.yml index f2d4e51..295d293 100644 --- a/smardigo/templates/connect/deployment.yml +++ b/smardigo/templates/connect/deployment.yml @@ -158,7 +158,7 @@ spec: port: 8081 httpHeaders: - name: Smardigo-User-Token - value: "eyJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiYWxnIjoiZGlyIn0..f7-2FZpCrhmCMWudmhyYMw.IzZf6DZZKZMgTN_2V9NOzBXxPtcjonddXT8NQbhjXX4.sUsrFB5cQlgurrJvsDwtgA" + value: {{ .Values.connect.health.api_token | b64enc }} initialDelaySeconds: 3 timeoutSeconds: 1 periodSeconds: 3 @@ -170,7 +170,7 @@ spec: port: 8081 httpHeaders: - name: Smardigo-User-Token - value: "eyJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiYWxnIjoiZGlyIn0..f7-2FZpCrhmCMWudmhyYMw.IzZf6DZZKZMgTN_2V9NOzBXxPtcjonddXT8NQbhjXX4.sUsrFB5cQlgurrJvsDwtgA" + value: {{ .Values.connect.health.api_token | b64enc }} initialDelaySeconds: 3 timeoutSeconds: 1 periodSeconds: 3 diff --git a/smardigo/templates/connect/secret.yml b/smardigo/templates/connect/secret.yml new file mode 100644 index 0000000..e69de29 diff --git a/smardigo/values.yaml b/smardigo/values.yaml index cc2120d..0045b50 100644 --- a/smardigo/values.yaml +++ b/smardigo/values.yaml @@ -55,6 +55,9 @@ connect: ip: "10.0.0.6" - name: "dev-elastic-stack-elastic-03" ip: "10.0.0.7" + health: + # connect jwt.secret + user: health-check + api_token: "" iam: image: