-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added required changes for SAAS Setup in GitOps Style (#108)
* Added required changes for SAAS Setup in GitOps Style * Separated Dynamic Accounts and the Git-ops Hal Repo * Added Gitops Secret Condition Co-authored-by: lakkireddys-opsmx <susmita.lakkireddy@opsmx.io>
- Loading branch information
1 parent
7e9367c
commit 40308fd
Showing
4 changed files
with
19 additions
and
10 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
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 |
---|---|---|
@@ -1,15 +1,17 @@ | ||
{{ if .Values.spinnaker.gitopsHalyard.enabled }} | ||
{{- if (eq .Values.spinnaker.gitopsHalyard.secretName "opsmx-gitops-auth") }} | ||
apiVersion: v1 | ||
stringData: | ||
# Repo uri to fetch halyard configuration | ||
gitcloneparam: https://<gituserID>:<gittoken>@github.com/opsmx/gitops-haldir.git | ||
gitcloneparam: https://{{ .Values.spinnaker.gitopsHalyard.repo.username }}:{{ .Values.spinnaker.gitopsHalyard.repo.token }}@github.com/{{ .Values.spinnaker.gitopsHalyard.repo.organization }}/{{ .Values.spinnaker.gitopsHalyard.repo.halRepository }}.git | ||
|
||
# Repo details to fetch dynamic configuration | ||
dynamicaccountsgituri: https://github.com/OpsMx/gitops-accounts-sample.git | ||
gittoken: <gittoken> | ||
gituser: <gituserID> | ||
dynamicaccountsgituri: https://github.com/{{ .Values.spinnaker.gitopsHalyard.repo.organization }}/{{ .Values.spinnaker.gitopsHalyard.dynamicAccRepository }}.git | ||
gituser: {{ .Values.spinnaker.gitopsHalyard.repo.username }} | ||
gittoken: {{ .Values.spinnaker.gitopsHalyard.repo.token }} | ||
kind: Secret | ||
metadata: | ||
name: opsmx-gitops-auth | ||
name: {{ .Values.spinnaker.gitopsHalyard.secretName }} | ||
type: Opaque | ||
{{- end -}} | ||
{{ 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