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
spec:
scope: Namespaced
group: lerentis.uploadfilter24
group: lerentis.uploadfilter24.eu
names:
kind: BitwardenSecret
plural: bitwarden-secrets
@ -21,7 +21,9 @@ spec:
properties:
spec:
type: object
x-kubernetes-preserve-unknown-fields: true
status:
type: object
x-kubernetes-preserve-unknown-fields: true
properties:
type:
type: string
id:
type: string

View File

@ -10,5 +10,14 @@ rules:
resources: ["secrets"]
verbs: ["get", "watch", "list", "create", "delete", "patch", "update"]
- apiGroups: [""]
resources: [events]
verbs: [create]
resources: ["events"]
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
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "c7d3e3a997eceb8130429fb3725469917e612560"
tag: "28c2db9d18cfc98aa556764912bce8a981b09f22"
imagePullSecrets: []
nameOverride: ""
@ -17,9 +17,9 @@ fullnameOverride: ""
#env:
# - name: BITWARDEN_OPERATOR_HOST
# value: "define_it"
# - name: BITWARDEN_OPERATOR_USERNAME
# - name: BW_CLIENTID
# value: "define_it"
# - name: BITWARDEN_OPERATOR_PASSWORD
# - name: BW_CLIENTSECRET
# value: "define_it"
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"