Skip to content

Commit

Permalink
adding customization for csync (#2)
Browse files Browse the repository at this point in the history
* adding customization for csync

* adding source-base modif

* folder
  • Loading branch information
davelanglois-ssc committed Jun 19, 2023
1 parent 5045988 commit 2abbd5e
Show file tree
Hide file tree
Showing 9 changed files with 126 additions and 2 deletions.
4 changes: 2 additions & 2 deletions csync/source-base/root-sync-git/setters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ data:
id: id1
## Folder: 'csync' or 'tier1' or 'tier2'
## 'tier3' or 'tier4' are used only with RepoSync
folder: folder1
folder: tier1

# Git repo values
repo-url: https://AZDO-ORG@dev.azure.com/AZDO-ORG/AZDO-PROJECT/_git/REPO-NAME
# repo-url: https://github.com/GITHUB-ORG/REPO-NAME # Alternate, GitHub
repo-branch: main
repo-dir: deploy/env
repo-dir: tier1/deploy/env
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: setters-version
annotations:
config.kubernetes.io/local-config: 'true'
data:
# set to HEAD or a git tag or a commit or a hash for the revision that should be checked out
version: HEAD
22 changes: 22 additions & 0 deletions csync/source-customization/dev/root-sync-git/setters.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: setters
annotations:
config.kubernetes.io/local-config: 'true'
data:
# Used for naming of the root-sync
## id :
### tier1: 'experimentation' or 'env'
### tier2: [client-name]
### tier34: [project-id] (we replace environment code with “x”)
id: env
## Folder: 'csync' or 'tier1' or 'tier2'
## 'tier3' or 'tier4' are used only with RepoSync
folder: tier1

# Git repo values
repo-url: https://AZDO-ORG@dev.azure.com/AZDO-ORG/AZDO-PROJECT/_git/REPO-NAME
# repo-url: https://github.com/GITHUB-ORG/REPO-NAME # Alternate, GitHub
repo-branch: main
repo-dir: tier1/deploy/dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: setters-version
annotations:
config.kubernetes.io/local-config: 'true'
data:
# set to HEAD or a git tag or a commit or a hash for the revision that should be checked out
version: HEAD
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: setters
annotations:
config.kubernetes.io/local-config: 'true'
data:
# Used for naming of the root-sync
## id :
### tier1: 'experimentation' or 'env'
### tier2: [client-name]
### tier34: [project-id] (we replace environment code with “x”)
id: experimentation
## Folder: 'csync' or 'tier1' or 'tier2'
## 'tier3' or 'tier4' are used only with RepoSync
folder: tier1

# Git repo values
repo-url: https://AZDO-ORG@dev.azure.com/AZDO-ORG/AZDO-PROJECT/_git/REPO-NAME
# repo-url: https://github.com/GITHUB-ORG/REPO-NAME # Alternate, GitHub
repo-branch: main
repo-dir: tier1/deploy/experimentation
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: setters-version
annotations:
config.kubernetes.io/local-config: 'true'
data:
# set to HEAD or a git tag or a commit or a hash for the revision that should be checked out
version: HEAD
22 changes: 22 additions & 0 deletions csync/source-customization/preprod/root-sync-git/setters.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: setters
annotations:
config.kubernetes.io/local-config: 'true'
data:
# Used for naming of the root-sync
## id :
### tier1: 'experimentation' or 'env'
### tier2: [client-name]
### tier34: [project-id] (we replace environment code with “x”)
id: env
## Folder: 'csync' or 'tier1' or 'tier2'
## 'tier3' or 'tier4' are used only with RepoSync
folder: tier1

# Git repo values
repo-url: https://AZDO-ORG@dev.azure.com/AZDO-ORG/AZDO-PROJECT/_git/REPO-NAME
# repo-url: https://github.com/GITHUB-ORG/REPO-NAME # Alternate, GitHub
repo-branch: main
repo-dir: tier1/deploy/preprod
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: setters-version
annotations:
config.kubernetes.io/local-config: 'true'
data:
# set to HEAD or a git tag or a commit or a hash for the revision that should be checked out
version: HEAD
22 changes: 22 additions & 0 deletions csync/source-customization/prod/root-sync-git/setters.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: setters
annotations:
config.kubernetes.io/local-config: 'true'
data:
# Used for naming of the root-sync
## id :
### tier1: 'experimentation' or 'env'
### tier2: [client-name]
### tier34: [project-id] (we replace environment code with “x”)
id: env
## Folder: 'csync' or 'tier1' or 'tier2'
## 'tier3' or 'tier4' are used only with RepoSync
folder: tier1

# Git repo values
repo-url: https://AZDO-ORG@dev.azure.com/AZDO-ORG/AZDO-PROJECT/_git/REPO-NAME
# repo-url: https://github.com/GITHUB-ORG/REPO-NAME # Alternate, GitHub
repo-branch: main
repo-dir: tier1/deploy/prod

0 comments on commit 2abbd5e

Please sign in to comment.