From e1c55dd30b91a299165c04d05945b56640f1912e Mon Sep 17 00:00:00 2001 From: saitejaopsmx <93385259+saitejaopsmx@users.noreply.github.com> Date: Tue, 28 Dec 2021 17:23:50 +0530 Subject: [PATCH 1/2] Updated the indentation for authz --- charts/oes/config/oes-gate/gate.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/oes/config/oes-gate/gate.yml b/charts/oes/config/oes-gate/gate.yml index b6095684..590c345e 100644 --- a/charts/oes/config/oes-gate/gate.yml +++ b/charts/oes/config/oes-gate/gate.yml @@ -169,8 +169,8 @@ security: basic: enabled: true user: {} -oauth2: -{{ toYaml .Values.gate.config.oauth2 | indent 2 }} + oauth2: +{{ toYaml .Values.gate.config.oauth2 | indent 4 }} {{- end }} file: enabled: {{ .Values.gate.config.fileBasedAuthentication.enabled }} From 41881b03e00fe106d91dbe05533811b1d2abaecd Mon Sep 17 00:00:00 2001 From: ksrinimba Date: Tue, 28 Dec 2021 18:28:19 +0530 Subject: [PATCH 2/2] Autopilot-remove separate datascience pod, fix path for clouddriver-local in script --- .../config/oes-autopilot/autopilot.properties | 16 ++++++++-------- .../clouddriver-sidecar/k8sconfig-sync.yaml | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/charts/oes/config/oes-autopilot/autopilot.properties b/charts/oes/config/oes-autopilot/autopilot.properties index 47d05f8c..3216f931 100644 --- a/charts/oes/config/oes-autopilot/autopilot.properties +++ b/charts/oes/config/oes-autopilot/autopilot.properties @@ -25,16 +25,16 @@ gate.url={{ .Values.global.oesGate.protocol }}://{{ .Values.global.oesGate.host #datascience configuration oes.datascience.baseUrl=http://oes-datascience:5005 -build.analysis=false -ds.async.flow=true +#build.analysis=false +ds.async.flow=false #storage configuration #storage.type =file_storage -storage.type =object_storage -storage.endpoint=http://{{ .Release.Name }}-minio:9000 -storage.accesskey = {{ .Values.global.minio.accessKey }} -storage.secretkey = {{ .Values.global.minio.secretKey }} -storage.region= {{ .Values.global.minio.region }} -ds.seperate.service=true +#storage.type =object_storage +#storage.endpoint=http://{{ .Release.Name }}-minio:9000 +#storage.accesskey = {{ .Values.global.minio.accessKey }} +#storage.secretkey = {{ .Values.global.minio.secretKey }} +#storage.region= {{ .Values.global.minio.region }} +ds.seperate.service=false diff --git a/charts/oes/templates/clouddriver-sidecar/k8sconfig-sync.yaml b/charts/oes/templates/clouddriver-sidecar/k8sconfig-sync.yaml index 85d712a7..7b97232d 100644 --- a/charts/oes/templates/clouddriver-sidecar/k8sconfig-sync.yaml +++ b/charts/oes/templates/clouddriver-sidecar/k8sconfig-sync.yaml @@ -9,8 +9,8 @@ data: mkdir -p /opsmx echo " ####### Cloning the Dynamic Account Repo #################" git clone -c http.sslVerify=false $GIT_CLONE_PARAM - cd $DYNAMIC_ACCOUNTS_REPO/ - cat clouddriver-local.yml |grep -i opsmx |awk '{print $2}' |tr -d '"' | awk 'BEGIN{FS="/opsmx/"}{print $2}' > /opsmx/config_files.txt + #cd $DYNAMIC_ACCOUNTS_REPO/ + cat $DYNAMIC_ACCOUNTS_REPO/{{ .Values.spinnaker.gitopsHalyard.repo.dynAccntConfigPath }}/clouddriver-local.yml |grep -i opsmx |awk '{print $2}' |tr -d '"' | awk 'BEGIN{FS="/opsmx/"}{print $2}' > /opsmx/config_files.txt for config in $(cat /opsmx/config_files.txt) do kubectl get secrets $config -o=jsonpath='{.data.*}'|base64 -d > /opsmx/$config