diff --git a/k8s/helm/hub-adapter/templates/hub-adapter-deployment.yaml b/k8s/helm/hub-adapter/templates/hub-adapter-deployment.yaml index 582f84f..fe0601f 100644 --- a/k8s/helm/hub-adapter/templates/hub-adapter-deployment.yaml +++ b/k8s/helm/hub-adapter/templates/hub-adapter-deployment.yaml @@ -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 }} @@ -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 diff --git a/k8s/helm/hub-adapter/values.yaml b/k8s/helm/hub-adapter/values.yaml index cf1fd68..c55a0e9 100644 --- a/k8s/helm/hub-adapter/values.yaml +++ b/k8s/helm/hub-adapter/values.yaml @@ -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: ""