From 80a82adee032bccf25690a7b352231689a7b5245 Mon Sep 17 00:00:00 2001 From: krishbajaj1609 Date: Mon, 6 Jan 2025 11:52:28 +0530 Subject: [PATCH] update crd chart --- .../Chart.yaml | 2 +- .../security.nirmata.io_kyvernoes.yaml | 41 +++++++++++++++---- 2 files changed, 34 insertions(+), 9 deletions(-) diff --git a/charts/enterprise-kyverno-operator-crd/Chart.yaml b/charts/enterprise-kyverno-operator-crd/Chart.yaml index 93efea41..dd9e3908 100644 --- a/charts/enterprise-kyverno-operator-crd/Chart.yaml +++ b/charts/enterprise-kyverno-operator-crd/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: nirmata-kyverno-operator-crd description: Helm Chart for Enterprise Kyverno Operator type: application -version: v0.5.1 +version: v0.5.2 appVersion: v0.3.3 icon: https://github.com/kyverno/kyverno/raw/main/img/logo.png diff --git a/charts/enterprise-kyverno-operator-crd/templates/security.nirmata.io_kyvernoes.yaml b/charts/enterprise-kyverno-operator-crd/templates/security.nirmata.io_kyvernoes.yaml index 8d4b359d..76b23b72 100644 --- a/charts/enterprise-kyverno-operator-crd/templates/security.nirmata.io_kyvernoes.yaml +++ b/charts/enterprise-kyverno-operator-crd/templates/security.nirmata.io_kyvernoes.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.15.0 + controller-gen.kubebuilder.io/version: v0.14.0 name: kyvernoconfigs.security.nirmata.io spec: group: security.nirmata.io @@ -59,6 +59,38 @@ spec: type: object spec: description: KyvernoConfigSpec defines the desired state of Kyverno + properties: + apiKey: + type: string + helm: + additionalProperties: + type: object + x-kubernetes-preserve-unknown-fields: true + description: |- + Finer customizations for each component are provided in a + generic object structure, typically matching the + value.yaml of individual components + type: object + licenseKey: + type: string + namespace: + default: kyverno + enum: + - kyverno + type: string + replicas: + default: 1 + format: int32 + type: integer + repository: + default: ghcr.io/nirmata + type: string + secrets: + description: Secrets storing licenseKey, apiKey + type: string + version: + default: v1.9.1-n4k.nirmata.1 + type: string type: object status: description: KyvernoStatus defines the observed state of Kyverno @@ -118,13 +150,6 @@ spec: lastUpdated: format: date-time type: string - namespace: - type: string - replicas: - format: int32 - type: integer - version: - type: string required: - isHA - isRunning