From 3ffcf14f5863150b44a686eaeaaa04dcd81fe4b0 Mon Sep 17 00:00:00 2001 From: Ayush Sharma <83945775+ayush-px@users.noreply.github.com> Date: Fri, 5 Apr 2024 16:54:53 +0530 Subject: [PATCH 1/4] PB-4545 | Update values.yaml --- charts/px-central/values.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/px-central/values.yaml b/charts/px-central/values.yaml index 5cff71a83..29c967149 100644 --- a/charts/px-central/values.yaml +++ b/charts/px-central/values.yaml @@ -67,6 +67,7 @@ pxbackup: alertmanagerServiceName: "alertmanager-operated" alertmanagerServicePort: "9093" metricSyncInterval: "" + authUser : "px-admin" pxlicenseserver: enabled: false From b9c5414b366cfb154c602dae3b865b111cd5694a Mon Sep 17 00:00:00 2001 From: Ayush Sharma <83945775+ayush-px@users.noreply.github.com> Date: Fri, 5 Apr 2024 16:55:50 +0530 Subject: [PATCH 2/4] PB-4545 | Update pxcentral-lighthouse.yaml --- .../px-lighthouse/px-central-ui/pxcentral-lighthouse.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/px-central/templates/px-lighthouse/px-central-ui/pxcentral-lighthouse.yaml b/charts/px-central/templates/px-lighthouse/px-central-ui/pxcentral-lighthouse.yaml index 3b1508cb5..96ceeb1d5 100644 --- a/charts/px-central/templates/px-lighthouse/px-central-ui/pxcentral-lighthouse.yaml +++ b/charts/px-central/templates/px-lighthouse/px-central-ui/pxcentral-lighthouse.yaml @@ -139,6 +139,10 @@ spec: value: {{ .Values.pxbackup.prometheusServiceName}} - name: PROMETHEUS_PORT_ENV value: "{{ .Values.pxbackup.prometheusServicePort}}" + - name: AUTH_USER + value: "{{ .Values.pxbackup.authUser}}" + - name: AUTH_PW + value: "{{ randAlphaNum 12 }}" ports: - name: http containerPort: 8091 From 5b46b84d0c3bd3fc205f759839cb10053cc119f3 Mon Sep 17 00:00:00 2001 From: Ayush Sharma <83945775+ayush-px@users.noreply.github.com> Date: Sat, 6 Apr 2024 19:21:04 +0530 Subject: [PATCH 3/4] yaml fixed --- charts/px-central/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/px-central/values.yaml b/charts/px-central/values.yaml index 29c967149..2a4582c58 100644 --- a/charts/px-central/values.yaml +++ b/charts/px-central/values.yaml @@ -67,7 +67,7 @@ pxbackup: alertmanagerServiceName: "alertmanager-operated" alertmanagerServicePort: "9093" metricSyncInterval: "" - authUser : "px-admin" + authUser: "px-admin" pxlicenseserver: enabled: false From 4e15c76ffe214cfc82b922a4ded203fecc0ebc19 Mon Sep 17 00:00:00 2001 From: Ayush Sharma <83945775+ayush-px@users.noreply.github.com> Date: Sat, 6 Apr 2024 19:23:15 +0530 Subject: [PATCH 4/4] indentation fix --- .../px-lighthouse/px-central-ui/pxcentral-lighthouse.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/px-central/templates/px-lighthouse/px-central-ui/pxcentral-lighthouse.yaml b/charts/px-central/templates/px-lighthouse/px-central-ui/pxcentral-lighthouse.yaml index 96ceeb1d5..ed4ea2acb 100644 --- a/charts/px-central/templates/px-lighthouse/px-central-ui/pxcentral-lighthouse.yaml +++ b/charts/px-central/templates/px-lighthouse/px-central-ui/pxcentral-lighthouse.yaml @@ -140,9 +140,9 @@ spec: - name: PROMETHEUS_PORT_ENV value: "{{ .Values.pxbackup.prometheusServicePort}}" - name: AUTH_USER - value: "{{ .Values.pxbackup.authUser}}" + value: "{{ .Values.pxbackup.authUser}}" - name: AUTH_PW - value: "{{ randAlphaNum 12 }}" + value: "{{ randAlphaNum 12 }}" ports: - name: http containerPort: 8091