moved crds to helm chart
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tobias Trabelsi 2022-09-10 00:11:54 +02:00
parent 28c2db9d18
commit b020ebf7d6
Signed by: lerentis
GPG Key ID: FF0C2839718CAF2E
4 changed files with 29 additions and 10 deletions

View File

@ -4,7 +4,7 @@ metadata:
name: bitwarden-secrets.lerentis.uploadfilter24.eu name: bitwarden-secrets.lerentis.uploadfilter24.eu
spec: spec:
scope: Namespaced scope: Namespaced
group: lerentis.uploadfilter24 group: lerentis.uploadfilter24.eu
names: names:
kind: BitwardenSecret kind: BitwardenSecret
plural: bitwarden-secrets plural: bitwarden-secrets
@ -21,7 +21,9 @@ spec:
properties: properties:
spec: spec:
type: object type: object
x-kubernetes-preserve-unknown-fields: true properties:
status: type:
type: object type: string
x-kubernetes-preserve-unknown-fields: true id:
type: string

View File

@ -10,5 +10,14 @@ rules:
resources: ["secrets"] resources: ["secrets"]
verbs: ["get", "watch", "list", "create", "delete", "patch", "update"] verbs: ["get", "watch", "list", "create", "delete", "patch", "update"]
- apiGroups: [""] - apiGroups: [""]
resources: [events] resources: ["events"]
verbs: [create] verbs: ["create"]
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["list", "watch"]
- apiGroups: [""]
resources: ["namespaces"]
verbs: ["list", "watch"]
- apiGroups: ["admissionregistration.k8s.io/v1", "admissionregistration.k8s.io/v1beta1"]
resources: ["validatingwebhookconfigurations", "mutatingwebhookconfigurations"]
verbs: ["create", "patch"]

View File

@ -8,7 +8,7 @@ image:
repository: lerentis/bitwarden-crd-operator repository: lerentis/bitwarden-crd-operator
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion. # Overrides the image tag whose default is the chart appVersion.
tag: "c7d3e3a997eceb8130429fb3725469917e612560" tag: "28c2db9d18cfc98aa556764912bce8a981b09f22"
imagePullSecrets: [] imagePullSecrets: []
nameOverride: "" nameOverride: ""
@ -17,9 +17,9 @@ fullnameOverride: ""
#env: #env:
# - name: BITWARDEN_OPERATOR_HOST # - name: BITWARDEN_OPERATOR_HOST
# value: "define_it" # value: "define_it"
# - name: BITWARDEN_OPERATOR_USERNAME # - name: BW_CLIENTID
# value: "define_it" # value: "define_it"
# - name: BITWARDEN_OPERATOR_PASSWORD # - name: BW_CLIENTSECRET
# value: "define_it" # value: "define_it"
serviceAccount: serviceAccount:

8
test.yaml Normal file
View File

@ -0,0 +1,8 @@
---
apiVersion: "lerentis.uploadfilter24.eu/v1"
kind: BitwardenSecret
metadata:
name: test
spec:
type: "password"
id: "123456"