Compare commits
10 Commits
42382b3c18
...
259639c0dc
| Author | SHA1 | Date | |
|---|---|---|---|
| 259639c0dc | |||
|
|
78dc0231e8 | ||
|
|
04faaf7698 | ||
|
|
44d604b174 | ||
|
|
69a0767c07 | ||
|
|
ce8440cf08 | ||
|
|
d18ff8bc79 | ||
|
|
259baf5056 | ||
|
|
245d5b151c | ||
|
|
78a0496fd3 |
@ -10,10 +10,6 @@ spec:
|
|||||||
revision: HEAD
|
revision: HEAD
|
||||||
files:
|
files:
|
||||||
- path: env-sets/*/metadata.yaml
|
- path: env-sets/*/metadata.yaml
|
||||||
extract:
|
|
||||||
env: '{{.env}}'
|
|
||||||
namespace: '{{.namespace}}'
|
|
||||||
project: '{{.project}}'
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: env-{{env}}
|
name: env-{{env}}
|
||||||
@ -28,8 +24,8 @@ spec:
|
|||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: '{{namespace}}'
|
namespace: '{{namespace}}'
|
||||||
syncPolicy: {}
|
syncPolicy:
|
||||||
# automated:
|
automated:
|
||||||
# selfHeal: true
|
prune: true
|
||||||
# syncOption:
|
selfHeal: true
|
||||||
# - Prune=false
|
|
||||||
|
|||||||
@ -9,10 +9,10 @@ spec:
|
|||||||
repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
|
repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
|
||||||
revision: HEAD
|
revision: HEAD
|
||||||
files:
|
files:
|
||||||
- path: env-sets/dev/services/*/svc-*.yaml
|
- path: env-sets/dev/services/*.yaml
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: '{{ path.basename }}-dev'
|
name: '{{service.name}}-dev'
|
||||||
spec:
|
spec:
|
||||||
project: sandbox
|
project: sandbox
|
||||||
destination:
|
destination:
|
||||||
@ -24,7 +24,7 @@ spec:
|
|||||||
path: nginx-message
|
path: nginx-message
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/env-sets/dev/services/{{ path.basename }}.yaml
|
- $values/env-sets/dev/services/{{service.name}}.yaml
|
||||||
- repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
|
- repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
ref: values
|
ref: values
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
message: "Welcome to svc-1 in dev"
|
message: "Welcome to svc-1 in dev hi this is a test"
|
||||||
image:
|
image:
|
||||||
repository: nginx
|
repository: nginx
|
||||||
tag: stable
|
tag: stable
|
||||||
|
|||||||
9
env-sets/dev/services/svc-3.yaml
Normal file
9
env-sets/dev/services/svc-3.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
message: "Welcome to svc-3 in dev"
|
||||||
|
image:
|
||||||
|
repository: nginx
|
||||||
|
tag: stable
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
service:
|
||||||
|
name: svc-3 # 🟡 OPTIONAL: if your chart supports it
|
||||||
|
type: ClusterIP
|
||||||
|
port: 80
|
||||||
@ -9,10 +9,10 @@ spec:
|
|||||||
repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
|
repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
|
||||||
revision: HEAD
|
revision: HEAD
|
||||||
files:
|
files:
|
||||||
- path: env-sets/int/services/*/check.yaml
|
- path: env-sets/int/services/*.yaml
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: '{{ path.basename }}-int'
|
name: '{{service.name}}-int'
|
||||||
spec:
|
spec:
|
||||||
project: sandbox
|
project: sandbox
|
||||||
destination:
|
destination:
|
||||||
@ -21,14 +21,13 @@ spec:
|
|||||||
sources:
|
sources:
|
||||||
- repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git
|
- repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: ngnix-message
|
path: nginx-message
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- '$values/{{ .path.path }}/service.yaml'
|
- $values/env-sets/int/services/{{service.name}}.yaml
|
||||||
- repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
|
- repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
ref: values
|
ref: values
|
||||||
syncPolicy:
|
syncPolicy: {}
|
||||||
automated:
|
# automated:
|
||||||
prune: true
|
# selfHeal: true
|
||||||
selfHeal: true
|
|
||||||
@ -9,10 +9,10 @@ spec:
|
|||||||
repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
|
repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
|
||||||
revision: HEAD
|
revision: HEAD
|
||||||
files:
|
files:
|
||||||
- path: env-sets/prod/services/*/service.yaml
|
- path: env-sets/prod/services/*.yaml
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: '{{ path.basename }}-prod'
|
name: '{{service.name}}-prod'
|
||||||
spec:
|
spec:
|
||||||
project: sandbox
|
project: sandbox
|
||||||
destination:
|
destination:
|
||||||
@ -21,14 +21,13 @@ spec:
|
|||||||
sources:
|
sources:
|
||||||
- repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git
|
- repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: ngnix-message
|
path: nginx-message
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- '$values/{{ .path.path }}/service.yaml'
|
- $values/env-sets/prod/services/{{service.name}}.yaml
|
||||||
- repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
|
- repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
ref: values
|
ref: values
|
||||||
syncPolicy:
|
syncPolicy: {}
|
||||||
automated:
|
# automated:
|
||||||
prune: true
|
# selfHeal: true
|
||||||
selfHeal: true
|
|
||||||
@ -0,0 +1,9 @@
|
|||||||
|
message: "Welcome to svc-1 in prod"
|
||||||
|
image:
|
||||||
|
repository: nginx
|
||||||
|
tag: stable
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
service:
|
||||||
|
name: svc-1 # 🟡 OPTIONAL: if your chart supports it
|
||||||
|
type: ClusterIP
|
||||||
|
port: 80
|
||||||
@ -0,0 +1,9 @@
|
|||||||
|
message: "Welcome to svc-2 in prod"
|
||||||
|
image:
|
||||||
|
repository: nginx
|
||||||
|
tag: stable
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
service:
|
||||||
|
name: svc-2 # 🟡 OPTIONAL: if your chart supports it
|
||||||
|
type: ClusterIP
|
||||||
|
port: 80
|
||||||
Loading…
x
Reference in New Issue
Block a user