From 0bf3385c68760f9f0db4fcdaa142795d86cb5d72 Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Wed, 4 Jan 2023 23:56:30 +0200 Subject: [PATCH] add some more ci values --- .../common-test/ci/persistence-values.yaml | 90 +++++++++++++++++++ library/common-test/ci/rbac-values.yaml | 66 ++++++++++++++ 2 files changed, 156 insertions(+) create mode 100644 library/common-test/ci/persistence-values.yaml create mode 100644 library/common-test/ci/rbac-values.yaml diff --git a/library/common-test/ci/persistence-values.yaml b/library/common-test/ci/persistence-values.yaml new file mode 100644 index 00000000..8c22297e --- /dev/null +++ b/library/common-test/ci/persistence-values.yaml @@ -0,0 +1,90 @@ +mage: + repository: ghcr.io/truecharts/whoami + pullPolicy: IfNotPresent + tag: 1.8.7@sha256:8c61f0ca92fd806fcb4ed1465cb793c05443f37951554b105b0f2dc686a95772 + +service: + main: + ports: + main: + port: 8080 + +args: + - --port + - '8080' + +persistence: + pvc-stock: + enabled: true + type: pvc + mountPath: /pvcstock + + pvc-size: + enabled: true + type: pvc + mountPath: /pvcsize + size: 1Gi + + pvc-forcedname: + enabled: true + type: pvc + forceName: "testname" + mountPath: /pvcfn + + pvc-readonly: + enabled: true + type: pvc + mountPath: /pvcro + readOnly: true + + pvc-labeled: + enabled: true + labels: + labelexample1: labelvalue2 + type: pvc + mountPath: /pvclabeled + + pvc-sc-empty: + enabled: true + type: pvc + mountPath: /pvcscempty + readOnly: false + storageClass: "" + + pvc-auto: + enabled: true + setPermissions: true + type: pvc + mountPath: /autotest + readOnly: false + + emptydir: + enabled: true + type: emptyDir + mountPath: /emptydir + + emptydir-mem: + enabled: true + type: emptyDir + mountPath: /emptydirmem + medium: Memory + + emptydir-size: + enabled: true + type: emptyDir + mountPath: /emptydirsize + sizeLimit: 1Gi + + emptydir-memsize: + enabled: true + type: emptyDir + mountPath: /emptydirmemsize + medium: Memory + sizeLimit: 1Gi + + hostpath-stock: + enabled: true + type: hostPath + hostPath: /usr + mountPath: /hptest + hostPathType: "" diff --git a/library/common-test/ci/rbac-values.yaml b/library/common-test/ci/rbac-values.yaml new file mode 100644 index 00000000..0a39938b --- /dev/null +++ b/library/common-test/ci/rbac-values.yaml @@ -0,0 +1,66 @@ +image: + repository: ghcr.io/truecharts/whoami + pullPolicy: IfNotPresent + tag: 1.8.7@sha256:8c61f0ca92fd806fcb4ed1465cb793c05443f37951554b105b0f2dc686a95772 + +service: + main: + ports: + main: + port: 8080 + +args: + - --port + - '8080' + +rbac: + main: + enabled: true + rules: + - apiGroups: + - "" + resources: + - services + - endpoints + - secrets + verbs: + - get + - list + - watch + - apiGroups: + - extensions + - networking.k8s.io + resources: + - ingresses + - ingressclasses + verbs: + - get + - list + - watch + - apiGroups: + - extensions + - networking.k8s.io + resources: + - ingresses/status + verbs: + - update + - apiGroups: + - traefik.containo.us + resources: + - ingressroutes + - ingressroutetcps + - ingressrouteudps + - middlewares + - middlewaretcps + - tlsoptions + - tlsstores + - traefikservices + - serverstransports + verbs: + - get + - list + - watch + +serviceAccount: + main: + create: true