moving project to gitea
This commit is contained in:
33
manifests/nginx/overlays/dev/kustomization.yaml
Normal file
33
manifests/nginx/overlays/dev/kustomization.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: default
|
||||
|
||||
resources:
|
||||
- ../../base
|
||||
|
||||
namePrefix: dev-
|
||||
|
||||
labels:
|
||||
- pairs:
|
||||
environment: development
|
||||
app: nginx-dev
|
||||
|
||||
configMapGenerator:
|
||||
- name: nginx-html
|
||||
behavior: replace
|
||||
files:
|
||||
- index.html
|
||||
options:
|
||||
labels:
|
||||
environment: development
|
||||
|
||||
patches:
|
||||
- path: service-patch.yaml
|
||||
target:
|
||||
kind: Service
|
||||
name: nginx
|
||||
- path: deployment-patch.yaml
|
||||
target:
|
||||
kind: Deployment
|
||||
name: nginx
|
||||
Reference in New Issue
Block a user