Add/update example configurations.
This commit is contained in:
parent
40a005329f
commit
3c5b7334a8
8 changed files with 156 additions and 18 deletions
35
dev-example/kustomization.yaml
Normal file
35
dev-example/kustomization.yaml
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- ../deploy
|
||||
|
||||
namespace: vmop-dev
|
||||
|
||||
patches:
|
||||
- patch: |-
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: vmop-image-repository
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
storageClassName: local-path
|
||||
|
||||
- target:
|
||||
group: apps
|
||||
version: v1
|
||||
kind: Deployment
|
||||
name: vm-operator
|
||||
patch: |-
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/image
|
||||
value: docker-registry.lan.mnl.de/vmoperator/org.jdrupes.vmoperator.manager:latest
|
||||
- op: replace
|
||||
path: /spec/replicas
|
||||
value: 0
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue