Basics for automated test.
This commit is contained in:
parent
c006bd0a39
commit
6c98438fc5
9 changed files with 160 additions and 16 deletions
|
|
@ -13,3 +13,7 @@ The `kustomize.yaml` also changes the image repository for the
|
|||
operator to a private repository for development. You have to
|
||||
either remove this or adapt it to your own repository if you
|
||||
also want to test your development version in a container.
|
||||
|
||||
If you want to run the unittests, this setup must be run with a private
|
||||
repository and the private repository must match the one configured
|
||||
for gradle pushImages.
|
||||
|
|
@ -1,12 +1,8 @@
|
|||
# The values in comments are the defaults.
|
||||
|
||||
# Used for running manager outside Kubernetes.
|
||||
# Keep in sync with kustomize.yaml
|
||||
"/Manager":
|
||||
"/Controller":
|
||||
namespace: vmop-dev
|
||||
"/Reconciler":
|
||||
runnerData:
|
||||
storageClassName: null
|
||||
loadBalancerService: |
|
||||
labels:
|
||||
test1: info
|
||||
test2: toBeDeleted
|
||||
|
|
|
|||
|
|
@ -20,6 +20,21 @@ patches:
|
|||
storage: 10Gi
|
||||
storageClassName: local-path
|
||||
|
||||
- patch: |-
|
||||
kind: ConfigMap
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: vm-operator
|
||||
data:
|
||||
# Keep in sync with config.yaml
|
||||
config.yaml: |
|
||||
"/Manager":
|
||||
"/Controller":
|
||||
namespace: vmop-dev
|
||||
"/Reconciler":
|
||||
runnerData:
|
||||
storageClassName: null
|
||||
|
||||
- target:
|
||||
group: apps
|
||||
version: v1
|
||||
|
|
|
|||
|
|
@ -14,11 +14,6 @@ spec:
|
|||
cpu: 1
|
||||
memory: 2Gi
|
||||
|
||||
loadBalancerService:
|
||||
labels:
|
||||
test2: null
|
||||
test3: added
|
||||
|
||||
vm:
|
||||
# state: Running
|
||||
bootMenu: yes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue