Compare commits
No commits in common. "259639c0dc43fda4827e179e1d2708dcc8686723" and "42382b3c1856494b6955b8dad1528bc69ef66f83" have entirely different histories.
259639c0dc
...
42382b3c18
@ -10,6 +10,10 @@ 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}}
|
||||||
@ -24,8 +28,8 @@ spec:
|
|||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: '{{namespace}}'
|
namespace: '{{namespace}}'
|
||||||
syncPolicy:
|
syncPolicy: {}
|
||||||
automated:
|
# automated:
|
||||||
prune: true
|
# selfHeal: true
|
||||||
selfHeal: true
|
# syncOption:
|
||||||
|
# - 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/*.yaml
|
- path: env-sets/dev/services/*/svc-*.yaml
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: '{{service.name}}-dev'
|
name: '{{ path.basename }}-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/{{service.name}}.yaml
|
- $values/env-sets/dev/services/{{ path.basename }}.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 hi this is a test"
|
message: "Welcome to svc-1 in dev"
|
||||||
image:
|
image:
|
||||||
repository: nginx
|
repository: nginx
|
||||||
tag: stable
|
tag: stable
|
||||||
|
|||||||
@ -1,9 +0,0 @@
|
|||||||
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/*.yaml
|
- path: env-sets/int/services/*/check.yaml
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: '{{service.name}}-int'
|
name: '{{ path.basename }}-int'
|
||||||
spec:
|
spec:
|
||||||
project: sandbox
|
project: sandbox
|
||||||
destination:
|
destination:
|
||||||
@ -21,13 +21,14 @@ 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: nginx-message
|
path: ngnix-message
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/env-sets/int/services/{{service.name}}.yaml
|
- '$values/{{ .path.path }}/service.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:
|
||||||
# selfHeal: true
|
prune: 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/*.yaml
|
- path: env-sets/prod/services/*/service.yaml
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: '{{service.name}}-prod'
|
name: '{{ path.basename }}-prod'
|
||||||
spec:
|
spec:
|
||||||
project: sandbox
|
project: sandbox
|
||||||
destination:
|
destination:
|
||||||
@ -21,13 +21,14 @@ 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: nginx-message
|
path: ngnix-message
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/env-sets/prod/services/{{service.name}}.yaml
|
- '$values/{{ .path.path }}/service.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:
|
||||||
# selfHeal: true
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
|||||||
@ -1,9 +0,0 @@
|
|||||||
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
|
|
||||||
@ -1,9 +0,0 @@
|
|||||||
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