work in progress to support raw template types
This commit is contained in:
		| @@ -4,9 +4,9 @@ description: Deploy the Bitwarden CRD Operator | ||||
|  | ||||
| type: application | ||||
|  | ||||
| version: "v0.3.2" | ||||
| version: "v0.4.0" | ||||
|  | ||||
| appVersion: "0.3.0" | ||||
| appVersion: "0.4.0" | ||||
|  | ||||
| keywords: | ||||
|   - operator | ||||
| @@ -69,10 +69,10 @@ annotations: | ||||
|   artifacthub.io/license: MIT | ||||
|   artifacthub.io/operator: "true"   | ||||
|   artifacthub.io/changes: | | ||||
|     - kind: changed | ||||
|       description: "Switched to Alpine image" | ||||
|     - kind: added | ||||
|       description: "Added CRDs Example to artifactshub" | ||||
|       description: "Added Template CRD" | ||||
|     - kind: added | ||||
|       description: "Added logo" | ||||
|   artifacthub.io/images: | | ||||
|     - name: bitwarden-crd-operator | ||||
|       image: lerentis/bitwarden-crd-operator:0.3.0 | ||||
|   | ||||
							
								
								
									
										34
									
								
								charts/bitwarden-crd-operator/crds/template.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								charts/bitwarden-crd-operator/crds/template.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,34 @@ | ||||
| apiVersion: apiextensions.k8s.io/v1 | ||||
| kind: CustomResourceDefinition | ||||
| metadata: | ||||
|   name: bitwarden-templates.lerentis.uploadfilter24.eu | ||||
| spec: | ||||
|   scope: Namespaced | ||||
|   group: lerentis.uploadfilter24.eu | ||||
|   names: | ||||
|     kind: BitwardenTemplate | ||||
|     plural: bitwarden-templates | ||||
|     singular: bitwarden-template | ||||
|     shortNames: | ||||
|       - bwt | ||||
|   versions: | ||||
|     - name: v1beta1 | ||||
|       served: true | ||||
|       storage: true | ||||
|       schema: | ||||
|         openAPIV3Schema: | ||||
|           type: object | ||||
|           properties: | ||||
|             spec: | ||||
|               type: object | ||||
|               properties: | ||||
|                 template: | ||||
|                   type: string | ||||
|                 namespace: | ||||
|                   type: string | ||||
|                 name: | ||||
|                   type: string | ||||
|               required: | ||||
|                 - template | ||||
|                 - namespace | ||||
|                 - name | ||||
| @@ -4,7 +4,7 @@ metadata: | ||||
|   name: {{ include "bitwarden-crd-operator.serviceAccountName" . }}-role | ||||
| rules: | ||||
| - apiGroups: ["lerentis.uploadfilter24.eu"] | ||||
|   resources: ["bitwarden-secrets", "registry-credentials"] | ||||
|   resources: ["bitwarden-secrets", "registry-credentials", "bitwarden-templates"] | ||||
|   verbs: ["get", "watch", "list", "create", "delete", "patch", "update"] | ||||
| - apiGroups: [""] | ||||
|   resources: ["secrets"] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user