34 lines
513 B
YAML
34 lines
513 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
namespace: default
|
|
|
|
resources:
|
|
- ../../base
|
|
|
|
namePrefix: revproxy-
|
|
|
|
labels:
|
|
- pairs:
|
|
environment: revproxy
|
|
app: nginx-revproxy
|
|
|
|
configMapGenerator:
|
|
- name: nginx-config
|
|
behavior: replace
|
|
files:
|
|
- default.conf
|
|
options:
|
|
labels:
|
|
environment: revproxy
|
|
|
|
patches:
|
|
- path: service-patch.yaml
|
|
target:
|
|
kind: Service
|
|
name: nginx
|
|
- path: deployment-patch.yaml
|
|
target:
|
|
kind: Deployment
|
|
name: nginx
|