improve overlays to visually differentiate between environments

Signed-off-by: Kent <kent.rancourt@gmail.com>
This commit is contained in:
Kent
2023-05-16 12:12:26 -04:00
parent aa21f540fb
commit a0e81ad5e5
8 changed files with 90 additions and 0 deletions

17
env/prod/configmap.yaml vendored Normal file
View File

@@ -0,0 +1,17 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: kargo-demo-content
data:
index.html: |-
<!DOCTYPE html>
<html>
<head>
<title>prod</title>
</head>
<body>
<h1>prod</h1>
</body>
</html>

View File

@@ -3,3 +3,13 @@ kind: Kustomization
resources:
- ../../base
- configmap.yaml
patches:
- target:
kind: Service
name: kargo-demo
patch: |-
- op: replace
path: /spec/ports/0/nodePort
value: 30083