Skip to content

Commit

Permalink
build(helm): fix hub credentials defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
brucetony committed Apr 17, 2024
1 parent 2841b3b commit 0205cc2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions k8s/helm/hub-adapter/templates/hub-adapter-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ spec:
imagePullPolicy: IfNotPresent # Maybe "Always" during debug
ports:
- containerPort: 5000
name: http-result-srv
name: healthcp
readinessProbe:
httpGet:
path: /healthz
port: http-result-srv
port: healthcp
env:
- name: API_CLIENT_ID
value: {{ .Values.env.API_CLIENT_ID | default "hub-adapter" | quote }}
Expand All @@ -50,18 +50,18 @@ spec:
- name: HUB_AUTH_SERVICE_URL
value: {{ .Values.env.HUB_AUTH_SERVICE_URL | default "https://privateaim.net/auth" | quote }}
- name: HUB_USERNAME
value: {{ .Values.env.HUB_USERNAME | default "thehubusername" | quote }} # To be properly filled in
value: {{ .Values.env.HUB_USERNAME | default "" | quote }} # To be properly filled in
- name: HUB_PASSWORD
value: {{ .Values.env.HUB_PASSWORD | default "thehubpassword" | quote }}
value: {{ .Values.env.HUB_PASSWORD | default "" | quote }}
startupProbe:
httpGet:
path: /healthz
port: http-result-srv
port: healthcp
failureThreshold: 5
periodSeconds: 5
livenessProbe:
httpGet:
path: /healthz
port: http-result-srv
port: healthcp
failureThreshold: 3
periodSeconds: 10
4 changes: 2 additions & 2 deletions k8s/helm/hub-adapter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ env:
PODORC_SERVICE_URL: http://po-service:8000
HUB_SERVICE_URL: https://privateaim.net/core
HUB_AUTH_SERVICE_URL: https://privateaim.net/auth
HUB_USERNAME: thehubusername
HUB_PASSWORD: thehubpassword
HUB_USERNAME: ""
HUB_PASSWORD: ""

0 comments on commit 0205cc2

Please sign in to comment.