2023-06-13 15:44:55 +02:00
|
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
|
|
kind: Kustomization
|
2023-06-19 13:58:25 +02:00
|
|
|
namespace: myapplication-dev
|
2023-06-13 15:44:55 +02:00
|
|
|
|
|
|
|
resources:
|
|
|
|
- ../../base
|
|
|
|
- resources/namespace.yaml
|
|
|
|
- resources/ingress.yaml
|
|
|
|
|
|
|
|
patches:
|
2023-06-19 13:58:25 +02:00
|
|
|
- path: patches/myapplication-update-replicas.yaml
|
2023-06-13 15:44:55 +02:00
|
|
|
- path: patches/add-registry-pull-secret.yaml
|
|
|
|
target:
|
|
|
|
kind: Deployment
|
|
|
|
version: v1
|
|
|
|
|
|
|
|
secretGenerator:
|
|
|
|
- files:
|
|
|
|
- secrets/dockerconfig/.dockerconfigjson
|
|
|
|
name: regcred-dev
|
|
|
|
type: kubernetes.io/dockerconfigjson
|