-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update helm chart for OES app v3.9.5 release (#218)
* 3.9.4 fixes, create-job yaml was missing, added * Updated to handle custom-cacerts and remove JAVA_OPTSs for halyard init containers * Support for extraEnvVars * Fixed oes-ui tag * Added Dinghy and script for side-car * Removed dinghy * Address comments * Added the branch oes3.9 to github action * Updated App Release Co-authored-by: ksrinimba <[email protected]> Co-authored-by: abhinaybyrisetty <[email protected]> Co-authored-by: lakkireddys-opsmx <[email protected]>
- Loading branch information
1 parent
21c8dc8
commit 4901d25
Showing
15 changed files
with
107 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ on: | |
push: | ||
branches: | ||
- master | ||
- oes3.9 | ||
paths: | ||
- 'charts/oes/Chart.yaml' | ||
- 'charts/oes/Chart.lock' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
charts/oes/charts/spinnaker/templates/deployments/create-sample-job.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{{- if .Values.autoInstallSampleApps }} | ||
apiVersion: batch/v1 | ||
kind: Job | ||
metadata: | ||
name: {{ .Release.Name }}-create-sample-app | ||
spec: | ||
template: | ||
spec: | ||
serviceAccountName: {{ .Release.Name }}-spinnaker-halyard | ||
securityContext: | ||
fsGroup: 1000 | ||
runAsUser: 1000 | ||
restartPolicy: OnFailure | ||
volumes: | ||
- secret: | ||
secretName: {{ .Release.Name }}-spinnaker-spin-config | ||
name: spin-config | ||
- configMap: | ||
defaultMode: 420 | ||
name: {{ .Release.Name }}-spinnaker-spin-pipeline-import | ||
name: spin-pipeline-import | ||
- name: spin-pipeline-config | ||
emptyDir: {} | ||
containers: | ||
- command: | ||
- bash | ||
- /tmp/config/spin-pipeline-import.sh | ||
name: sample-pipeline-install | ||
image: {{ .Values.global.customImages.registry }}/spin-sample-pipeline:1.0 | ||
volumeMounts: | ||
- name: spin-pipeline-config | ||
mountPath: /tmp/config/git | ||
- mountPath: /tmp/config | ||
name: spin-pipeline-import | ||
- mountPath: /tmp/config/spin | ||
name: spin-config | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
charts/oes/templates/clouddriver-sidecar/k8config-sync.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: v1 | ||
data: | ||
k8config-sync.sh: |+ | ||
#!/bin/bash | ||
rm -rf spinnaker-poc | ||
mkdir -p /opsmx | ||
echo " ####### Cloning the Dynamic Account Repo #################" | ||
git clone -c http.sslVerify=false https://skambhampati:[email protected]/SpinCloud-GCP/spinnaker-poc.git | ||
cd spinnaker-poc/ | ||
cat clouddriver-local.yml |grep -i opsmx|cut -f3 -d"/" > /opsmx/config_files.txt | ||
for config in $(cat /opsmx/config_files.txt) | ||
do | ||
kubectl get secrets $config -o=jsonpath='{.data.*}'|base64 -d > /opsmx/$config | ||
done | ||
kind: ConfigMap | ||
metadata: | ||
name: k8config-sync |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,6 @@ apiVersion: batch/v1 | |
kind: Job | ||
metadata: | ||
name: create-controller-secret | ||
|
||
spec: | ||
template: | ||
spec: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,8 @@ imagePullSecret: opsmxdev-secret | |
## | ||
imageCredentials: | ||
registry: https://quay.io/ | ||
username: quayID # Quay username | ||
password: quayPassword # Quay password | ||
username: opsmxguest # Quay username | ||
password: OpsMx@321 # Quay password | ||
email: [email protected] # email corresponding to quay registry ID | ||
|
||
rbac: | ||
|
@@ -41,6 +41,10 @@ vault: | |
address: https://server.vaultint.opsmx.net # Vault Address URL | ||
token: 123132 # Vault Root token | ||
|
||
#extraEnvVars: | ||
# - name: JAVA_OPTS | ||
# value: -Dhttps.proxyHost=proxy.server.local -Dhttps.proxyPort=3128 | ||
|
||
## OES UI, OES Gate, Spinnaker Deck and Spinnaker Gate service type | ||
## | ||
k8sServiceType: ClusterIP | ||
|
@@ -293,7 +297,7 @@ autopilot: | |
image: | ||
registry: quay.io/opsmxpublic | ||
repository: ubi8-oes-autopilot | ||
tag: v3.9.1.2 | ||
tag: v3.9.5 | ||
pullPolicy: IfNotPresent | ||
|
||
annotations: | ||
|
@@ -342,7 +346,7 @@ dashboard: | |
image: | ||
registry: quay.io/opsmxpublic | ||
repository: ubi8-oes-dashboard | ||
tag: v3.9.1.2 | ||
tag: v3.9.5 | ||
pullPolicy: IfNotPresent | ||
|
||
annotations: | ||
|
@@ -396,7 +400,7 @@ gate: | |
image: | ||
registry: quay.io/opsmxpublic | ||
repository: ubi8-gate | ||
tag: v3.9.1.2 | ||
tag: v3.9.5 | ||
pullPolicy: IfNotPresent | ||
|
||
serviceAnnotations: {} | ||
|
@@ -485,7 +489,7 @@ platform: | |
image: | ||
registry: quay.io/opsmxpublic | ||
repository: ubi8-oes-platform | ||
tag: v3.9.1.3 | ||
tag: v3.9.5 | ||
pullPolicy: IfNotPresent | ||
|
||
annotations: | ||
|
@@ -543,7 +547,7 @@ sapor: | |
image: | ||
registry: quay.io/opsmxpublic | ||
repository: ubi8-oes-sapor | ||
tag: v3.9.1.2 | ||
tag: v3.9.5 | ||
pullPolicy: IfNotPresent | ||
|
||
annotations: | ||
|
@@ -627,7 +631,7 @@ ui: | |
image: | ||
registry: quay.io/opsmxpublic | ||
repository: ubi8-oes-ui | ||
tag: v3.9.1.2 | ||
tag: v3.9.5.0 | ||
pullPolicy: IfNotPresent | ||
serviceAnnotations: {} | ||
|
||
|
@@ -646,7 +650,7 @@ visibility: | |
image: | ||
registry: quay.io/opsmxpublic | ||
repository: ubi8-oes-visibility | ||
tag: v3.9.1.2 | ||
tag: v3.9.5 | ||
pullPolicy: IfNotPresent | ||
|
||
annotations: | ||
|