Skip to content

Commit

Permalink
Merge pull request #235 from ksrinimba/oes3.10
Browse files Browse the repository at this point in the history
Oauth Indentation, k8s-sync -handle dynaccDir, datascience no longer required (no seperate pod)
  • Loading branch information
ksrinimba authored Dec 28, 2021
2 parents 8a95dac + 41881b0 commit 17097e8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions charts/oes/config/oes-autopilot/autopilot.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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


4 changes: 2 additions & 2 deletions charts/oes/config/oes-gate/gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions charts/oes/templates/clouddriver-sidecar/k8sconfig-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 17097e8

Please sign in to comment.