Added custom secret type and attachment support for bitwardenSecret
This commit is contained in:
		@@ -4,9 +4,9 @@ description: Deploy the Bitwarden CRD Operator
 | 
			
		||||
 | 
			
		||||
type: application
 | 
			
		||||
 | 
			
		||||
version: "v0.12.0"
 | 
			
		||||
version: "v0.13.0"
 | 
			
		||||
 | 
			
		||||
appVersion: "0.11.0"
 | 
			
		||||
appVersion: "0.12.0"
 | 
			
		||||
 | 
			
		||||
keywords:
 | 
			
		||||
  - operator
 | 
			
		||||
@@ -32,7 +32,7 @@ annotations:
 | 
			
		||||
      url: https://github.com/Lerentis/bitwarden-crd-operator
 | 
			
		||||
  artifacthub.io/crds: |
 | 
			
		||||
    - kind: BitwardenSecret
 | 
			
		||||
      version: v1beta6
 | 
			
		||||
      version: v1beta7
 | 
			
		||||
      name: bitwarden-secret
 | 
			
		||||
      displayName: Bitwarden Secret
 | 
			
		||||
      description: Management Object to create secrets from bitwarden
 | 
			
		||||
@@ -47,8 +47,28 @@ annotations:
 | 
			
		||||
      displayName: Bitwarden Template
 | 
			
		||||
      description: Management Object to create secrets from a jinja template with a bitwarden lookup
 | 
			
		||||
  artifacthub.io/crdsExamples: |
 | 
			
		||||
    - apiVersion: lerentis.uploadfilter24.eu/v1beta6
 | 
			
		||||
    - apiVersion: lerentis.uploadfilter24.eu/v1beta7
 | 
			
		||||
      kind: BitwardenSecret
 | 
			
		||||
      metadata:
 | 
			
		||||
        name: test
 | 
			
		||||
      spec:
 | 
			
		||||
        content:
 | 
			
		||||
          - element:
 | 
			
		||||
              secretName: username
 | 
			
		||||
              secretRef: nameofUser
 | 
			
		||||
          - element:
 | 
			
		||||
              secretName: password
 | 
			
		||||
              secretRef: passwordOfUser
 | 
			
		||||
        id: "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
 | 
			
		||||
        name: "test-secret"
 | 
			
		||||
        secretType: Obaque
 | 
			
		||||
        namespace: "default"
 | 
			
		||||
        labels:
 | 
			
		||||
          key: value
 | 
			
		||||
        annotations:
 | 
			
		||||
          key: value
 | 
			
		||||
     - apiVersion: lerentis.uploadfilter24.eu/v1beta1
 | 
			
		||||
      kind: BitwardenTLSSecret
 | 
			
		||||
      metadata:
 | 
			
		||||
        name: test
 | 
			
		||||
      spec:
 | 
			
		||||
@@ -107,6 +127,8 @@ annotations:
 | 
			
		||||
  artifacthub.io/operator: "true"
 | 
			
		||||
  artifacthub.io/containsSecurityUpdates: "false"
 | 
			
		||||
  artifacthub.io/changes: |
 | 
			
		||||
    - kind: changed
 | 
			
		||||
      description: "Allow custom type for generated secrets"
 | 
			
		||||
    - kind: changed
 | 
			
		||||
      description: "Update python to 3.11.9-r0"
 | 
			
		||||
    - kind: changed
 | 
			
		||||
@@ -125,4 +147,4 @@ annotations:
 | 
			
		||||
      description: "Set ownership of generated secrets if CRD is in the same namespace"
 | 
			
		||||
  artifacthub.io/images: |
 | 
			
		||||
    - name: bitwarden-crd-operator
 | 
			
		||||
      image: ghcr.io/lerentis/bitwarden-crd-operator:0.11.0
 | 
			
		||||
      image: ghcr.io/lerentis/bitwarden-crd-operator:0.12.0
 | 
			
		||||
 
 | 
			
		||||
@@ -92,7 +92,8 @@ spec:
 | 
			
		||||
                - name
 | 
			
		||||
    - name: v1beta6
 | 
			
		||||
      served: true
 | 
			
		||||
      storage: true
 | 
			
		||||
      storage: false
 | 
			
		||||
      deprecated: true
 | 
			
		||||
      schema:
 | 
			
		||||
        openAPIV3Schema:
 | 
			
		||||
          type: object
 | 
			
		||||
@@ -128,6 +129,50 @@ spec:
 | 
			
		||||
                annotations:
 | 
			
		||||
                  type: object
 | 
			
		||||
                  x-kubernetes-preserve-unknown-fields: true
 | 
			
		||||
              required:
 | 
			
		||||
                - id
 | 
			
		||||
                - namespace
 | 
			
		||||
                - name
 | 
			
		||||
    - name: v1beta7
 | 
			
		||||
      served: true
 | 
			
		||||
      storage: true
 | 
			
		||||
      schema:
 | 
			
		||||
        openAPIV3Schema:
 | 
			
		||||
          type: object
 | 
			
		||||
          properties:
 | 
			
		||||
            spec:
 | 
			
		||||
              type: object
 | 
			
		||||
              properties:
 | 
			
		||||
                content:
 | 
			
		||||
                  type: array
 | 
			
		||||
                  items:
 | 
			
		||||
                    type: object
 | 
			
		||||
                    properties:
 | 
			
		||||
                      element:
 | 
			
		||||
                        type: object
 | 
			
		||||
                        properties:
 | 
			
		||||
                          secretName:
 | 
			
		||||
                            type: string
 | 
			
		||||
                          secretRef:
 | 
			
		||||
                            type: string
 | 
			
		||||
                          secretScope:
 | 
			
		||||
                            type: string
 | 
			
		||||
                        required:
 | 
			
		||||
                          - secretName
 | 
			
		||||
                id:
 | 
			
		||||
                  type: string
 | 
			
		||||
                namespace:
 | 
			
		||||
                  type: string
 | 
			
		||||
                name:
 | 
			
		||||
                  type: string
 | 
			
		||||
                secretType: 
 | 
			
		||||
                  type: string
 | 
			
		||||
                labels:
 | 
			
		||||
                  type: object
 | 
			
		||||
                  x-kubernetes-preserve-unknown-fields: true
 | 
			
		||||
                annotations:
 | 
			
		||||
                  type: object
 | 
			
		||||
                  x-kubernetes-preserve-unknown-fields: true
 | 
			
		||||
              required:
 | 
			
		||||
                - id
 | 
			
		||||
                - namespace
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user