Add services to dev and int
This commit is contained in:
parent
5de0f3e738
commit
2a74c7779b
@ -24,6 +24,8 @@ spec:
|
||||
repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
|
||||
targetRevision: HEAD
|
||||
path: env-sets/{{env}}
|
||||
directory:
|
||||
recurse: true
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: '{{namespace}}'
|
||||
|
||||
@ -21,7 +21,7 @@ spec:
|
||||
chart: ngnix-message
|
||||
helm:
|
||||
valueFiles:
|
||||
- env-sets/dev/services/{{path.basename}}
|
||||
- services/{{path.basename}}
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: dev
|
||||
|
||||
@ -0,0 +1,9 @@
|
||||
message: "Welcome to svc-1 in dev"
|
||||
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 dev"
|
||||
image:
|
||||
repository: nginx
|
||||
tag: stable
|
||||
pullPolicy: IfNotPresent
|
||||
service:
|
||||
name: svc-2 # 🟡 OPTIONAL: if your chart supports it
|
||||
type: ClusterIP
|
||||
port: 80
|
||||
@ -21,7 +21,7 @@ spec:
|
||||
chart: ngnix-message
|
||||
helm:
|
||||
valueFiles:
|
||||
- env-sets/int/services/{{path.basename}}
|
||||
- services/{{path.basename}}
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: int
|
||||
|
||||
@ -0,0 +1,9 @@
|
||||
message: "Welcome to svc-1 in int"
|
||||
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 int"
|
||||
image:
|
||||
repository: nginx
|
||||
tag: stable
|
||||
pullPolicy: IfNotPresent
|
||||
service:
|
||||
name: svc-2 # 🟡 OPTIONAL: if your chart supports it
|
||||
type: ClusterIP
|
||||
port: 80
|
||||
@ -21,7 +21,7 @@ spec:
|
||||
chart: ngnix-message
|
||||
helm:
|
||||
valueFiles:
|
||||
- env-sets/prod/services/{{path.basename}}
|
||||
- services/{{path.basename}}
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: prod
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user