From d8d94f071801d4ba820b811808a3aee9fafa8665 Mon Sep 17 00:00:00 2001 From: Rakshit Gondwal <98955085+rakshitgondwal@users.noreply.github.com> Date: Tue, 11 Apr 2023 17:16:36 +0530 Subject: [PATCH 1/4] ci: add helm generation checker pipeline (#1150) --- ...-helm-docs.yml => validate-helm-chart.yml} | 44 +++++++++++++++++-- 1 file changed, 41 insertions(+), 3 deletions(-) rename .github/workflows/{validate-helm-docs.yml => validate-helm-chart.yml} (58%) diff --git a/.github/workflows/validate-helm-docs.yml b/.github/workflows/validate-helm-chart.yml similarity index 58% rename from .github/workflows/validate-helm-docs.yml rename to .github/workflows/validate-helm-chart.yml index 5ffb6c7732..0825910abd 100644 --- a/.github/workflows/validate-helm-docs.yml +++ b/.github/workflows/validate-helm-chart.yml @@ -1,10 +1,13 @@ -name: Validate Helm Docs +name: Validate Helm Chart on: + push: + branches: + - 'main' + - '[0-9]+.[1-9][0-9]*.x' pull_request: branches: - 'main' - paths: - - 'helm/**' + - '[0-9]+.[1-9][0-9]*.x' defaults: run: shell: bash @@ -51,3 +54,38 @@ jobs: echo "" echo "Helm values documentation is correct!" fi + + helm-generation-check: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Cache build tools + id: cache-build-tools + uses: actions/cache@v3 + with: + path: ./bin + key: build-tools-${{ github.ref_name }} + + - name: Generate current YAML + run: | + helm template helm/chart > current.yaml + + - name: Generate new Helm Chart + run: make helm-package + + - name: Generate new YAML + run: | + helm template helm/chart > new.yaml + + - name: Compare YAML files + run: | + if ! diff -rq current.yaml new.yaml &>/dev/null; then + echo "Helm charts were not re-generated. Please regenerate them using make helm-package" + exit 1 + else + echo "" + echo "There are no changes in the manifests" + fi From b261172ff2e2921923ca7d6bb6519a55182bacdf Mon Sep 17 00:00:00 2001 From: Florian Bacher Date: Tue, 11 Apr 2023 15:23:52 +0200 Subject: [PATCH 2/4] fix: fix metrics demo setup (#1207) --- examples/support/metrics/Makefile | 2 +- examples/support/metrics/deployment.yaml | 1 - examples/support/metrics/metric.yaml | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/support/metrics/Makefile b/examples/support/metrics/Makefile index 27eaabbc9a..05a5f6bcb6 100644 --- a/examples/support/metrics/Makefile +++ b/examples/support/metrics/Makefile @@ -4,7 +4,7 @@ .PHONY: 2-create-metric 2-create-metric: - kubectl apply -f load-generator-job.yaml + kubectl apply -f metric.yaml .PHONY: 3-generate-load 3-generate-load: diff --git a/examples/support/metrics/deployment.yaml b/examples/support/metrics/deployment.yaml index bab988db02..3fd85a59df 100644 --- a/examples/support/metrics/deployment.yaml +++ b/examples/support/metrics/deployment.yaml @@ -52,6 +52,5 @@ spec: - name: http port: 9000 protocol: TCP - nodePort: 30900 targetPort: 9000 type: ClusterIP diff --git a/examples/support/metrics/metric.yaml b/examples/support/metrics/metric.yaml index 55ff6d7ba4..ea370318f8 100644 --- a/examples/support/metrics/metric.yaml +++ b/examples/support/metrics/metric.yaml @@ -15,4 +15,4 @@ spec: provider: name: prometheus query: 'avg(rate(container_cpu_cfs_throttled_seconds_total{container="server", namespace="podtato-metrics"}[1m]))' - fetchIntervalSeconds: 60 + fetchIntervalSeconds: 10 From 72396cda0e8b02913f060a6e99e782be2fab4e85 Mon Sep 17 00:00:00 2001 From: odubajDT <93584209+odubajDT@users.noreply.github.com> Date: Wed, 12 Apr 2023 11:39:53 +0200 Subject: [PATCH 3/4] fix: helm generation checker pipeline (#1209) Signed-off-by: odubajDT --- .github/workflows/validate-helm-chart.yml | 23 +- .yamllint | 9 +- helm/chart/values.yaml | 60 +- klt-cert-manager/config/rbac/role.yaml | 100 +- .../bases/metrics.keptn.sh_keptnmetrics.yaml | 288 ++-- ...etrics.keptn.sh_keptnmetricsproviders.yaml | 98 +- metrics-operator/config/rbac/role.yaml | 104 +- .../bases/lifecycle.keptn.sh_keptnapps.yaml | 360 ++--- .../lifecycle.keptn.sh_keptnappversions.yaml | 1336 ++++++++--------- ...e.keptn.sh_keptnevaluationdefinitions.yaml | 292 ++-- ...cle.keptn.sh_keptnevaluationproviders.yaml | 266 ++-- .../lifecycle.keptn.sh_keptnevaluations.yaml | 608 ++++---- ...fecycle.keptn.sh_keptntaskdefinitions.yaml | 424 +++--- .../bases/lifecycle.keptn.sh_keptntasks.yaml | 674 ++++----- ...cycle.keptn.sh_keptnworkloadinstances.yaml | 1260 ++++++++-------- .../lifecycle.keptn.sh_keptnworkloads.yaml | 432 +++--- .../bases/options.keptn.sh_keptnconfigs.yaml | 70 +- operator/config/rbac/role.yaml | 712 ++++----- 18 files changed, 3562 insertions(+), 3554 deletions(-) diff --git a/.github/workflows/validate-helm-chart.yml b/.github/workflows/validate-helm-chart.yml index 0825910abd..09e96d8184 100644 --- a/.github/workflows/validate-helm-chart.yml +++ b/.github/workflows/validate-helm-chart.yml @@ -69,23 +69,18 @@ jobs: path: ./bin key: build-tools-${{ github.ref_name }} - - name: Generate current YAML - run: | - helm template helm/chart > current.yaml - - - name: Generate new Helm Chart + - name: Generate helm charts + env: + RELEASE_REGISTRY: ghcr.keptn.sh/keptn run: make helm-package - - name: Generate new YAML - run: | - helm template helm/chart > new.yaml - - - name: Compare YAML files + - name: Compare YAML file changes run: | - if ! diff -rq current.yaml new.yaml &>/dev/null; then - echo "Helm charts were not re-generated. Please regenerate them using make helm-package" - exit 1 - else + if [ -z "$(git status --porcelain)" ]; then echo "" echo "There are no changes in the manifests" + else + echo "" + echo "Helm charts were not re-generated. Please regenerate them using make helm-package RELEASE_REGISTRY=ghcr.keptn.sh/keptn" + exit 1 fi diff --git a/.yamllint b/.yamllint index 3105198ff6..ef4a1972ed 100644 --- a/.yamllint +++ b/.yamllint @@ -7,10 +7,15 @@ ignore: | **/rendered/release.yaml examples/support/observability/config/prometheus dashboards/grafana - operator/config/crd/bases - metrics-operator/config/crd/bases + operator/config/crd/bases/* + metrics-operator/config/crd/bases/* + klt-cert-manager/config/crd/bases/* + operator/config/rbac/role.yaml + metrics-operator/config/rbac/role.yaml + klt-cert-manager/config/rbac/role.yaml helm/chart/templates helm/chart/rendered.yaml + helm/chart/values.yaml helmchart.yaml rules: diff --git a/helm/chart/values.yaml b/helm/chart/values.yaml index f94fa7f4dd..01e663f335 100644 --- a/helm/chart/values.yaml +++ b/helm/chart/values.yaml @@ -4,7 +4,7 @@ certificateOperator: allowPrivilegeEscalation: false capabilities: drop: - - ALL + - ALL readOnlyRootFilesystem: true runAsGroup: 65532 runAsUser: 65532 @@ -56,7 +56,7 @@ lifecycleOperator: allowPrivilegeEscalation: false capabilities: drop: - - ALL + - ALL privileged: false runAsGroup: 65532 runAsNonRoot: true @@ -104,16 +104,16 @@ lifecycleOperator: topologySpreadConstraints: [] lifecycleOperatorMetricsService: ports: - - name: metrics - port: 2222 - protocol: TCP - targetPort: metrics + - name: metrics + port: 2222 + protocol: TCP + targetPort: metrics type: ClusterIP lifecycleWebhookService: ports: - - port: 443 - protocol: TCP - targetPort: 9443 + - port: 443 + protocol: TCP + targetPort: 9443 type: ClusterIP metricsManagerConfig: controllerManagerConfigYaml: @@ -132,7 +132,7 @@ metricsOperator: allowPrivilegeEscalation: false capabilities: drop: - - ALL + - ALL env: exposeKeptnMetrics: "true" metricsControllerLogLevel: "0" @@ -164,23 +164,23 @@ metricsOperator: topologySpreadConstraints: [] metricsOperatorService: ports: - - name: https - port: 8443 - protocol: TCP - targetPort: https - - name: custom-metrics - port: 443 - targetPort: custom-metrics - - name: metrics - port: 9999 - protocol: TCP - targetPort: metrics + - name: https + port: 8443 + protocol: TCP + targetPort: https + - name: custom-metrics + port: 443 + targetPort: custom-metrics + - name: metrics + port: 9999 + protocol: TCP + targetPort: metrics type: ClusterIP metricsWebhookService: ports: - - port: 443 - protocol: TCP - targetPort: 9443 + - port: 443 + protocol: TCP + targetPort: 9443 type: ClusterIP scheduler: nodeSelector: {} @@ -190,7 +190,7 @@ scheduler: allowPrivilegeEscalation: false capabilities: drop: - - ALL + - ALL privileged: false readOnlyRootFilesystem: true runAsNonRoot: true @@ -228,8 +228,8 @@ schedulerConfig: leaderElection: leaderElect: false profiles: - - plugins: - permit: - enabled: - - name: KLCPermit - schedulerName: keptn-scheduler + - plugins: + permit: + enabled: + - name: KLCPermit + schedulerName: keptn-scheduler diff --git a/klt-cert-manager/config/rbac/role.yaml b/klt-cert-manager/config/rbac/role.yaml index aab87637bf..5b9cbb9aa6 100644 --- a/klt-cert-manager/config/rbac/role.yaml +++ b/klt-cert-manager/config/rbac/role.yaml @@ -5,44 +5,44 @@ metadata: creationTimestamp: null name: certificate-operator-role rules: - - apiGroups: - - admissionregistration.k8s.io - resources: - - mutatingwebhookconfigurations - verbs: - - get - - list - - patch - - update - - watch - - apiGroups: - - admissionregistration.k8s.io - resources: - - validatingwebhookconfigurations - verbs: - - get - - list - - patch - - update - - watch - - apiGroups: - - apiextensions.k8s.io - resources: - - customresourcedefinitions - verbs: - - get - - list - - patch - - update - - watch - - apiGroups: - - apps - resources: - - deployments - verbs: - - get - - list - - watch +- apiGroups: + - admissionregistration.k8s.io + resources: + - mutatingwebhookconfigurations + verbs: + - get + - list + - patch + - update + - watch +- apiGroups: + - admissionregistration.k8s.io + resources: + - validatingwebhookconfigurations + verbs: + - get + - list + - patch + - update + - watch +- apiGroups: + - apiextensions.k8s.io + resources: + - customresourcedefinitions + verbs: + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - get + - list + - watch --- apiVersion: rbac.authorization.k8s.io/v1 kind: Role @@ -51,15 +51,15 @@ metadata: name: certificate-operator-role namespace: keptn-lifecycle-toolkit-system rules: - - apiGroups: - - "" - resources: - - secrets - verbs: - - create - - delete - - get - - list - - patch - - update - - watch +- apiGroups: + - "" + resources: + - secrets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch diff --git a/metrics-operator/config/crd/bases/metrics.keptn.sh_keptnmetrics.yaml b/metrics-operator/config/crd/bases/metrics.keptn.sh_keptnmetrics.yaml index 377a048ee8..53360dcdb7 100644 --- a/metrics-operator/config/crd/bases/metrics.keptn.sh_keptnmetrics.yaml +++ b/metrics-operator/config/crd/bases/metrics.keptn.sh_keptnmetrics.yaml @@ -15,155 +15,155 @@ spec: singular: keptnmetric scope: Namespaced versions: - - additionalPrinterColumns: - - jsonPath: .spec.provider.name - name: Provider - type: string - - jsonPath: .spec.query - name: Query - type: string - - jsonPath: .status.value - name: Value - type: string - name: v1alpha1 - schema: - openAPIV3Schema: - description: KeptnMetric is the Schema for the keptnmetrics API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + - additionalPrinterColumns: + - jsonPath: .spec.provider.name + name: Provider + type: string + - jsonPath: .spec.query + name: Query + type: string + - jsonPath: .status.value + name: Value + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: KeptnMetric is the Schema for the keptnmetrics API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnMetricSpec defines the desired state of KeptnMetric - properties: - fetchIntervalSeconds: - description: FetchIntervalSeconds represents the update frequency - in seconds that is used to update the metric - type: integer - provider: - description: Provider represents the provider object - properties: - name: - description: Name of the provider - type: string - required: - - name - type: object - query: - description: Query represents the query to be run - type: string - required: - - fetchIntervalSeconds - - provider - - query - type: object - status: - description: KeptnMetricStatus defines the observed state of KeptnMetric - properties: - lastUpdated: - description: LastUpdated represents the time when the status data - was last updated - format: date-time - type: string - rawValue: - description: RawValue represents the resulting value in raw format - format: byte - type: string - value: - description: Value represents the resulting value - type: string - required: - - lastUpdated - - rawValue - - value - type: object - type: object - served: true - storage: false - subresources: - status: {} - - additionalPrinterColumns: - - jsonPath: .spec.provider.name - name: Provider - type: string - - jsonPath: .spec.query - name: Query - type: string - - jsonPath: .status.value - name: Value - type: string - name: v1alpha2 - schema: - openAPIV3Schema: - description: KeptnMetric is the Schema for the keptnmetrics API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + type: string + metadata: + type: object + spec: + description: KeptnMetricSpec defines the desired state of KeptnMetric + properties: + fetchIntervalSeconds: + description: FetchIntervalSeconds represents the update frequency + in seconds that is used to update the metric + type: integer + provider: + description: Provider represents the provider object + properties: + name: + description: Name of the provider + type: string + required: + - name + type: object + query: + description: Query represents the query to be run + type: string + required: + - fetchIntervalSeconds + - provider + - query + type: object + status: + description: KeptnMetricStatus defines the observed state of KeptnMetric + properties: + lastUpdated: + description: LastUpdated represents the time when the status data + was last updated + format: date-time + type: string + rawValue: + description: RawValue represents the resulting value in raw format + format: byte + type: string + value: + description: Value represents the resulting value + type: string + required: + - lastUpdated + - rawValue + - value + type: object + type: object + served: true + storage: false + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .spec.provider.name + name: Provider + type: string + - jsonPath: .spec.query + name: Query + type: string + - jsonPath: .status.value + name: Value + type: string + name: v1alpha2 + schema: + openAPIV3Schema: + description: KeptnMetric is the Schema for the keptnmetrics API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnMetricSpec defines the desired state of KeptnMetric - properties: - fetchIntervalSeconds: - description: FetchIntervalSeconds represents the update frequency - in seconds that is used to update the metric - type: integer - provider: - description: Provider represents the provider object - properties: - name: - description: Name of the provider - type: string - required: - - name - type: object - query: - description: Query represents the query to be run - type: string - required: - - fetchIntervalSeconds - - provider - - query - type: object - status: - description: KeptnMetricStatus defines the observed state of KeptnMetric - properties: - lastUpdated: - description: LastUpdated represents the time when the status data - was last updated - format: date-time - type: string - rawValue: - description: RawValue represents the resulting value in raw format - format: byte - type: string - value: - description: Value represents the resulting value - type: string - required: - - lastUpdated - - rawValue - - value - type: object - type: object - served: true - storage: true - subresources: - status: {} + type: string + metadata: + type: object + spec: + description: KeptnMetricSpec defines the desired state of KeptnMetric + properties: + fetchIntervalSeconds: + description: FetchIntervalSeconds represents the update frequency + in seconds that is used to update the metric + type: integer + provider: + description: Provider represents the provider object + properties: + name: + description: Name of the provider + type: string + required: + - name + type: object + query: + description: Query represents the query to be run + type: string + required: + - fetchIntervalSeconds + - provider + - query + type: object + status: + description: KeptnMetricStatus defines the observed state of KeptnMetric + properties: + lastUpdated: + description: LastUpdated represents the time when the status data + was last updated + format: date-time + type: string + rawValue: + description: RawValue represents the resulting value in raw format + format: byte + type: string + value: + description: Value represents the resulting value + type: string + required: + - lastUpdated + - rawValue + - value + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/metrics-operator/config/crd/bases/metrics.keptn.sh_keptnmetricsproviders.yaml b/metrics-operator/config/crd/bases/metrics.keptn.sh_keptnmetricsproviders.yaml index 4fbde59e2e..9a988e965d 100644 --- a/metrics-operator/config/crd/bases/metrics.keptn.sh_keptnmetricsproviders.yaml +++ b/metrics-operator/config/crd/bases/metrics.keptn.sh_keptnmetricsproviders.yaml @@ -13,60 +13,60 @@ spec: listKind: KeptnMetricsProviderList plural: keptnmetricsproviders shortNames: - - kmp + - kmp singular: keptnmetricsprovider scope: Namespaced versions: - - name: v1alpha2 - schema: - openAPIV3Schema: - description: KeptnMetricsProvider is the Schema for the keptnmetricsproviders - API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + - name: v1alpha2 + schema: + openAPIV3Schema: + description: KeptnMetricsProvider is the Schema for the keptnmetricsproviders + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnMetricsProviderSpec defines the desired state of KeptnMetricsProvider - properties: - secretKeyRef: - description: SecretKeySelector selects a key of a Secret. - properties: - key: - description: The key of the secret to select from. Must be a - valid secret key. - type: string - name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + metadata: + type: object + spec: + description: KeptnMetricsProviderSpec defines the desired state of KeptnMetricsProvider + properties: + secretKeyRef: + description: SecretKeySelector selects a key of a Secret. + properties: + key: + description: The key of the secret to select from. Must be a + valid secret key. + type: string + name: + description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?' - type: string - optional: - description: Specify whether the Secret or its key must be defined - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - targetServer: - type: string - required: - - targetServer - type: object - status: - description: KeptnMetricsProviderStatus defines the observed state of - KeptnMetricsProvider - type: object - type: object - served: true - storage: true - subresources: - status: {} + type: string + optional: + description: Specify whether the Secret or its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + targetServer: + type: string + required: + - targetServer + type: object + status: + description: KeptnMetricsProviderStatus defines the observed state of + KeptnMetricsProvider + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/metrics-operator/config/rbac/role.yaml b/metrics-operator/config/rbac/role.yaml index 965bd74f57..4ac679824f 100644 --- a/metrics-operator/config/rbac/role.yaml +++ b/metrics-operator/config/rbac/role.yaml @@ -5,55 +5,55 @@ metadata: creationTimestamp: null name: metrics-operator-role rules: - - apiGroups: - - "" - resources: - - configmaps - verbs: - - get - - list - - watch - - apiGroups: - - "" - resources: - - secrets - verbs: - - get - - apiGroups: - - metrics.keptn.sh - resources: - - keptnmetrics - verbs: - - get - - list - - watch - - apiGroups: - - metrics.keptn.sh - resources: - - keptnmetrics/finalizers - verbs: - - update - - apiGroups: - - metrics.keptn.sh - resources: - - keptnmetrics/status - verbs: - - get - - patch - - update - - apiGroups: - - metrics.keptn.sh - resources: - - keptnmetricsproviders - verbs: - - get - - list - - watch - - apiGroups: - - metrics.keptn.sh - resources: - - providers - verbs: - - get - - list - - watch +- apiGroups: + - "" + resources: + - configmaps + verbs: + - get + - list + - watch +- apiGroups: + - "" + resources: + - secrets + verbs: + - get +- apiGroups: + - metrics.keptn.sh + resources: + - keptnmetrics + verbs: + - get + - list + - watch +- apiGroups: + - metrics.keptn.sh + resources: + - keptnmetrics/finalizers + verbs: + - update +- apiGroups: + - metrics.keptn.sh + resources: + - keptnmetrics/status + verbs: + - get + - patch + - update +- apiGroups: + - metrics.keptn.sh + resources: + - keptnmetricsproviders + verbs: + - get + - list + - watch +- apiGroups: + - metrics.keptn.sh + resources: + - providers + verbs: + - get + - list + - watch diff --git a/operator/config/crd/bases/lifecycle.keptn.sh_keptnapps.yaml b/operator/config/crd/bases/lifecycle.keptn.sh_keptnapps.yaml index 11e116e91c..6cbb534bcb 100644 --- a/operator/config/crd/bases/lifecycle.keptn.sh_keptnapps.yaml +++ b/operator/config/crd/bases/lifecycle.keptn.sh_keptnapps.yaml @@ -15,201 +15,201 @@ spec: singular: keptnapp scope: Namespaced versions: - - name: v1alpha1 - schema: - openAPIV3Schema: - description: KeptnApp is the Schema for the keptnapps API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + - name: v1alpha1 + schema: + openAPIV3Schema: + description: KeptnApp is the Schema for the keptnapps API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnAppSpec defines the desired state of KeptnApp - properties: - postDeploymentEvaluations: - items: - type: string - type: array - postDeploymentTasks: - items: - type: string - type: array - preDeploymentEvaluations: - items: - type: string - type: array - preDeploymentTasks: - items: - type: string - type: array - version: + type: string + metadata: + type: object + spec: + description: KeptnAppSpec defines the desired state of KeptnApp + properties: + postDeploymentEvaluations: + items: type: string - workloads: - items: - properties: - name: - type: string - version: - type: string - required: - - name - - version - type: object - type: array - required: - - version - type: object - status: - description: KeptnAppStatus defines the observed state of KeptnApp - properties: - currentVersion: + type: array + postDeploymentTasks: + items: type: string - type: object - type: object - served: true - storage: false - subresources: - status: {} - - name: v1alpha2 - schema: - openAPIV3Schema: - description: KeptnApp is the Schema for the keptnapps API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + type: array + preDeploymentEvaluations: + items: + type: string + type: array + preDeploymentTasks: + items: + type: string + type: array + version: + type: string + workloads: + items: + properties: + name: + type: string + version: + type: string + required: + - name + - version + type: object + type: array + required: + - version + type: object + status: + description: KeptnAppStatus defines the observed state of KeptnApp + properties: + currentVersion: + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} + - name: v1alpha2 + schema: + openAPIV3Schema: + description: KeptnApp is the Schema for the keptnapps API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnAppSpec defines the desired state of KeptnApp - properties: - postDeploymentEvaluations: - items: - type: string - type: array - postDeploymentTasks: - items: - type: string - type: array - preDeploymentEvaluations: - items: - type: string - type: array - preDeploymentTasks: - items: - type: string - type: array - revision: - default: 1 - type: integer - version: + type: string + metadata: + type: object + spec: + description: KeptnAppSpec defines the desired state of KeptnApp + properties: + postDeploymentEvaluations: + items: + type: string + type: array + postDeploymentTasks: + items: type: string - workloads: - items: - properties: - name: - type: string - version: - type: string - required: - - name - - version - type: object - type: array - required: - - version - type: object - status: - description: KeptnAppStatus defines the observed state of KeptnApp - properties: - currentVersion: + type: array + preDeploymentEvaluations: + items: type: string - type: object - type: object - served: true - storage: false - subresources: - status: {} - - name: v1alpha3 - schema: - openAPIV3Schema: - description: KeptnApp is the Schema for the keptnapps API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + type: array + preDeploymentTasks: + items: + type: string + type: array + revision: + default: 1 + type: integer + version: + type: string + workloads: + items: + properties: + name: + type: string + version: + type: string + required: + - name + - version + type: object + type: array + required: + - version + type: object + status: + description: KeptnAppStatus defines the observed state of KeptnApp + properties: + currentVersion: + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} + - name: v1alpha3 + schema: + openAPIV3Schema: + description: KeptnApp is the Schema for the keptnapps API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnAppSpec defines the desired state of KeptnApp - properties: - postDeploymentEvaluations: - items: - type: string - type: array - postDeploymentTasks: - items: - type: string - type: array - preDeploymentEvaluations: - items: - type: string - type: array - preDeploymentTasks: - items: - type: string - type: array - revision: - default: 1 - type: integer - version: + type: string + metadata: + type: object + spec: + description: KeptnAppSpec defines the desired state of KeptnApp + properties: + postDeploymentEvaluations: + items: + type: string + type: array + postDeploymentTasks: + items: + type: string + type: array + preDeploymentEvaluations: + items: type: string - workloads: - items: - properties: - name: - type: string - version: - type: string - required: - - name - - version - type: object - type: array - required: - - version - type: object - status: - description: KeptnAppStatus defines the observed state of KeptnApp - properties: - currentVersion: + type: array + preDeploymentTasks: + items: type: string - type: object - type: object - served: true - storage: true - subresources: - status: {} + type: array + revision: + default: 1 + type: integer + version: + type: string + workloads: + items: + properties: + name: + type: string + version: + type: string + required: + - name + - version + type: object + type: array + required: + - version + type: object + status: + description: KeptnAppStatus defines the observed state of KeptnApp + properties: + currentVersion: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/operator/config/crd/bases/lifecycle.keptn.sh_keptnappversions.yaml b/operator/config/crd/bases/lifecycle.keptn.sh_keptnappversions.yaml index 48b8a62fa0..bc802873f7 100644 --- a/operator/config/crd/bases/lifecycle.keptn.sh_keptnappversions.yaml +++ b/operator/config/crd/bases/lifecycle.keptn.sh_keptnappversions.yaml @@ -13,704 +13,704 @@ spec: listKind: KeptnAppVersionList plural: keptnappversions shortNames: - - kav + - kav singular: keptnappversion scope: Namespaced versions: - - additionalPrinterColumns: - - jsonPath: .spec.appName - name: AppName - type: string - - jsonPath: .spec.version - name: Version - type: string - - jsonPath: .status.currentPhase - name: Phase - type: string - - jsonPath: .status.preDeploymentStatus - name: PreDeploymentStatus - priority: 1 - type: string - - jsonPath: .status.preDeploymentEvaluationStatus - name: PreDeploymentEvaluationStatus - priority: 1 - type: string - - jsonPath: .status.workloadOverallStatus - name: WorkloadOverallStatus - priority: 1 - type: string - - jsonPath: .status.postDeploymentStatus - name: PostDeploymentStatus - priority: 1 - type: string - - jsonPath: .status.postDeploymentEvaluationStatus - name: PostDeploymentEvaluationStatus - priority: 1 - type: string - name: v1alpha1 - schema: - openAPIV3Schema: - description: KeptnAppVersion is the Schema for the keptnappversions API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + - additionalPrinterColumns: + - jsonPath: .spec.appName + name: AppName + type: string + - jsonPath: .spec.version + name: Version + type: string + - jsonPath: .status.currentPhase + name: Phase + type: string + - jsonPath: .status.preDeploymentStatus + name: PreDeploymentStatus + priority: 1 + type: string + - jsonPath: .status.preDeploymentEvaluationStatus + name: PreDeploymentEvaluationStatus + priority: 1 + type: string + - jsonPath: .status.workloadOverallStatus + name: WorkloadOverallStatus + priority: 1 + type: string + - jsonPath: .status.postDeploymentStatus + name: PostDeploymentStatus + priority: 1 + type: string + - jsonPath: .status.postDeploymentEvaluationStatus + name: PostDeploymentEvaluationStatus + priority: 1 + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: KeptnAppVersion is the Schema for the keptnappversions API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnAppVersionSpec defines the desired state of KeptnAppVersion - properties: - appName: - type: string - postDeploymentEvaluations: - items: - type: string - type: array - postDeploymentTasks: - items: - type: string - type: array - preDeploymentEvaluations: - items: - type: string - type: array - preDeploymentTasks: - items: - type: string - type: array - previousVersion: - type: string - traceId: + type: string + metadata: + type: object + spec: + description: KeptnAppVersionSpec defines the desired state of KeptnAppVersion + properties: + appName: + type: string + postDeploymentEvaluations: + items: + type: string + type: array + postDeploymentTasks: + items: + type: string + type: array + preDeploymentEvaluations: + items: + type: string + type: array + preDeploymentTasks: + items: + type: string + type: array + previousVersion: + type: string + traceId: + additionalProperties: + type: string + type: object + version: + type: string + workloads: + items: + properties: + name: + type: string + version: + type: string + required: + - name + - version + type: object + type: array + required: + - appName + - version + type: object + status: + description: KeptnAppVersionStatus defines the observed state of KeptnAppVersion + properties: + currentPhase: + type: string + endTime: + format: date-time + type: string + phaseTraceIDs: + additionalProperties: additionalProperties: type: string + description: MapCarrier is a TextMapCarrier that uses a map held + in memory as a storage medium for propagated key-value pairs. type: object - version: - type: string - workloads: - items: - properties: - name: - type: string - version: - type: string - required: + type: object + postDeploymentEvaluationStatus: + default: Pending + type: string + postDeploymentEvaluationTaskStatus: + items: + properties: + endTime: + format: date-time + type: string + evaluationDefinitionName: + type: string + evaluationName: + type: string + startTime: + format: date-time + type: string + status: + default: Pending + type: string + type: object + type: array + postDeploymentStatus: + default: Pending + type: string + postDeploymentTaskStatus: + items: + properties: + endTime: + format: date-time + type: string + startTime: + format: date-time + type: string + status: + default: Pending + type: string + taskDefinitionName: + type: string + taskName: + type: string + type: object + type: array + preDeploymentEvaluationStatus: + default: Pending + type: string + preDeploymentEvaluationTaskStatus: + items: + properties: + endTime: + format: date-time + type: string + evaluationDefinitionName: + type: string + evaluationName: + type: string + startTime: + format: date-time + type: string + status: + default: Pending + type: string + type: object + type: array + preDeploymentStatus: + default: Pending + type: string + preDeploymentTaskStatus: + items: + properties: + endTime: + format: date-time + type: string + startTime: + format: date-time + type: string + status: + default: Pending + type: string + taskDefinitionName: + type: string + taskName: + type: string + type: object + type: array + startTime: + format: date-time + type: string + status: + default: Pending + type: string + workloadOverallStatus: + default: Pending + type: string + workloadStatus: + items: + properties: + status: + default: Pending + type: string + workload: + properties: + name: + type: string + version: + type: string + required: - name - version - type: object - type: array - required: - - appName - - version - type: object - status: - description: KeptnAppVersionStatus defines the observed state of KeptnAppVersion - properties: - currentPhase: - type: string - endTime: - format: date-time - type: string - phaseTraceIDs: - additionalProperties: - additionalProperties: - type: string - description: MapCarrier is a TextMapCarrier that uses a map held - in memory as a storage medium for propagated key-value pairs. - type: object + type: object type: object - postDeploymentEvaluationStatus: - default: Pending - type: string - postDeploymentEvaluationTaskStatus: - items: - properties: - endTime: - format: date-time - type: string - evaluationDefinitionName: - type: string - evaluationName: - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: array - postDeploymentStatus: - default: Pending - type: string - postDeploymentTaskStatus: - items: - properties: - endTime: - format: date-time - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - taskDefinitionName: - type: string - taskName: - type: string - type: object - type: array - preDeploymentEvaluationStatus: - default: Pending - type: string - preDeploymentEvaluationTaskStatus: - items: - properties: - endTime: - format: date-time - type: string - evaluationDefinitionName: - type: string - evaluationName: - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: array - preDeploymentStatus: - default: Pending - type: string - preDeploymentTaskStatus: - items: - properties: - endTime: - format: date-time - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - taskDefinitionName: - type: string - taskName: - type: string - type: object - type: array - startTime: - format: date-time - type: string - status: - default: Pending - type: string - workloadOverallStatus: - default: Pending - type: string - workloadStatus: - items: - properties: - status: - default: Pending - type: string - workload: - properties: - name: - type: string - version: - type: string - required: - - name - - version - type: object - type: object - type: array - type: object - type: object - served: true - storage: false - subresources: - status: {} - - additionalPrinterColumns: - - jsonPath: .spec.appName - name: AppName - type: string - - jsonPath: .spec.version - name: Version - type: string - - jsonPath: .status.currentPhase - name: Phase - type: string - - jsonPath: .status.preDeploymentStatus - name: PreDeploymentStatus - priority: 1 - type: string - - jsonPath: .status.preDeploymentEvaluationStatus - name: PreDeploymentEvaluationStatus - priority: 1 - type: string - - jsonPath: .status.workloadOverallStatus - name: WorkloadOverallStatus - priority: 1 - type: string - - jsonPath: .status.postDeploymentStatus - name: PostDeploymentStatus - priority: 1 - type: string - - jsonPath: .status.postDeploymentEvaluationStatus - name: PostDeploymentEvaluationStatus - priority: 1 - type: string - name: v1alpha2 - schema: - openAPIV3Schema: - description: KeptnAppVersion is the Schema for the keptnappversions API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + type: array + type: object + type: object + served: true + storage: false + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .spec.appName + name: AppName + type: string + - jsonPath: .spec.version + name: Version + type: string + - jsonPath: .status.currentPhase + name: Phase + type: string + - jsonPath: .status.preDeploymentStatus + name: PreDeploymentStatus + priority: 1 + type: string + - jsonPath: .status.preDeploymentEvaluationStatus + name: PreDeploymentEvaluationStatus + priority: 1 + type: string + - jsonPath: .status.workloadOverallStatus + name: WorkloadOverallStatus + priority: 1 + type: string + - jsonPath: .status.postDeploymentStatus + name: PostDeploymentStatus + priority: 1 + type: string + - jsonPath: .status.postDeploymentEvaluationStatus + name: PostDeploymentEvaluationStatus + priority: 1 + type: string + name: v1alpha2 + schema: + openAPIV3Schema: + description: KeptnAppVersion is the Schema for the keptnappversions API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnAppVersionSpec defines the desired state of KeptnAppVersion - properties: - appName: - type: string - postDeploymentEvaluations: - items: - type: string - type: array - postDeploymentTasks: - items: - type: string - type: array - preDeploymentEvaluations: - items: - type: string - type: array - preDeploymentTasks: - items: - type: string - type: array - previousVersion: - type: string - revision: - default: 1 - type: integer - traceId: + type: string + metadata: + type: object + spec: + description: KeptnAppVersionSpec defines the desired state of KeptnAppVersion + properties: + appName: + type: string + postDeploymentEvaluations: + items: + type: string + type: array + postDeploymentTasks: + items: + type: string + type: array + preDeploymentEvaluations: + items: + type: string + type: array + preDeploymentTasks: + items: + type: string + type: array + previousVersion: + type: string + revision: + default: 1 + type: integer + traceId: + additionalProperties: + type: string + type: object + version: + type: string + workloads: + items: + properties: + name: + type: string + version: + type: string + required: + - name + - version + type: object + type: array + required: + - appName + - version + type: object + status: + description: KeptnAppVersionStatus defines the observed state of KeptnAppVersion + properties: + currentPhase: + type: string + endTime: + format: date-time + type: string + phaseTraceIDs: + additionalProperties: additionalProperties: type: string + description: MapCarrier is a TextMapCarrier that uses a map held + in memory as a storage medium for propagated key-value pairs. type: object - version: - type: string - workloads: - items: - properties: - name: - type: string - version: - type: string - required: + type: object + postDeploymentEvaluationStatus: + default: Pending + type: string + postDeploymentEvaluationTaskStatus: + items: + properties: + definitionName: + description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton + type: string + endTime: + format: date-time + type: string + name: + description: Name is the name of the Evaluation/Task + type: string + startTime: + format: date-time + type: string + status: + default: Pending + type: string + type: object + type: array + postDeploymentStatus: + default: Pending + type: string + postDeploymentTaskStatus: + items: + properties: + definitionName: + description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton + type: string + endTime: + format: date-time + type: string + name: + description: Name is the name of the Evaluation/Task + type: string + startTime: + format: date-time + type: string + status: + default: Pending + type: string + type: object + type: array + preDeploymentEvaluationStatus: + default: Pending + type: string + preDeploymentEvaluationTaskStatus: + items: + properties: + definitionName: + description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton + type: string + endTime: + format: date-time + type: string + name: + description: Name is the name of the Evaluation/Task + type: string + startTime: + format: date-time + type: string + status: + default: Pending + type: string + type: object + type: array + preDeploymentStatus: + default: Pending + type: string + preDeploymentTaskStatus: + items: + properties: + definitionName: + description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton + type: string + endTime: + format: date-time + type: string + name: + description: Name is the name of the Evaluation/Task + type: string + startTime: + format: date-time + type: string + status: + default: Pending + type: string + type: object + type: array + startTime: + format: date-time + type: string + status: + default: Pending + type: string + workloadOverallStatus: + default: Pending + type: string + workloadStatus: + items: + properties: + status: + default: Pending + type: string + workload: + properties: + name: + type: string + version: + type: string + required: - name - version - type: object - type: array - required: - - appName - - version - type: object - status: - description: KeptnAppVersionStatus defines the observed state of KeptnAppVersion - properties: - currentPhase: - type: string - endTime: - format: date-time - type: string - phaseTraceIDs: - additionalProperties: - additionalProperties: - type: string - description: MapCarrier is a TextMapCarrier that uses a map held - in memory as a storage medium for propagated key-value pairs. - type: object + type: object type: object - postDeploymentEvaluationStatus: - default: Pending - type: string - postDeploymentEvaluationTaskStatus: - items: - properties: - definitionName: - description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton - type: string - endTime: - format: date-time - type: string - name: - description: Name is the name of the Evaluation/Task - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: array - postDeploymentStatus: - default: Pending - type: string - postDeploymentTaskStatus: - items: - properties: - definitionName: - description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton - type: string - endTime: - format: date-time - type: string - name: - description: Name is the name of the Evaluation/Task - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: array - preDeploymentEvaluationStatus: - default: Pending - type: string - preDeploymentEvaluationTaskStatus: - items: - properties: - definitionName: - description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton - type: string - endTime: - format: date-time - type: string - name: - description: Name is the name of the Evaluation/Task - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: array - preDeploymentStatus: - default: Pending - type: string - preDeploymentTaskStatus: - items: - properties: - definitionName: - description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton - type: string - endTime: - format: date-time - type: string - name: - description: Name is the name of the Evaluation/Task - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: array - startTime: - format: date-time - type: string - status: - default: Pending - type: string - workloadOverallStatus: - default: Pending - type: string - workloadStatus: - items: - properties: - status: - default: Pending - type: string - workload: - properties: - name: - type: string - version: - type: string - required: - - name - - version - type: object - type: object - type: array - type: object - type: object - served: true - storage: false - subresources: - status: {} - - additionalPrinterColumns: - - jsonPath: .spec.appName - name: AppName - type: string - - jsonPath: .spec.version - name: Version - type: string - - jsonPath: .status.currentPhase - name: Phase - type: string - - jsonPath: .status.preDeploymentStatus - name: PreDeploymentStatus - priority: 1 - type: string - - jsonPath: .status.preDeploymentEvaluationStatus - name: PreDeploymentEvaluationStatus - priority: 1 - type: string - - jsonPath: .status.workloadOverallStatus - name: WorkloadOverallStatus - priority: 1 - type: string - - jsonPath: .status.postDeploymentStatus - name: PostDeploymentStatus - priority: 1 - type: string - - jsonPath: .status.postDeploymentEvaluationStatus - name: PostDeploymentEvaluationStatus - priority: 1 - type: string - name: v1alpha3 - schema: - openAPIV3Schema: - description: KeptnAppVersion is the Schema for the keptnappversions API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + type: array + type: object + type: object + served: true + storage: false + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .spec.appName + name: AppName + type: string + - jsonPath: .spec.version + name: Version + type: string + - jsonPath: .status.currentPhase + name: Phase + type: string + - jsonPath: .status.preDeploymentStatus + name: PreDeploymentStatus + priority: 1 + type: string + - jsonPath: .status.preDeploymentEvaluationStatus + name: PreDeploymentEvaluationStatus + priority: 1 + type: string + - jsonPath: .status.workloadOverallStatus + name: WorkloadOverallStatus + priority: 1 + type: string + - jsonPath: .status.postDeploymentStatus + name: PostDeploymentStatus + priority: 1 + type: string + - jsonPath: .status.postDeploymentEvaluationStatus + name: PostDeploymentEvaluationStatus + priority: 1 + type: string + name: v1alpha3 + schema: + openAPIV3Schema: + description: KeptnAppVersion is the Schema for the keptnappversions API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnAppVersionSpec defines the desired state of KeptnAppVersion - properties: - appName: - type: string - postDeploymentEvaluations: - items: - type: string - type: array - postDeploymentTasks: - items: - type: string - type: array - preDeploymentEvaluations: - items: - type: string - type: array - preDeploymentTasks: - items: - type: string - type: array - previousVersion: - type: string - revision: - default: 1 - type: integer - traceId: + type: string + metadata: + type: object + spec: + description: KeptnAppVersionSpec defines the desired state of KeptnAppVersion + properties: + appName: + type: string + postDeploymentEvaluations: + items: + type: string + type: array + postDeploymentTasks: + items: + type: string + type: array + preDeploymentEvaluations: + items: + type: string + type: array + preDeploymentTasks: + items: + type: string + type: array + previousVersion: + type: string + revision: + default: 1 + type: integer + traceId: + additionalProperties: + type: string + type: object + version: + type: string + workloads: + items: + properties: + name: + type: string + version: + type: string + required: + - name + - version + type: object + type: array + required: + - appName + - version + type: object + status: + description: KeptnAppVersionStatus defines the observed state of KeptnAppVersion + properties: + currentPhase: + type: string + endTime: + format: date-time + type: string + phaseTraceIDs: + additionalProperties: additionalProperties: type: string + description: MapCarrier is a TextMapCarrier that uses a map held + in memory as a storage medium for propagated key-value pairs. type: object - version: - type: string - workloads: - items: - properties: - name: - type: string - version: - type: string - required: + type: object + postDeploymentEvaluationStatus: + default: Pending + type: string + postDeploymentEvaluationTaskStatus: + items: + properties: + definitionName: + description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton + type: string + endTime: + format: date-time + type: string + name: + description: Name is the name of the Evaluation/Task + type: string + startTime: + format: date-time + type: string + status: + default: Pending + type: string + type: object + type: array + postDeploymentStatus: + default: Pending + type: string + postDeploymentTaskStatus: + items: + properties: + definitionName: + description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton + type: string + endTime: + format: date-time + type: string + name: + description: Name is the name of the Evaluation/Task + type: string + startTime: + format: date-time + type: string + status: + default: Pending + type: string + type: object + type: array + preDeploymentEvaluationStatus: + default: Pending + type: string + preDeploymentEvaluationTaskStatus: + items: + properties: + definitionName: + description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton + type: string + endTime: + format: date-time + type: string + name: + description: Name is the name of the Evaluation/Task + type: string + startTime: + format: date-time + type: string + status: + default: Pending + type: string + type: object + type: array + preDeploymentStatus: + default: Pending + type: string + preDeploymentTaskStatus: + items: + properties: + definitionName: + description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton + type: string + endTime: + format: date-time + type: string + name: + description: Name is the name of the Evaluation/Task + type: string + startTime: + format: date-time + type: string + status: + default: Pending + type: string + type: object + type: array + startTime: + format: date-time + type: string + status: + default: Pending + type: string + workloadOverallStatus: + default: Pending + type: string + workloadStatus: + items: + properties: + status: + default: Pending + type: string + workload: + properties: + name: + type: string + version: + type: string + required: - name - version - type: object - type: array - required: - - appName - - version - type: object - status: - description: KeptnAppVersionStatus defines the observed state of KeptnAppVersion - properties: - currentPhase: - type: string - endTime: - format: date-time - type: string - phaseTraceIDs: - additionalProperties: - additionalProperties: - type: string - description: MapCarrier is a TextMapCarrier that uses a map held - in memory as a storage medium for propagated key-value pairs. - type: object + type: object type: object - postDeploymentEvaluationStatus: - default: Pending - type: string - postDeploymentEvaluationTaskStatus: - items: - properties: - definitionName: - description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton - type: string - endTime: - format: date-time - type: string - name: - description: Name is the name of the Evaluation/Task - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: array - postDeploymentStatus: - default: Pending - type: string - postDeploymentTaskStatus: - items: - properties: - definitionName: - description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton - type: string - endTime: - format: date-time - type: string - name: - description: Name is the name of the Evaluation/Task - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: array - preDeploymentEvaluationStatus: - default: Pending - type: string - preDeploymentEvaluationTaskStatus: - items: - properties: - definitionName: - description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton - type: string - endTime: - format: date-time - type: string - name: - description: Name is the name of the Evaluation/Task - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: array - preDeploymentStatus: - default: Pending - type: string - preDeploymentTaskStatus: - items: - properties: - definitionName: - description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton - type: string - endTime: - format: date-time - type: string - name: - description: Name is the name of the Evaluation/Task - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: array - startTime: - format: date-time - type: string - status: - default: Pending - type: string - workloadOverallStatus: - default: Pending - type: string - workloadStatus: - items: - properties: - status: - default: Pending - type: string - workload: - properties: - name: - type: string - version: - type: string - required: - - name - - version - type: object - type: object - type: array - type: object - type: object - served: true - storage: true - subresources: - status: {} + type: array + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/operator/config/crd/bases/lifecycle.keptn.sh_keptnevaluationdefinitions.yaml b/operator/config/crd/bases/lifecycle.keptn.sh_keptnevaluationdefinitions.yaml index 00d364799b..9cf73eae80 100644 --- a/operator/config/crd/bases/lifecycle.keptn.sh_keptnevaluationdefinitions.yaml +++ b/operator/config/crd/bases/lifecycle.keptn.sh_keptnevaluationdefinitions.yaml @@ -13,164 +13,164 @@ spec: listKind: KeptnEvaluationDefinitionList plural: keptnevaluationdefinitions shortNames: - - ked + - ked singular: keptnevaluationdefinition scope: Namespaced versions: - - name: v1alpha1 - schema: - openAPIV3Schema: - description: KeptnEvaluationDefinition is the Schema for the keptnevaluationdefinitions - API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + - name: v1alpha1 + schema: + openAPIV3Schema: + description: KeptnEvaluationDefinition is the Schema for the keptnevaluationdefinitions + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnEvaluationDefinitionSpec defines the desired state of - KeptnEvaluationDefinition - properties: - objectives: - items: - properties: - evaluationTarget: - type: string - name: - type: string - query: - type: string - required: - - evaluationTarget - - name - - query - type: object - type: array - source: - type: string - required: - - objectives - - source - type: object - status: - description: KeptnEvaluationDefinitionStatus defines the observed state - of KeptnEvaluationDefinition - type: object - type: object - served: true - storage: false - subresources: - status: {} - - name: v1alpha2 - schema: - openAPIV3Schema: - description: KeptnEvaluationDefinition is the Schema for the keptnevaluationdefinitions - API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + type: string + metadata: + type: object + spec: + description: KeptnEvaluationDefinitionSpec defines the desired state of + KeptnEvaluationDefinition + properties: + objectives: + items: + properties: + evaluationTarget: + type: string + name: + type: string + query: + type: string + required: + - evaluationTarget + - name + - query + type: object + type: array + source: + type: string + required: + - objectives + - source + type: object + status: + description: KeptnEvaluationDefinitionStatus defines the observed state + of KeptnEvaluationDefinition + type: object + type: object + served: true + storage: false + subresources: + status: {} + - name: v1alpha2 + schema: + openAPIV3Schema: + description: KeptnEvaluationDefinition is the Schema for the keptnevaluationdefinitions + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnEvaluationDefinitionSpec defines the desired state of - KeptnEvaluationDefinition - properties: - objectives: - items: - properties: - evaluationTarget: - type: string - name: - type: string - query: - type: string - required: - - evaluationTarget - - name - - query - type: object - type: array - source: - type: string - required: - - objectives - - source - type: object - status: - description: KeptnEvaluationDefinitionStatus defines the observed state - of KeptnEvaluationDefinition - type: object - type: object - served: true - storage: false - subresources: - status: {} - - name: v1alpha3 - schema: - openAPIV3Schema: - description: KeptnEvaluationDefinition is the Schema for the keptnevaluationdefinitions - API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + type: string + metadata: + type: object + spec: + description: KeptnEvaluationDefinitionSpec defines the desired state of + KeptnEvaluationDefinition + properties: + objectives: + items: + properties: + evaluationTarget: + type: string + name: + type: string + query: + type: string + required: + - evaluationTarget + - name + - query + type: object + type: array + source: + type: string + required: + - objectives + - source + type: object + status: + description: KeptnEvaluationDefinitionStatus defines the observed state + of KeptnEvaluationDefinition + type: object + type: object + served: true + storage: false + subresources: + status: {} + - name: v1alpha3 + schema: + openAPIV3Schema: + description: KeptnEvaluationDefinition is the Schema for the keptnevaluationdefinitions + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnEvaluationDefinitionSpec defines the desired state of - KeptnEvaluationDefinition - properties: - objectives: - items: - properties: - evaluationTarget: - type: string - keptnMetricRef: - properties: - name: - type: string - namespace: - type: string - required: - - name - type: object - required: - - evaluationTarget - - keptnMetricRef - type: object - type: array - required: - - objectives - type: object - status: - description: KeptnEvaluationDefinitionStatus defines the observed state - of KeptnEvaluationDefinition - type: object - type: object - served: true - storage: true - subresources: - status: {} + type: string + metadata: + type: object + spec: + description: KeptnEvaluationDefinitionSpec defines the desired state of + KeptnEvaluationDefinition + properties: + objectives: + items: + properties: + evaluationTarget: + type: string + keptnMetricRef: + properties: + name: + type: string + namespace: + type: string + required: + - name + type: object + required: + - evaluationTarget + - keptnMetricRef + type: object + type: array + required: + - objectives + type: object + status: + description: KeptnEvaluationDefinitionStatus defines the observed state + of KeptnEvaluationDefinition + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/operator/config/crd/bases/lifecycle.keptn.sh_keptnevaluationproviders.yaml b/operator/config/crd/bases/lifecycle.keptn.sh_keptnevaluationproviders.yaml index 2dcc8a2768..d00bb5a76b 100644 --- a/operator/config/crd/bases/lifecycle.keptn.sh_keptnevaluationproviders.yaml +++ b/operator/config/crd/bases/lifecycle.keptn.sh_keptnevaluationproviders.yaml @@ -13,153 +13,153 @@ spec: listKind: KeptnEvaluationProviderList plural: keptnevaluationproviders shortNames: - - kep + - kep singular: keptnevaluationprovider scope: Namespaced versions: - - name: v1alpha1 - schema: - openAPIV3Schema: - description: KeptnEvaluationProvider is the Schema for the keptnevaluationproviders - API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + - name: v1alpha1 + schema: + openAPIV3Schema: + description: KeptnEvaluationProvider is the Schema for the keptnevaluationproviders + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnEvaluationProviderSpec defines the desired state of - KeptnEvaluationProvider - properties: - secretName: - type: string - targetServer: - type: string - required: - - targetServer - type: object - status: - description: KeptnEvaluationProviderStatus defines the observed state - of KeptnEvaluationProvider - type: object - type: object - served: true - storage: false - subresources: - status: {} - - name: v1alpha2 - schema: - openAPIV3Schema: - description: KeptnEvaluationProvider is the Schema for the keptnevaluationproviders - API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + type: string + metadata: + type: object + spec: + description: KeptnEvaluationProviderSpec defines the desired state of + KeptnEvaluationProvider + properties: + secretName: + type: string + targetServer: + type: string + required: + - targetServer + type: object + status: + description: KeptnEvaluationProviderStatus defines the observed state + of KeptnEvaluationProvider + type: object + type: object + served: true + storage: false + subresources: + status: {} + - name: v1alpha2 + schema: + openAPIV3Schema: + description: KeptnEvaluationProvider is the Schema for the keptnevaluationproviders + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnEvaluationProviderSpec defines the desired state of - KeptnEvaluationProvider - properties: - secretKeyRef: - description: SecretKeySelector selects a key of a Secret. - properties: - key: - description: The key of the secret to select from. Must be a - valid secret key. - type: string - name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + metadata: + type: object + spec: + description: KeptnEvaluationProviderSpec defines the desired state of + KeptnEvaluationProvider + properties: + secretKeyRef: + description: SecretKeySelector selects a key of a Secret. + properties: + key: + description: The key of the secret to select from. Must be a + valid secret key. + type: string + name: + description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?' - type: string - optional: - description: Specify whether the Secret or its key must be defined - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - targetServer: - type: string - required: - - targetServer - type: object - status: - description: KeptnEvaluationProviderStatus defines the observed state - of KeptnEvaluationProvider - type: object - type: object - served: true - storage: false - subresources: - status: {} - - name: v1alpha3 - schema: - openAPIV3Schema: - description: KeptnEvaluationProvider is the Schema for the keptnevaluationproviders - API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + type: string + optional: + description: Specify whether the Secret or its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + targetServer: + type: string + required: + - targetServer + type: object + status: + description: KeptnEvaluationProviderStatus defines the observed state + of KeptnEvaluationProvider + type: object + type: object + served: true + storage: false + subresources: + status: {} + - name: v1alpha3 + schema: + openAPIV3Schema: + description: KeptnEvaluationProvider is the Schema for the keptnevaluationproviders + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnEvaluationProviderSpec defines the desired state of - KeptnEvaluationProvider - properties: - secretKeyRef: - description: SecretKeySelector selects a key of a Secret. - properties: - key: - description: The key of the secret to select from. Must be a - valid secret key. - type: string - name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + metadata: + type: object + spec: + description: KeptnEvaluationProviderSpec defines the desired state of + KeptnEvaluationProvider + properties: + secretKeyRef: + description: SecretKeySelector selects a key of a Secret. + properties: + key: + description: The key of the secret to select from. Must be a + valid secret key. + type: string + name: + description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?' - type: string - optional: - description: Specify whether the Secret or its key must be defined - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - targetServer: - type: string - required: - - targetServer - type: object - status: - description: KeptnEvaluationProviderStatus defines the observed state - of KeptnEvaluationProvider - type: object - type: object - served: true - storage: true - subresources: - status: {} + type: string + optional: + description: Specify whether the Secret or its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + targetServer: + type: string + required: + - targetServer + type: object + status: + description: KeptnEvaluationProviderStatus defines the observed state + of KeptnEvaluationProvider + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/operator/config/crd/bases/lifecycle.keptn.sh_keptnevaluations.yaml b/operator/config/crd/bases/lifecycle.keptn.sh_keptnevaluations.yaml index 011f12ff3c..c88fb40d48 100644 --- a/operator/config/crd/bases/lifecycle.keptn.sh_keptnevaluations.yaml +++ b/operator/config/crd/bases/lifecycle.keptn.sh_keptnevaluations.yaml @@ -13,325 +13,325 @@ spec: listKind: KeptnEvaluationList plural: keptnevaluations shortNames: - - ke + - ke singular: keptnevaluation scope: Namespaced versions: - - additionalPrinterColumns: - - jsonPath: .spec.appName - name: AppName - type: string - - jsonPath: .spec.appVersion - name: AppVersion - type: string - - jsonPath: .spec.workload - name: WorkloadName - type: string - - jsonPath: .spec.workloadVersion - name: WorkloadVersion - type: string - - jsonPath: .status.retryCount - name: RetryCount - type: string - - jsonPath: .status.evaluationStatus - name: EvaluationStatus - type: string - - jsonPath: .status.overallStatus - name: OverallStatus - type: string - name: v1alpha1 - schema: - openAPIV3Schema: - description: KeptnEvaluation is the Schema for the keptnevaluations API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + - additionalPrinterColumns: + - jsonPath: .spec.appName + name: AppName + type: string + - jsonPath: .spec.appVersion + name: AppVersion + type: string + - jsonPath: .spec.workload + name: WorkloadName + type: string + - jsonPath: .spec.workloadVersion + name: WorkloadVersion + type: string + - jsonPath: .status.retryCount + name: RetryCount + type: string + - jsonPath: .status.evaluationStatus + name: EvaluationStatus + type: string + - jsonPath: .status.overallStatus + name: OverallStatus + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: KeptnEvaluation is the Schema for the keptnevaluations API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnEvaluationSpec defines the desired state of KeptnEvaluation - properties: - appName: - type: string - appVersion: - type: string - checkType: - type: string - evaluationDefinition: - type: string - failAction: - type: string - retries: - default: 10 - type: integer - retryInterval: - default: 5s - pattern: ^0|([0-9]+(\.[0-9]+)?(ns|us|µs|ms|s|m|h))+$ - type: string - workload: - type: string - workloadVersion: - type: string - required: - - evaluationDefinition - - workloadVersion - type: object - status: - description: KeptnEvaluationStatus defines the observed state of KeptnEvaluation - properties: - endTime: - format: date-time - type: string - evaluationStatus: - additionalProperties: - properties: - message: - type: string - status: - type: string - value: - type: string - required: - - status - - value - type: object + type: string + metadata: + type: object + spec: + description: KeptnEvaluationSpec defines the desired state of KeptnEvaluation + properties: + appName: + type: string + appVersion: + type: string + checkType: + type: string + evaluationDefinition: + type: string + failAction: + type: string + retries: + default: 10 + type: integer + retryInterval: + default: 5s + pattern: ^0|([0-9]+(\.[0-9]+)?(ns|us|µs|ms|s|m|h))+$ + type: string + workload: + type: string + workloadVersion: + type: string + required: + - evaluationDefinition + - workloadVersion + type: object + status: + description: KeptnEvaluationStatus defines the observed state of KeptnEvaluation + properties: + endTime: + format: date-time + type: string + evaluationStatus: + additionalProperties: + properties: + message: + type: string + status: + type: string + value: + type: string + required: + - status + - value type: object - overallStatus: - default: Pending - type: string - retryCount: - default: 0 - type: integer - startTime: - format: date-time - type: string - required: - - evaluationStatus - - overallStatus - - retryCount - type: object - type: object - served: true - storage: false - subresources: - status: {} - - additionalPrinterColumns: - - jsonPath: .spec.appName - name: AppName - type: string - - jsonPath: .spec.appVersion - name: AppVersion - type: string - - jsonPath: .spec.workload - name: WorkloadName - type: string - - jsonPath: .spec.workloadVersion - name: WorkloadVersion - type: string - - jsonPath: .status.retryCount - name: RetryCount - type: string - - jsonPath: .status.evaluationStatus - name: EvaluationStatus - type: string - - jsonPath: .status.overallStatus - name: OverallStatus - type: string - name: v1alpha2 - schema: - openAPIV3Schema: - description: KeptnEvaluation is the Schema for the keptnevaluations API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + type: object + overallStatus: + default: Pending + type: string + retryCount: + default: 0 + type: integer + startTime: + format: date-time + type: string + required: + - evaluationStatus + - overallStatus + - retryCount + type: object + type: object + served: true + storage: false + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .spec.appName + name: AppName + type: string + - jsonPath: .spec.appVersion + name: AppVersion + type: string + - jsonPath: .spec.workload + name: WorkloadName + type: string + - jsonPath: .spec.workloadVersion + name: WorkloadVersion + type: string + - jsonPath: .status.retryCount + name: RetryCount + type: string + - jsonPath: .status.evaluationStatus + name: EvaluationStatus + type: string + - jsonPath: .status.overallStatus + name: OverallStatus + type: string + name: v1alpha2 + schema: + openAPIV3Schema: + description: KeptnEvaluation is the Schema for the keptnevaluations API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnEvaluationSpec defines the desired state of KeptnEvaluation - properties: - appName: - type: string - appVersion: - type: string - checkType: - type: string - evaluationDefinition: - type: string - failAction: - type: string - retries: - default: 10 - type: integer - retryInterval: - default: 5s - pattern: ^0|([0-9]+(\.[0-9]+)?(ns|us|µs|ms|s|m|h))+$ - type: string - workload: - type: string - workloadVersion: - type: string - required: - - evaluationDefinition - - workloadVersion - type: object - status: - description: KeptnEvaluationStatus defines the observed state of KeptnEvaluation - properties: - endTime: - format: date-time - type: string - evaluationStatus: - additionalProperties: - properties: - message: - type: string - status: - type: string - value: - type: string - required: - - status - - value - type: object + type: string + metadata: + type: object + spec: + description: KeptnEvaluationSpec defines the desired state of KeptnEvaluation + properties: + appName: + type: string + appVersion: + type: string + checkType: + type: string + evaluationDefinition: + type: string + failAction: + type: string + retries: + default: 10 + type: integer + retryInterval: + default: 5s + pattern: ^0|([0-9]+(\.[0-9]+)?(ns|us|µs|ms|s|m|h))+$ + type: string + workload: + type: string + workloadVersion: + type: string + required: + - evaluationDefinition + - workloadVersion + type: object + status: + description: KeptnEvaluationStatus defines the observed state of KeptnEvaluation + properties: + endTime: + format: date-time + type: string + evaluationStatus: + additionalProperties: + properties: + message: + type: string + status: + type: string + value: + type: string + required: + - status + - value type: object - overallStatus: - default: Pending - type: string - retryCount: - default: 0 - type: integer - startTime: - format: date-time - type: string - required: - - evaluationStatus - - overallStatus - - retryCount - type: object - type: object - served: true - storage: false - subresources: - status: {} - - additionalPrinterColumns: - - jsonPath: .spec.appName - name: AppName - type: string - - jsonPath: .spec.appVersion - name: AppVersion - type: string - - jsonPath: .spec.workload - name: WorkloadName - type: string - - jsonPath: .spec.workloadVersion - name: WorkloadVersion - type: string - - jsonPath: .status.retryCount - name: RetryCount - type: string - - jsonPath: .status.evaluationStatus - name: EvaluationStatus - type: string - - jsonPath: .status.overallStatus - name: OverallStatus - type: string - name: v1alpha3 - schema: - openAPIV3Schema: - description: KeptnEvaluation is the Schema for the keptnevaluations API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + type: object + overallStatus: + default: Pending + type: string + retryCount: + default: 0 + type: integer + startTime: + format: date-time + type: string + required: + - evaluationStatus + - overallStatus + - retryCount + type: object + type: object + served: true + storage: false + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .spec.appName + name: AppName + type: string + - jsonPath: .spec.appVersion + name: AppVersion + type: string + - jsonPath: .spec.workload + name: WorkloadName + type: string + - jsonPath: .spec.workloadVersion + name: WorkloadVersion + type: string + - jsonPath: .status.retryCount + name: RetryCount + type: string + - jsonPath: .status.evaluationStatus + name: EvaluationStatus + type: string + - jsonPath: .status.overallStatus + name: OverallStatus + type: string + name: v1alpha3 + schema: + openAPIV3Schema: + description: KeptnEvaluation is the Schema for the keptnevaluations API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnEvaluationSpec defines the desired state of KeptnEvaluation - properties: - appName: - type: string - appVersion: - type: string - checkType: - type: string - evaluationDefinition: - type: string - failAction: - type: string - retries: - default: 10 - type: integer - retryInterval: - default: 5s - pattern: ^0|([0-9]+(\.[0-9]+)?(ns|us|µs|ms|s|m|h))+$ - type: string - workload: - type: string - workloadVersion: - type: string - required: - - evaluationDefinition - - workloadVersion - type: object - status: - description: KeptnEvaluationStatus defines the observed state of KeptnEvaluation - properties: - endTime: - format: date-time - type: string - evaluationStatus: - additionalProperties: - properties: - message: - type: string - status: - type: string - value: - type: string - required: - - status - - value - type: object + type: string + metadata: + type: object + spec: + description: KeptnEvaluationSpec defines the desired state of KeptnEvaluation + properties: + appName: + type: string + appVersion: + type: string + checkType: + type: string + evaluationDefinition: + type: string + failAction: + type: string + retries: + default: 10 + type: integer + retryInterval: + default: 5s + pattern: ^0|([0-9]+(\.[0-9]+)?(ns|us|µs|ms|s|m|h))+$ + type: string + workload: + type: string + workloadVersion: + type: string + required: + - evaluationDefinition + - workloadVersion + type: object + status: + description: KeptnEvaluationStatus defines the observed state of KeptnEvaluation + properties: + endTime: + format: date-time + type: string + evaluationStatus: + additionalProperties: + properties: + message: + type: string + status: + type: string + value: + type: string + required: + - status + - value type: object - overallStatus: - default: Pending - type: string - retryCount: - default: 0 - type: integer - startTime: - format: date-time - type: string - required: - - evaluationStatus - - overallStatus - - retryCount - type: object - type: object - served: true - storage: true - subresources: - status: {} + type: object + overallStatus: + default: Pending + type: string + retryCount: + default: 0 + type: integer + startTime: + format: date-time + type: string + required: + - evaluationStatus + - overallStatus + - retryCount + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/operator/config/crd/bases/lifecycle.keptn.sh_keptntaskdefinitions.yaml b/operator/config/crd/bases/lifecycle.keptn.sh_keptntaskdefinitions.yaml index a37803b7a3..110efc7572 100644 --- a/operator/config/crd/bases/lifecycle.keptn.sh_keptntaskdefinitions.yaml +++ b/operator/config/crd/bases/lifecycle.keptn.sh_keptntaskdefinitions.yaml @@ -15,242 +15,242 @@ spec: singular: keptntaskdefinition scope: Namespaced versions: - - name: v1alpha1 - schema: - openAPIV3Schema: - description: KeptnTaskDefinition is the Schema for the keptntaskdefinitions - API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + - name: v1alpha1 + schema: + openAPIV3Schema: + description: KeptnTaskDefinition is the Schema for the keptntaskdefinitions + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnTaskDefinitionSpec defines the desired state of KeptnTaskDefinition - properties: - function: - properties: - configMapRef: - properties: - name: + type: string + metadata: + type: object + spec: + description: KeptnTaskDefinitionSpec defines the desired state of KeptnTaskDefinition + properties: + function: + properties: + configMapRef: + properties: + name: + type: string + type: object + functionRef: + properties: + name: + type: string + type: object + httpRef: + properties: + url: + type: string + type: object + inline: + properties: + code: + type: string + type: object + parameters: + properties: + map: + additionalProperties: type: string - type: object - functionRef: - properties: - name: - type: string - type: object - httpRef: - properties: - url: - type: string - type: object - inline: - properties: - code: - type: string - type: object - parameters: - properties: - map: - additionalProperties: - type: string - type: object - type: object - secureParameters: - properties: - secret: - type: string - type: object - type: object - type: object - status: - description: KeptnTaskDefinitionStatus defines the observed state of KeptnTaskDefinition - properties: - function: - description: 'INSERT ADDITIONAL STATUS FIELD - define observed state + type: object + type: object + secureParameters: + properties: + secret: + type: string + type: object + type: object + type: object + status: + description: KeptnTaskDefinitionStatus defines the observed state of KeptnTaskDefinition + properties: + function: + description: 'INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file' - properties: - configMap: - description: 'INSERT ADDITIONAL STATUS FIELD - define observed + properties: + configMap: + description: 'INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file' - type: string - type: object - type: object - type: object - served: true - storage: false - subresources: - status: {} - - name: v1alpha2 - schema: - openAPIV3Schema: - description: KeptnTaskDefinition is the Schema for the keptntaskdefinitions - API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + type: string + type: object + type: object + type: object + served: true + storage: false + subresources: + status: {} + - name: v1alpha2 + schema: + openAPIV3Schema: + description: KeptnTaskDefinition is the Schema for the keptntaskdefinitions + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnTaskDefinitionSpec defines the desired state of KeptnTaskDefinition - properties: - function: - properties: - configMapRef: - properties: - name: - type: string - type: object - functionRef: - properties: - name: - type: string - type: object - httpRef: - properties: - url: + type: string + metadata: + type: object + spec: + description: KeptnTaskDefinitionSpec defines the desired state of KeptnTaskDefinition + properties: + function: + properties: + configMapRef: + properties: + name: + type: string + type: object + functionRef: + properties: + name: + type: string + type: object + httpRef: + properties: + url: + type: string + type: object + inline: + properties: + code: + type: string + type: object + parameters: + properties: + map: + additionalProperties: type: string - type: object - inline: - properties: - code: - type: string - type: object - parameters: - properties: - map: - additionalProperties: - type: string - type: object - type: object - secureParameters: - properties: - secret: - type: string - type: object - type: object - type: object - status: - description: KeptnTaskDefinitionStatus defines the observed state of KeptnTaskDefinition - properties: - function: - description: 'INSERT ADDITIONAL STATUS FIELD - define observed state + type: object + type: object + secureParameters: + properties: + secret: + type: string + type: object + type: object + type: object + status: + description: KeptnTaskDefinitionStatus defines the observed state of KeptnTaskDefinition + properties: + function: + description: 'INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file' - properties: - configMap: - description: 'INSERT ADDITIONAL STATUS FIELD - define observed + properties: + configMap: + description: 'INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file' - type: string - type: object - type: object - type: object - served: true - storage: false - subresources: - status: {} - - name: v1alpha3 - schema: - openAPIV3Schema: - description: KeptnTaskDefinition is the Schema for the keptntaskdefinitions - API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + type: string + type: object + type: object + type: object + served: true + storage: false + subresources: + status: {} + - name: v1alpha3 + schema: + openAPIV3Schema: + description: KeptnTaskDefinition is the Schema for the keptntaskdefinitions + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnTaskDefinitionSpec defines the desired state of KeptnTaskDefinition - properties: - function: - properties: - configMapRef: - properties: - name: - type: string - type: object - functionRef: - properties: - name: - type: string - type: object - httpRef: - properties: - url: - type: string - type: object - inline: - properties: - code: - type: string - type: object - parameters: - properties: - map: - additionalProperties: - type: string - type: object - type: object - secureParameters: - properties: - secret: + type: string + metadata: + type: object + spec: + description: KeptnTaskDefinitionSpec defines the desired state of KeptnTaskDefinition + properties: + function: + properties: + configMapRef: + properties: + name: + type: string + type: object + functionRef: + properties: + name: + type: string + type: object + httpRef: + properties: + url: + type: string + type: object + inline: + properties: + code: + type: string + type: object + parameters: + properties: + map: + additionalProperties: type: string - type: object - type: object - retries: - default: 10 - format: int32 - type: integer - timeout: - default: 5m - pattern: ^0|([0-9]+(\.[0-9]+)?(ns|us|µs|ms|s|m|h))+$ - type: string - type: object - status: - description: KeptnTaskDefinitionStatus defines the observed state of KeptnTaskDefinition - properties: - function: - description: 'INSERT ADDITIONAL STATUS FIELD - define observed state + type: object + type: object + secureParameters: + properties: + secret: + type: string + type: object + type: object + retries: + default: 10 + format: int32 + type: integer + timeout: + default: 5m + pattern: ^0|([0-9]+(\.[0-9]+)?(ns|us|µs|ms|s|m|h))+$ + type: string + type: object + status: + description: KeptnTaskDefinitionStatus defines the observed state of KeptnTaskDefinition + properties: + function: + description: 'INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file' - properties: - configMap: - description: 'INSERT ADDITIONAL STATUS FIELD - define observed + properties: + configMap: + description: 'INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file' - type: string - type: object - type: object - type: object - served: true - storage: true - subresources: - status: {} + type: string + type: object + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/operator/config/crd/bases/lifecycle.keptn.sh_keptntasks.yaml b/operator/config/crd/bases/lifecycle.keptn.sh_keptntasks.yaml index 87146e485a..a3cc0a3b00 100644 --- a/operator/config/crd/bases/lifecycle.keptn.sh_keptntasks.yaml +++ b/operator/config/crd/bases/lifecycle.keptn.sh_keptntasks.yaml @@ -15,358 +15,358 @@ spec: singular: keptntask scope: Namespaced versions: - - additionalPrinterColumns: - - jsonPath: .spec.app - name: AppName - type: string - - jsonPath: .spec.appVersion - name: AppVersion - type: string - - jsonPath: .spec.workload - name: WorkloadName - type: string - - jsonPath: .spec.workloadVersion - name: WorkloadVersion - type: string - - jsonPath: .status.jobName - name: Job Name - type: string - - jsonPath: .status.status - name: Status - type: string - name: v1alpha1 - schema: - openAPIV3Schema: - description: KeptnTask is the Schema for the keptntasks API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + - additionalPrinterColumns: + - jsonPath: .spec.app + name: AppName + type: string + - jsonPath: .spec.appVersion + name: AppVersion + type: string + - jsonPath: .spec.workload + name: WorkloadName + type: string + - jsonPath: .spec.workloadVersion + name: WorkloadVersion + type: string + - jsonPath: .status.jobName + name: Job Name + type: string + - jsonPath: .status.status + name: Status + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: KeptnTask is the Schema for the keptntasks API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnTaskSpec defines the desired state of KeptnTask - properties: - app: - type: string - appVersion: - type: string - checkType: - type: string - context: - properties: - appName: - type: string - appVersion: - type: string - objectType: - type: string - taskType: - type: string - workloadName: - type: string - workloadVersion: - type: string - required: - - appName - - appVersion - - objectType - - taskType - - workloadName - - workloadVersion - type: object - parameters: - properties: - map: - additionalProperties: - type: string - type: object - type: object - secureParameters: - properties: - secret: - type: string - type: object - taskDefinition: - type: string - workload: - type: string - workloadVersion: - type: string - required: - - app + type: string + metadata: + type: object + spec: + description: KeptnTaskSpec defines the desired state of KeptnTask + properties: + app: + type: string + appVersion: + type: string + checkType: + type: string + context: + properties: + appName: + type: string + appVersion: + type: string + objectType: + type: string + taskType: + type: string + workloadName: + type: string + workloadVersion: + type: string + required: + - appName - appVersion - - context - - taskDefinition - - workload + - objectType + - taskType + - workloadName - workloadVersion - type: object - status: - description: KeptnTaskStatus defines the observed state of KeptnTask - properties: - endTime: - format: date-time - type: string - jobName: - type: string - message: - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: object - served: true - storage: false - subresources: - status: {} - - additionalPrinterColumns: - - jsonPath: .spec.app - name: AppName - type: string - - jsonPath: .spec.appVersion - name: AppVersion - type: string - - jsonPath: .spec.workload - name: WorkloadName - type: string - - jsonPath: .spec.workloadVersion - name: WorkloadVersion - type: string - - jsonPath: .status.jobName - name: Job Name - type: string - - jsonPath: .status.status - name: Status - type: string - name: v1alpha2 - schema: - openAPIV3Schema: - description: KeptnTask is the Schema for the keptntasks API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + type: object + parameters: + properties: + map: + additionalProperties: + type: string + type: object + type: object + secureParameters: + properties: + secret: + type: string + type: object + taskDefinition: + type: string + workload: + type: string + workloadVersion: + type: string + required: + - app + - appVersion + - context + - taskDefinition + - workload + - workloadVersion + type: object + status: + description: KeptnTaskStatus defines the observed state of KeptnTask + properties: + endTime: + format: date-time + type: string + jobName: + type: string + message: + type: string + startTime: + format: date-time + type: string + status: + default: Pending + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .spec.app + name: AppName + type: string + - jsonPath: .spec.appVersion + name: AppVersion + type: string + - jsonPath: .spec.workload + name: WorkloadName + type: string + - jsonPath: .spec.workloadVersion + name: WorkloadVersion + type: string + - jsonPath: .status.jobName + name: Job Name + type: string + - jsonPath: .status.status + name: Status + type: string + name: v1alpha2 + schema: + openAPIV3Schema: + description: KeptnTask is the Schema for the keptntasks API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnTaskSpec defines the desired state of KeptnTask - properties: - app: - type: string - appVersion: - type: string - checkType: - type: string - context: - properties: - appName: - type: string - appVersion: - type: string - objectType: - type: string - taskType: - type: string - workloadName: - type: string - workloadVersion: - type: string - required: - - appName - - appVersion - - objectType - - taskType - - workloadName - - workloadVersion - type: object - parameters: - properties: - map: - additionalProperties: - type: string - type: object - type: object - secureParameters: - properties: - secret: - type: string - type: object - taskDefinition: - type: string - workload: - type: string - workloadVersion: - type: string - required: - - app + type: string + metadata: + type: object + spec: + description: KeptnTaskSpec defines the desired state of KeptnTask + properties: + app: + type: string + appVersion: + type: string + checkType: + type: string + context: + properties: + appName: + type: string + appVersion: + type: string + objectType: + type: string + taskType: + type: string + workloadName: + type: string + workloadVersion: + type: string + required: + - appName - appVersion - - context - - taskDefinition - - workload + - objectType + - taskType + - workloadName - workloadVersion - type: object - status: - description: KeptnTaskStatus defines the observed state of KeptnTask - properties: - endTime: - format: date-time - type: string - jobName: - type: string - message: - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: object - served: true - storage: false - subresources: - status: {} - - additionalPrinterColumns: - - jsonPath: .spec.app - name: AppName - type: string - - jsonPath: .spec.appVersion - name: AppVersion - type: string - - jsonPath: .spec.workload - name: WorkloadName - type: string - - jsonPath: .spec.workloadVersion - name: WorkloadVersion - type: string - - jsonPath: .status.jobName - name: Job Name - type: string - - jsonPath: .status.status - name: Status - type: string - name: v1alpha3 - schema: - openAPIV3Schema: - description: KeptnTask is the Schema for the keptntasks API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + type: object + parameters: + properties: + map: + additionalProperties: + type: string + type: object + type: object + secureParameters: + properties: + secret: + type: string + type: object + taskDefinition: + type: string + workload: + type: string + workloadVersion: + type: string + required: + - app + - appVersion + - context + - taskDefinition + - workload + - workloadVersion + type: object + status: + description: KeptnTaskStatus defines the observed state of KeptnTask + properties: + endTime: + format: date-time + type: string + jobName: + type: string + message: + type: string + startTime: + format: date-time + type: string + status: + default: Pending + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .spec.app + name: AppName + type: string + - jsonPath: .spec.appVersion + name: AppVersion + type: string + - jsonPath: .spec.workload + name: WorkloadName + type: string + - jsonPath: .spec.workloadVersion + name: WorkloadVersion + type: string + - jsonPath: .status.jobName + name: Job Name + type: string + - jsonPath: .status.status + name: Status + type: string + name: v1alpha3 + schema: + openAPIV3Schema: + description: KeptnTask is the Schema for the keptntasks API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnTaskSpec defines the desired state of KeptnTask - properties: - app: - type: string - appVersion: - type: string - checkType: - type: string - context: - properties: - appName: - type: string - appVersion: - type: string - objectType: - type: string - taskType: - type: string - workloadName: - type: string - workloadVersion: - type: string - required: - - appName - - appVersion - - objectType - - taskType - - workloadName - - workloadVersion - type: object - parameters: - properties: - map: - additionalProperties: - type: string - type: object - type: object - retries: - default: 10 - format: int32 - type: integer - secureParameters: - properties: - secret: - type: string - type: object - taskDefinition: - type: string - timeout: - default: 5m - pattern: ^0|([0-9]+(\.[0-9]+)?(ns|us|µs|ms|s|m|h))+$ - type: string - workload: - type: string - workloadVersion: - type: string - required: - - app + type: string + metadata: + type: object + spec: + description: KeptnTaskSpec defines the desired state of KeptnTask + properties: + app: + type: string + appVersion: + type: string + checkType: + type: string + context: + properties: + appName: + type: string + appVersion: + type: string + objectType: + type: string + taskType: + type: string + workloadName: + type: string + workloadVersion: + type: string + required: + - appName - appVersion - - context - - taskDefinition - - workload + - objectType + - taskType + - workloadName - workloadVersion - type: object - status: - description: KeptnTaskStatus defines the observed state of KeptnTask - properties: - endTime: - format: date-time - type: string - jobName: - type: string - message: - type: string - reason: - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: object - served: true - storage: true - subresources: - status: {} + type: object + parameters: + properties: + map: + additionalProperties: + type: string + type: object + type: object + retries: + default: 10 + format: int32 + type: integer + secureParameters: + properties: + secret: + type: string + type: object + taskDefinition: + type: string + timeout: + default: 5m + pattern: ^0|([0-9]+(\.[0-9]+)?(ns|us|µs|ms|s|m|h))+$ + type: string + workload: + type: string + workloadVersion: + type: string + required: + - app + - appVersion + - context + - taskDefinition + - workload + - workloadVersion + type: object + status: + description: KeptnTaskStatus defines the observed state of KeptnTask + properties: + endTime: + format: date-time + type: string + jobName: + type: string + message: + type: string + reason: + type: string + startTime: + format: date-time + type: string + status: + default: Pending + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/operator/config/crd/bases/lifecycle.keptn.sh_keptnworkloadinstances.yaml b/operator/config/crd/bases/lifecycle.keptn.sh_keptnworkloadinstances.yaml index 1628ae9f8b..e8e39c2cd5 100644 --- a/operator/config/crd/bases/lifecycle.keptn.sh_keptnworkloadinstances.yaml +++ b/operator/config/crd/bases/lifecycle.keptn.sh_keptnworkloadinstances.yaml @@ -13,686 +13,686 @@ spec: listKind: KeptnWorkloadInstanceList plural: keptnworkloadinstances shortNames: - - kwi + - kwi singular: keptnworkloadinstance scope: Namespaced versions: - - additionalPrinterColumns: - - jsonPath: .spec.app - name: AppName - type: string - - jsonPath: .spec.workloadName - name: WorkloadName - type: string - - jsonPath: .spec.version - name: WorkloadVersion - type: string - - jsonPath: .status.currentPhase - name: Phase - type: string - - jsonPath: .status.preDeploymentStatus - name: PreDeploymentStatus - priority: 1 - type: string - - jsonPath: .status.preDeploymentEvaluationStatus - name: PreDeploymentEvaluationStatus - priority: 1 - type: string - - jsonPath: .status.deploymentStatus - name: DeploymentStatus - priority: 1 - type: string - - jsonPath: .status.postDeploymentStatus - name: PostDeploymentStatus - priority: 1 - type: string - - jsonPath: .status.postDeploymentEvaluationStatus - name: PostDeploymentEvaluationStatus - priority: 1 - type: string - name: v1alpha1 - schema: - openAPIV3Schema: - description: KeptnWorkloadInstance is the Schema for the keptnworkloadinstances - API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + - additionalPrinterColumns: + - jsonPath: .spec.app + name: AppName + type: string + - jsonPath: .spec.workloadName + name: WorkloadName + type: string + - jsonPath: .spec.version + name: WorkloadVersion + type: string + - jsonPath: .status.currentPhase + name: Phase + type: string + - jsonPath: .status.preDeploymentStatus + name: PreDeploymentStatus + priority: 1 + type: string + - jsonPath: .status.preDeploymentEvaluationStatus + name: PreDeploymentEvaluationStatus + priority: 1 + type: string + - jsonPath: .status.deploymentStatus + name: DeploymentStatus + priority: 1 + type: string + - jsonPath: .status.postDeploymentStatus + name: PostDeploymentStatus + priority: 1 + type: string + - jsonPath: .status.postDeploymentEvaluationStatus + name: PostDeploymentEvaluationStatus + priority: 1 + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: KeptnWorkloadInstance is the Schema for the keptnworkloadinstances + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnWorkloadInstanceSpec defines the desired state of KeptnWorkloadInstance - properties: - app: - type: string - postDeploymentEvaluations: - items: + type: string + metadata: + type: object + spec: + description: KeptnWorkloadInstanceSpec defines the desired state of KeptnWorkloadInstance + properties: + app: + type: string + postDeploymentEvaluations: + items: + type: string + type: array + postDeploymentTasks: + items: + type: string + type: array + preDeploymentEvaluations: + items: + type: string + type: array + preDeploymentTasks: + items: + type: string + type: array + previousVersion: + type: string + resourceReference: + properties: + kind: type: string - type: array - postDeploymentTasks: - items: + name: type: string - type: array - preDeploymentEvaluations: - items: + uid: + description: UID is a type that holds unique ID values, including + UUIDs. Because we don't ONLY use UUIDs, this is an alias to + string. Being a type captures intent and helps make sure that + UIDs and names do not get conflated. type: string - type: array - preDeploymentTasks: - items: + required: + - kind + - name + - uid + type: object + traceId: + additionalProperties: + type: string + type: object + version: + type: string + workloadName: + type: string + required: + - app + - resourceReference + - version + - workloadName + type: object + status: + description: KeptnWorkloadInstanceStatus defines the observed state of + KeptnWorkloadInstance + properties: + currentPhase: + type: string + deploymentStatus: + default: Pending + type: string + endTime: + format: date-time + type: string + phaseTraceIDs: + additionalProperties: + additionalProperties: type: string - type: array - previousVersion: - type: string - resourceReference: + description: MapCarrier is a TextMapCarrier that uses a map held + in memory as a storage medium for propagated key-value pairs. + type: object + type: object + postDeploymentEvaluationStatus: + default: Pending + type: string + postDeploymentEvaluationTaskStatus: + items: properties: - kind: + endTime: + format: date-time type: string - name: + evaluationDefinitionName: + type: string + evaluationName: type: string - uid: - description: UID is a type that holds unique ID values, including - UUIDs. Because we don't ONLY use UUIDs, this is an alias to - string. Being a type captures intent and helps make sure that - UIDs and names do not get conflated. + startTime: + format: date-time + type: string + status: + default: Pending type: string - required: - - kind - - name - - uid type: object - traceId: - additionalProperties: - type: string + type: array + postDeploymentStatus: + default: Pending + type: string + postDeploymentTaskStatus: + items: + properties: + endTime: + format: date-time + type: string + startTime: + format: date-time + type: string + status: + default: Pending + type: string + taskDefinitionName: + type: string + taskName: + type: string type: object - version: - type: string - workloadName: - type: string - required: - - app - - resourceReference - - version - - workloadName - type: object - status: - description: KeptnWorkloadInstanceStatus defines the observed state of - KeptnWorkloadInstance - properties: - currentPhase: - type: string - deploymentStatus: - default: Pending - type: string - endTime: - format: date-time - type: string - phaseTraceIDs: - additionalProperties: - additionalProperties: + type: array + preDeploymentEvaluationStatus: + default: Pending + type: string + preDeploymentEvaluationTaskStatus: + items: + properties: + endTime: + format: date-time + type: string + evaluationDefinitionName: + type: string + evaluationName: + type: string + startTime: + format: date-time + type: string + status: + default: Pending type: string - description: MapCarrier is a TextMapCarrier that uses a map held - in memory as a storage medium for propagated key-value pairs. - type: object type: object - postDeploymentEvaluationStatus: - default: Pending - type: string - postDeploymentEvaluationTaskStatus: - items: - properties: - endTime: - format: date-time - type: string - evaluationDefinitionName: - type: string - evaluationName: - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: array - postDeploymentStatus: - default: Pending - type: string - postDeploymentTaskStatus: - items: - properties: - endTime: - format: date-time - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - taskDefinitionName: - type: string - taskName: - type: string - type: object - type: array - preDeploymentEvaluationStatus: - default: Pending - type: string - preDeploymentEvaluationTaskStatus: - items: - properties: - endTime: - format: date-time - type: string - evaluationDefinitionName: - type: string - evaluationName: - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: array - preDeploymentStatus: - default: Pending - type: string - preDeploymentTaskStatus: - items: - properties: - endTime: - format: date-time - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - taskDefinitionName: - type: string - taskName: - type: string - type: object - type: array - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: object - served: true - storage: false - subresources: - status: {} - - additionalPrinterColumns: - - jsonPath: .spec.app - name: AppName - type: string - - jsonPath: .spec.workloadName - name: WorkloadName - type: string - - jsonPath: .spec.version - name: WorkloadVersion - type: string - - jsonPath: .status.currentPhase - name: Phase - type: string - - jsonPath: .status.preDeploymentStatus - name: PreDeploymentStatus - priority: 1 - type: string - - jsonPath: .status.preDeploymentEvaluationStatus - name: PreDeploymentEvaluationStatus - priority: 1 - type: string - - jsonPath: .status.deploymentStatus - name: DeploymentStatus - priority: 1 - type: string - - jsonPath: .status.postDeploymentStatus - name: PostDeploymentStatus - priority: 1 - type: string - - jsonPath: .status.postDeploymentEvaluationStatus - name: PostDeploymentEvaluationStatus - priority: 1 - type: string - name: v1alpha2 - schema: - openAPIV3Schema: - description: KeptnWorkloadInstance is the Schema for the keptnworkloadinstances - API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + type: array + preDeploymentStatus: + default: Pending + type: string + preDeploymentTaskStatus: + items: + properties: + endTime: + format: date-time + type: string + startTime: + format: date-time + type: string + status: + default: Pending + type: string + taskDefinitionName: + type: string + taskName: + type: string + type: object + type: array + startTime: + format: date-time + type: string + status: + default: Pending + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .spec.app + name: AppName + type: string + - jsonPath: .spec.workloadName + name: WorkloadName + type: string + - jsonPath: .spec.version + name: WorkloadVersion + type: string + - jsonPath: .status.currentPhase + name: Phase + type: string + - jsonPath: .status.preDeploymentStatus + name: PreDeploymentStatus + priority: 1 + type: string + - jsonPath: .status.preDeploymentEvaluationStatus + name: PreDeploymentEvaluationStatus + priority: 1 + type: string + - jsonPath: .status.deploymentStatus + name: DeploymentStatus + priority: 1 + type: string + - jsonPath: .status.postDeploymentStatus + name: PostDeploymentStatus + priority: 1 + type: string + - jsonPath: .status.postDeploymentEvaluationStatus + name: PostDeploymentEvaluationStatus + priority: 1 + type: string + name: v1alpha2 + schema: + openAPIV3Schema: + description: KeptnWorkloadInstance is the Schema for the keptnworkloadinstances + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnWorkloadInstanceSpec defines the desired state of KeptnWorkloadInstance - properties: - app: - type: string - postDeploymentEvaluations: - items: + type: string + metadata: + type: object + spec: + description: KeptnWorkloadInstanceSpec defines the desired state of KeptnWorkloadInstance + properties: + app: + type: string + postDeploymentEvaluations: + items: + type: string + type: array + postDeploymentTasks: + items: + type: string + type: array + preDeploymentEvaluations: + items: + type: string + type: array + preDeploymentTasks: + items: + type: string + type: array + previousVersion: + type: string + resourceReference: + properties: + kind: type: string - type: array - postDeploymentTasks: - items: + name: type: string - type: array - preDeploymentEvaluations: - items: + uid: + description: UID is a type that holds unique ID values, including + UUIDs. Because we don't ONLY use UUIDs, this is an alias to + string. Being a type captures intent and helps make sure that + UIDs and names do not get conflated. type: string - type: array - preDeploymentTasks: - items: + required: + - kind + - name + - uid + type: object + traceId: + additionalProperties: + type: string + type: object + version: + type: string + workloadName: + type: string + required: + - app + - resourceReference + - version + - workloadName + type: object + status: + description: KeptnWorkloadInstanceStatus defines the observed state of + KeptnWorkloadInstance + properties: + currentPhase: + type: string + deploymentStatus: + default: Pending + type: string + endTime: + format: date-time + type: string + phaseTraceIDs: + additionalProperties: + additionalProperties: type: string - type: array - previousVersion: - type: string - resourceReference: + description: MapCarrier is a TextMapCarrier that uses a map held + in memory as a storage medium for propagated key-value pairs. + type: object + type: object + postDeploymentEvaluationStatus: + default: Pending + type: string + postDeploymentEvaluationTaskStatus: + items: properties: - kind: + definitionName: + description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton + type: string + endTime: + format: date-time type: string name: + description: Name is the name of the Evaluation/Task + type: string + startTime: + format: date-time type: string - uid: - description: UID is a type that holds unique ID values, including - UUIDs. Because we don't ONLY use UUIDs, this is an alias to - string. Being a type captures intent and helps make sure that - UIDs and names do not get conflated. + status: + default: Pending type: string - required: - - kind - - name - - uid type: object - traceId: - additionalProperties: - type: string + type: array + postDeploymentStatus: + default: Pending + type: string + postDeploymentTaskStatus: + items: + properties: + definitionName: + description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton + type: string + endTime: + format: date-time + type: string + name: + description: Name is the name of the Evaluation/Task + type: string + startTime: + format: date-time + type: string + status: + default: Pending + type: string type: object - version: - type: string - workloadName: - type: string - required: - - app - - resourceReference - - version - - workloadName - type: object - status: - description: KeptnWorkloadInstanceStatus defines the observed state of - KeptnWorkloadInstance - properties: - currentPhase: - type: string - deploymentStatus: - default: Pending - type: string - endTime: - format: date-time - type: string - phaseTraceIDs: - additionalProperties: - additionalProperties: + type: array + preDeploymentEvaluationStatus: + default: Pending + type: string + preDeploymentEvaluationTaskStatus: + items: + properties: + definitionName: + description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton + type: string + endTime: + format: date-time + type: string + name: + description: Name is the name of the Evaluation/Task + type: string + startTime: + format: date-time + type: string + status: + default: Pending type: string - description: MapCarrier is a TextMapCarrier that uses a map held - in memory as a storage medium for propagated key-value pairs. - type: object type: object - postDeploymentEvaluationStatus: - default: Pending - type: string - postDeploymentEvaluationTaskStatus: - items: - properties: - definitionName: - description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton - type: string - endTime: - format: date-time - type: string - name: - description: Name is the name of the Evaluation/Task - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: array - postDeploymentStatus: - default: Pending - type: string - postDeploymentTaskStatus: - items: - properties: - definitionName: - description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton - type: string - endTime: - format: date-time - type: string - name: - description: Name is the name of the Evaluation/Task - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: array - preDeploymentEvaluationStatus: - default: Pending - type: string - preDeploymentEvaluationTaskStatus: - items: - properties: - definitionName: - description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton - type: string - endTime: - format: date-time - type: string - name: - description: Name is the name of the Evaluation/Task - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: array - preDeploymentStatus: - default: Pending - type: string - preDeploymentTaskStatus: - items: - properties: - definitionName: - description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton - type: string - endTime: - format: date-time - type: string - name: - description: Name is the name of the Evaluation/Task - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: array - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: object - served: true - storage: false - subresources: - status: {} - - additionalPrinterColumns: - - jsonPath: .spec.app - name: AppName - type: string - - jsonPath: .spec.workloadName - name: WorkloadName - type: string - - jsonPath: .spec.version - name: WorkloadVersion - type: string - - jsonPath: .status.currentPhase - name: Phase - type: string - - jsonPath: .status.preDeploymentStatus - name: PreDeploymentStatus - priority: 1 - type: string - - jsonPath: .status.preDeploymentEvaluationStatus - name: PreDeploymentEvaluationStatus - priority: 1 - type: string - - jsonPath: .status.deploymentStatus - name: DeploymentStatus - priority: 1 - type: string - - jsonPath: .status.postDeploymentStatus - name: PostDeploymentStatus - priority: 1 - type: string - - jsonPath: .status.postDeploymentEvaluationStatus - name: PostDeploymentEvaluationStatus - priority: 1 - type: string - name: v1alpha3 - schema: - openAPIV3Schema: - description: KeptnWorkloadInstance is the Schema for the keptnworkloadinstances - API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + type: array + preDeploymentStatus: + default: Pending + type: string + preDeploymentTaskStatus: + items: + properties: + definitionName: + description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton + type: string + endTime: + format: date-time + type: string + name: + description: Name is the name of the Evaluation/Task + type: string + startTime: + format: date-time + type: string + status: + default: Pending + type: string + type: object + type: array + startTime: + format: date-time + type: string + status: + default: Pending + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .spec.app + name: AppName + type: string + - jsonPath: .spec.workloadName + name: WorkloadName + type: string + - jsonPath: .spec.version + name: WorkloadVersion + type: string + - jsonPath: .status.currentPhase + name: Phase + type: string + - jsonPath: .status.preDeploymentStatus + name: PreDeploymentStatus + priority: 1 + type: string + - jsonPath: .status.preDeploymentEvaluationStatus + name: PreDeploymentEvaluationStatus + priority: 1 + type: string + - jsonPath: .status.deploymentStatus + name: DeploymentStatus + priority: 1 + type: string + - jsonPath: .status.postDeploymentStatus + name: PostDeploymentStatus + priority: 1 + type: string + - jsonPath: .status.postDeploymentEvaluationStatus + name: PostDeploymentEvaluationStatus + priority: 1 + type: string + name: v1alpha3 + schema: + openAPIV3Schema: + description: KeptnWorkloadInstance is the Schema for the keptnworkloadinstances + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnWorkloadInstanceSpec defines the desired state of KeptnWorkloadInstance - properties: - app: - type: string - postDeploymentEvaluations: - items: + type: string + metadata: + type: object + spec: + description: KeptnWorkloadInstanceSpec defines the desired state of KeptnWorkloadInstance + properties: + app: + type: string + postDeploymentEvaluations: + items: + type: string + type: array + postDeploymentTasks: + items: + type: string + type: array + preDeploymentEvaluations: + items: + type: string + type: array + preDeploymentTasks: + items: + type: string + type: array + previousVersion: + type: string + resourceReference: + properties: + kind: type: string - type: array - postDeploymentTasks: - items: + name: type: string - type: array - preDeploymentEvaluations: - items: + uid: + description: UID is a type that holds unique ID values, including + UUIDs. Because we don't ONLY use UUIDs, this is an alias to + string. Being a type captures intent and helps make sure that + UIDs and names do not get conflated. type: string - type: array - preDeploymentTasks: - items: + required: + - kind + - name + - uid + type: object + traceId: + additionalProperties: + type: string + type: object + version: + type: string + workloadName: + type: string + required: + - app + - resourceReference + - version + - workloadName + type: object + status: + description: KeptnWorkloadInstanceStatus defines the observed state of + KeptnWorkloadInstance + properties: + currentPhase: + type: string + deploymentStatus: + default: Pending + type: string + endTime: + format: date-time + type: string + phaseTraceIDs: + additionalProperties: + additionalProperties: type: string - type: array - previousVersion: - type: string - resourceReference: + description: MapCarrier is a TextMapCarrier that uses a map held + in memory as a storage medium for propagated key-value pairs. + type: object + type: object + postDeploymentEvaluationStatus: + default: Pending + type: string + postDeploymentEvaluationTaskStatus: + items: properties: - kind: + definitionName: + description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton + type: string + endTime: + format: date-time type: string name: + description: Name is the name of the Evaluation/Task + type: string + startTime: + format: date-time type: string - uid: - description: UID is a type that holds unique ID values, including - UUIDs. Because we don't ONLY use UUIDs, this is an alias to - string. Being a type captures intent and helps make sure that - UIDs and names do not get conflated. + status: + default: Pending type: string - required: - - kind - - name - - uid type: object - traceId: - additionalProperties: - type: string + type: array + postDeploymentStatus: + default: Pending + type: string + postDeploymentTaskStatus: + items: + properties: + definitionName: + description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton + type: string + endTime: + format: date-time + type: string + name: + description: Name is the name of the Evaluation/Task + type: string + startTime: + format: date-time + type: string + status: + default: Pending + type: string type: object - version: - type: string - workloadName: - type: string - required: - - app - - resourceReference - - version - - workloadName - type: object - status: - description: KeptnWorkloadInstanceStatus defines the observed state of - KeptnWorkloadInstance - properties: - currentPhase: - type: string - deploymentStatus: - default: Pending - type: string - endTime: - format: date-time - type: string - phaseTraceIDs: - additionalProperties: - additionalProperties: + type: array + preDeploymentEvaluationStatus: + default: Pending + type: string + preDeploymentEvaluationTaskStatus: + items: + properties: + definitionName: + description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton + type: string + endTime: + format: date-time + type: string + name: + description: Name is the name of the Evaluation/Task + type: string + startTime: + format: date-time + type: string + status: + default: Pending type: string - description: MapCarrier is a TextMapCarrier that uses a map held - in memory as a storage medium for propagated key-value pairs. - type: object type: object - postDeploymentEvaluationStatus: - default: Pending - type: string - postDeploymentEvaluationTaskStatus: - items: - properties: - definitionName: - description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton - type: string - endTime: - format: date-time - type: string - name: - description: Name is the name of the Evaluation/Task - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: array - postDeploymentStatus: - default: Pending - type: string - postDeploymentTaskStatus: - items: - properties: - definitionName: - description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton - type: string - endTime: - format: date-time - type: string - name: - description: Name is the name of the Evaluation/Task - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: array - preDeploymentEvaluationStatus: - default: Pending - type: string - preDeploymentEvaluationTaskStatus: - items: - properties: - definitionName: - description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton - type: string - endTime: - format: date-time - type: string - name: - description: Name is the name of the Evaluation/Task - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: array - preDeploymentStatus: - default: Pending - type: string - preDeploymentTaskStatus: - items: - properties: - definitionName: - description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton - type: string - endTime: - format: date-time - type: string - name: - description: Name is the name of the Evaluation/Task - type: string - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: array - startTime: - format: date-time - type: string - status: - default: Pending - type: string - type: object - type: object - served: true - storage: true - subresources: - status: {} + type: array + preDeploymentStatus: + default: Pending + type: string + preDeploymentTaskStatus: + items: + properties: + definitionName: + description: DefinitionName is the name of the EvaluationDefinition/TaskDefiniton + type: string + endTime: + format: date-time + type: string + name: + description: Name is the name of the Evaluation/Task + type: string + startTime: + format: date-time + type: string + status: + default: Pending + type: string + type: object + type: array + startTime: + format: date-time + type: string + status: + default: Pending + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/operator/config/crd/bases/lifecycle.keptn.sh_keptnworkloads.yaml b/operator/config/crd/bases/lifecycle.keptn.sh_keptnworkloads.yaml index ba926aa107..4b09f8befa 100644 --- a/operator/config/crd/bases/lifecycle.keptn.sh_keptnworkloads.yaml +++ b/operator/config/crd/bases/lifecycle.keptn.sh_keptnworkloads.yaml @@ -15,243 +15,243 @@ spec: singular: keptnworkload scope: Namespaced versions: - - additionalPrinterColumns: - - jsonPath: .spec.app - name: AppName - type: string - - jsonPath: .spec.version - name: Version - type: string - name: v1alpha1 - schema: - openAPIV3Schema: - description: KeptnWorkload is the Schema for the keptnworkloads API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + - additionalPrinterColumns: + - jsonPath: .spec.app + name: AppName + type: string + - jsonPath: .spec.version + name: Version + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: KeptnWorkload is the Schema for the keptnworkloads API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnWorkloadSpec defines the desired state of KeptnWorkload - properties: - app: + type: string + metadata: + type: object + spec: + description: KeptnWorkloadSpec defines the desired state of KeptnWorkload + properties: + app: + type: string + postDeploymentEvaluations: + items: type: string - postDeploymentEvaluations: - items: - type: string - type: array - postDeploymentTasks: - items: + type: array + postDeploymentTasks: + items: + type: string + type: array + preDeploymentEvaluations: + items: + type: string + type: array + preDeploymentTasks: + items: + type: string + type: array + resourceReference: + properties: + kind: type: string - type: array - preDeploymentEvaluations: - items: + name: type: string - type: array - preDeploymentTasks: - items: + uid: + description: UID is a type that holds unique ID values, including + UUIDs. Because we don't ONLY use UUIDs, this is an alias to + string. Being a type captures intent and helps make sure that + UIDs and names do not get conflated. type: string - type: array - resourceReference: - properties: - kind: - type: string - name: - type: string - uid: - description: UID is a type that holds unique ID values, including - UUIDs. Because we don't ONLY use UUIDs, this is an alias to - string. Being a type captures intent and helps make sure that - UIDs and names do not get conflated. - type: string - required: - - kind - - name - - uid - type: object - version: - type: string - required: - - app - - resourceReference - - version - type: object - status: - description: KeptnWorkloadStatus defines the observed state of KeptnWorkload - properties: - currentVersion: - type: string - type: object - type: object - served: true - storage: false - subresources: - status: {} - - additionalPrinterColumns: - - jsonPath: .spec.app - name: AppName - type: string - - jsonPath: .spec.version - name: Version - type: string - name: v1alpha2 - schema: - openAPIV3Schema: - description: KeptnWorkload is the Schema for the keptnworkloads API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + required: + - kind + - name + - uid + type: object + version: + type: string + required: + - app + - resourceReference + - version + type: object + status: + description: KeptnWorkloadStatus defines the observed state of KeptnWorkload + properties: + currentVersion: + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .spec.app + name: AppName + type: string + - jsonPath: .spec.version + name: Version + type: string + name: v1alpha2 + schema: + openAPIV3Schema: + description: KeptnWorkload is the Schema for the keptnworkloads API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnWorkloadSpec defines the desired state of KeptnWorkload - properties: - app: + type: string + metadata: + type: object + spec: + description: KeptnWorkloadSpec defines the desired state of KeptnWorkload + properties: + app: + type: string + postDeploymentEvaluations: + items: type: string - postDeploymentEvaluations: - items: - type: string - type: array - postDeploymentTasks: - items: + type: array + postDeploymentTasks: + items: + type: string + type: array + preDeploymentEvaluations: + items: + type: string + type: array + preDeploymentTasks: + items: + type: string + type: array + resourceReference: + properties: + kind: type: string - type: array - preDeploymentEvaluations: - items: + name: type: string - type: array - preDeploymentTasks: - items: + uid: + description: UID is a type that holds unique ID values, including + UUIDs. Because we don't ONLY use UUIDs, this is an alias to + string. Being a type captures intent and helps make sure that + UIDs and names do not get conflated. type: string - type: array - resourceReference: - properties: - kind: - type: string - name: - type: string - uid: - description: UID is a type that holds unique ID values, including - UUIDs. Because we don't ONLY use UUIDs, this is an alias to - string. Being a type captures intent and helps make sure that - UIDs and names do not get conflated. - type: string - required: - - kind - - name - - uid - type: object - version: - type: string - required: - - app - - resourceReference - - version - type: object - status: - description: KeptnWorkloadStatus defines the observed state of KeptnWorkload - properties: - currentVersion: - type: string - type: object - type: object - served: true - storage: false - subresources: - status: {} - - additionalPrinterColumns: - - jsonPath: .spec.app - name: AppName - type: string - - jsonPath: .spec.version - name: Version - type: string - name: v1alpha3 - schema: - openAPIV3Schema: - description: KeptnWorkload is the Schema for the keptnworkloads API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + required: + - kind + - name + - uid + type: object + version: + type: string + required: + - app + - resourceReference + - version + type: object + status: + description: KeptnWorkloadStatus defines the observed state of KeptnWorkload + properties: + currentVersion: + type: string + type: object + type: object + served: true + storage: false + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .spec.app + name: AppName + type: string + - jsonPath: .spec.version + name: Version + type: string + name: v1alpha3 + schema: + openAPIV3Schema: + description: KeptnWorkload is the Schema for the keptnworkloads API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnWorkloadSpec defines the desired state of KeptnWorkload - properties: - app: + type: string + metadata: + type: object + spec: + description: KeptnWorkloadSpec defines the desired state of KeptnWorkload + properties: + app: + type: string + postDeploymentEvaluations: + items: type: string - postDeploymentEvaluations: - items: - type: string - type: array - postDeploymentTasks: - items: + type: array + postDeploymentTasks: + items: + type: string + type: array + preDeploymentEvaluations: + items: + type: string + type: array + preDeploymentTasks: + items: + type: string + type: array + resourceReference: + properties: + kind: type: string - type: array - preDeploymentEvaluations: - items: + name: type: string - type: array - preDeploymentTasks: - items: + uid: + description: UID is a type that holds unique ID values, including + UUIDs. Because we don't ONLY use UUIDs, this is an alias to + string. Being a type captures intent and helps make sure that + UIDs and names do not get conflated. type: string - type: array - resourceReference: - properties: - kind: - type: string - name: - type: string - uid: - description: UID is a type that holds unique ID values, including - UUIDs. Because we don't ONLY use UUIDs, this is an alias to - string. Being a type captures intent and helps make sure that - UIDs and names do not get conflated. - type: string - required: - - kind - - name - - uid - type: object - version: - type: string - required: - - app - - resourceReference - - version - type: object - status: - description: KeptnWorkloadStatus defines the observed state of KeptnWorkload - properties: - currentVersion: - type: string - type: object - type: object - served: true - storage: true - subresources: - status: {} + required: + - kind + - name + - uid + type: object + version: + type: string + required: + - app + - resourceReference + - version + type: object + status: + description: KeptnWorkloadStatus defines the observed state of KeptnWorkload + properties: + currentVersion: + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/operator/config/crd/bases/options.keptn.sh_keptnconfigs.yaml b/operator/config/crd/bases/options.keptn.sh_keptnconfigs.yaml index 6e122be9ab..0a4f50f84c 100644 --- a/operator/config/crd/bases/options.keptn.sh_keptnconfigs.yaml +++ b/operator/config/crd/bases/options.keptn.sh_keptnconfigs.yaml @@ -15,42 +15,42 @@ spec: singular: keptnconfig scope: Namespaced versions: - - name: v1alpha1 - schema: - openAPIV3Schema: - description: KeptnConfig is the Schema for the keptnconfigs API - properties: - apiVersion: - description: 'APIVersion defines the versioned schema of this representation + - name: v1alpha1 + schema: + openAPIV3Schema: + description: KeptnConfig is the Schema for the keptnconfigs API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' - type: string - kind: - description: 'Kind is a string value representing the REST resource this + type: string + kind: + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - metadata: - type: object - spec: - description: KeptnConfigSpec defines the desired state of KeptnConfig - properties: - OTelCollectorUrl: - description: OTelCollectorUrl can be used to set the Open Telemetry - collector that the operator should use - type: string - keptnAppCreationRequestTimeoutSeconds: - default: 30 - description: KeptnAppCreationRequestTimeout is used to set the interval - in which automatic app discovery searches for workload to put into - the same auto-generated KeptnApp - type: integer - type: object - status: - description: KeptnConfigStatus defines the observed state of KeptnConfig - type: object - type: object - served: true - storage: true - subresources: - status: {} + type: string + metadata: + type: object + spec: + description: KeptnConfigSpec defines the desired state of KeptnConfig + properties: + OTelCollectorUrl: + description: OTelCollectorUrl can be used to set the Open Telemetry + collector that the operator should use + type: string + keptnAppCreationRequestTimeoutSeconds: + default: 30 + description: KeptnAppCreationRequestTimeoutSeconds is used to set + the interval in which automatic app discovery searches for workload + to put into the same auto-generated KeptnApp + type: integer + type: object + status: + description: KeptnConfigStatus defines the observed state of KeptnConfig + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/operator/config/rbac/role.yaml b/operator/config/rbac/role.yaml index 29d95f915c..ac0b91b527 100644 --- a/operator/config/rbac/role.yaml +++ b/operator/config/rbac/role.yaml @@ -5,355 +5,363 @@ metadata: creationTimestamp: null name: lifecycle-operator-role rules: - - apiGroups: - - apps - resources: - - daemonsets - - deployments - - replicasets - - statefulsets - verbs: - - get - - list - - watch - - apiGroups: - - batch - resources: - - jobs - verbs: - - create - - get - - list - - update - - watch - - apiGroups: - - batch - resources: - - jobs/status - verbs: - - get - - list - - apiGroups: - - "" - resources: - - configmaps - verbs: - - create - - get - - list - - update - - watch - - apiGroups: - - "" - resources: - - deployments - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - "" - resources: - - events - verbs: - - create - - patch - - watch - - apiGroups: - - "" - resources: - - namespaces - verbs: - - get - - list - - watch - - apiGroups: - - "" - resources: - - pods - verbs: - - get - - list - - watch - - apiGroups: - - "" - resources: - - secrets - verbs: - - get - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnappcreationrequests - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnappcreationrequests/finalizers - verbs: - - update - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnappcreationrequests/status - verbs: - - get - - patch - - update - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnapps - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnapps/finalizers - verbs: - - update - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnapps/status - verbs: - - get - - patch - - update - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnappversion - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnappversion/finalizers - verbs: - - update - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnappversion/status - verbs: - - get - - patch - - update - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnappversions - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnappversions/finalizers - verbs: - - update - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnappversions/status - verbs: - - get - - patch - - update - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnevaluationdefinitions - verbs: - - get - - list - - watch - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnevaluationproviders - verbs: - - get - - list - - watch - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnevaluations - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnevaluations/finalizers - verbs: - - update - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnevaluations/status - verbs: - - get - - patch - - update - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptntaskdefinitions - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptntaskdefinitions/finalizers - verbs: - - update - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptntaskdefinitions/status - verbs: - - get - - patch - - update - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptntasks - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptntasks/finalizers - verbs: - - update - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptntasks/status - verbs: - - get - - patch - - update - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnworkloadinstances - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnworkloadinstances/finalizers - verbs: - - update - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnworkloadinstances/status - verbs: - - get - - patch - - update - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnworkloads - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnworkloads/finalizers - verbs: - - update - - apiGroups: - - lifecycle.keptn.sh - resources: - - keptnworkloads/status - verbs: - - get - - patch - - update - - apiGroups: - - metrics.keptn.sh - resources: - - keptnmetrics - verbs: - - get - - list - - watch - - apiGroups: - - options.keptn.sh - resources: - - keptnconfigs - verbs: - - get - - list - - watch - - apiGroups: - - options.keptn.sh - resources: - - keptnconfigs/status - verbs: - - get +- apiGroups: + - apps + resources: + - daemonsets + - deployments + - replicasets + - statefulsets + verbs: + - get + - list + - watch +- apiGroups: + - argoproj.io + resources: + - rollouts + verbs: + - get + - list + - watch +- apiGroups: + - batch + resources: + - jobs + verbs: + - create + - get + - list + - update + - watch +- apiGroups: + - batch + resources: + - jobs/status + verbs: + - get + - list +- apiGroups: + - "" + resources: + - configmaps + verbs: + - create + - get + - list + - update + - watch +- apiGroups: + - "" + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch + - watch +- apiGroups: + - "" + resources: + - namespaces + verbs: + - get + - list + - watch +- apiGroups: + - "" + resources: + - pods + verbs: + - get + - list + - watch +- apiGroups: + - "" + resources: + - secrets + verbs: + - get +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnappcreationrequests + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnappcreationrequests/finalizers + verbs: + - update +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnappcreationrequests/status + verbs: + - get + - patch + - update +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnapps + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnapps/finalizers + verbs: + - update +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnapps/status + verbs: + - get + - patch + - update +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnappversion + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnappversion/finalizers + verbs: + - update +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnappversion/status + verbs: + - get + - patch + - update +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnappversions + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnappversions/finalizers + verbs: + - update +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnappversions/status + verbs: + - get + - patch + - update +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnevaluationdefinitions + verbs: + - get + - list + - watch +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnevaluationproviders + verbs: + - get + - list + - watch +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnevaluations + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnevaluations/finalizers + verbs: + - update +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnevaluations/status + verbs: + - get + - patch + - update +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptntaskdefinitions + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptntaskdefinitions/finalizers + verbs: + - update +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptntaskdefinitions/status + verbs: + - get + - patch + - update +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptntasks + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptntasks/finalizers + verbs: + - update +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptntasks/status + verbs: + - get + - patch + - update +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnworkloadinstances + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnworkloadinstances/finalizers + verbs: + - update +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnworkloadinstances/status + verbs: + - get + - patch + - update +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnworkloads + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnworkloads/finalizers + verbs: + - update +- apiGroups: + - lifecycle.keptn.sh + resources: + - keptnworkloads/status + verbs: + - get + - patch + - update +- apiGroups: + - metrics.keptn.sh + resources: + - keptnmetrics + verbs: + - get + - list + - watch +- apiGroups: + - options.keptn.sh + resources: + - keptnconfigs + verbs: + - get + - list + - watch +- apiGroups: + - options.keptn.sh + resources: + - keptnconfigs/status + verbs: + - get From ed3836aa6d75b186b09cb7c8ecf7c049f58af999 Mon Sep 17 00:00:00 2001 From: Simon Schrottner Date: Wed, 12 Apr 2023 13:50:34 +0200 Subject: [PATCH 4/4] docs: add community files to webpage (#1077) Signed-off-by: Simon Schrottner --- docs/.htmltest.yml | 1 + docs/config/_default/config.yaml | 9 +++++++++ docs/content/en/_index.md | 15 ++++++++++++++- docs/go.mod | 1 + docs/go.sum | 2 ++ 5 files changed, 27 insertions(+), 1 deletion(-) diff --git a/docs/.htmltest.yml b/docs/.htmltest.yml index 0d6dfadc76..3764f4c826 100644 --- a/docs/.htmltest.yml +++ b/docs/.htmltest.yml @@ -4,6 +4,7 @@ IgnoreDirectoryMissingTrailingSlash: true IgnoreDirs: - favicons - docs/crd-ref/lifecycle/ + - community/ IgnoreURLs: - "linkedin.com" - "localhost" diff --git a/docs/config/_default/config.yaml b/docs/config/_default/config.yaml index 598b9c4238..d3669f9531 100644 --- a/docs/config/_default/config.yaml +++ b/docs/config/_default/config.yaml @@ -18,6 +18,15 @@ module: target: assets - source: archetypes target: archetypes + - path: github.com/keptn/community + ignoreConfig: false + mounts: + - source: ./ + target: ./content/en/community + excludeFiles: + - "mentorship" + - source: "README.md" + target: "./content/community/_index.md" proxy: direct languages: en: diff --git a/docs/content/en/_index.md b/docs/content/en/_index.md index 229f32f66f..5394b1e07b 100644 --- a/docs/content/en/_index.md +++ b/docs/content/en/_index.md @@ -10,6 +10,19 @@ cascade: path: "/docs-*/**" sitemap: priority: 0.1 + + - _target: + path: "/community/**" + type: docs + - _target: + path: "/community/readme.md" + draft: true + - _target: + path: "/community/_index.md" + title: Community + menu: + main: + weight: 20 --- @@ -29,7 +42,7 @@ cascade: {{% blocks/lead color="white" %}} [![Keptn Lifecycle Toolkit in a Nutshell](https://img.youtube.com/vi/K-cvnZ8EtGc/0.jpg)](https://www.youtube.com/watch?v=K-cvnZ8EtGc) {{% /blocks/lead %}} - +git add {{< blocks/section color="dark" >}} {{% blocks/feature icon="fa-lightbulb" title="Keptn Recordings" %}} See Keptn [in Action](https://youtube.com/playlist?list=PL6i801Rjt9DbikPPILz38U1TLMrEjppzZ) diff --git a/docs/go.mod b/docs/go.mod index cc6846f5af..ca8bf79cd6 100644 --- a/docs/go.mod +++ b/docs/go.mod @@ -4,5 +4,6 @@ go 1.19 require ( github.com/google/docsy/dependencies v0.6.0 // indirect + github.com/keptn/community v0.0.0-20230412061900-85b0a5576ec5 // indirect github.com/keptn/docs-tooling v0.1.1 // indirect ) diff --git a/docs/go.sum b/docs/go.sum index 45f9543ee2..a95c1d4810 100644 --- a/docs/go.sum +++ b/docs/go.sum @@ -1,6 +1,8 @@ github.com/FortAwesome/Font-Awesome v0.0.0-20220831210243-d3a7818c253f/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= github.com/google/docsy/dependencies v0.6.0 h1:BFXDCINbp8ZuUGl/mrHjMfhCg+b1YX+hVLAA5fGW7Pc= github.com/google/docsy/dependencies v0.6.0/go.mod h1:EDGc2znMbGUw0RW5kWwy2oGgLt0iVXBmoq4UOqstuNE= +github.com/keptn/community v0.0.0-20230412061900-85b0a5576ec5 h1:7B0khjhyk8QlzvxJ82Rg+Alj38ODw3VghjD04sP3jeU= +github.com/keptn/community v0.0.0-20230412061900-85b0a5576ec5/go.mod h1:0G5nUhSv7ch9BgIFXiY7+U+cV5SbVmneysNGQwQkH8s= github.com/keptn/docs-tooling v0.1.1 h1:IuI0Fgs0JrtffLN05iaRZVkRMbPu6h9bxR4C8q1ApGU= github.com/keptn/docs-tooling v0.1.1/go.mod h1:x0iT5YsJosz6wzjQke/YaLgiXF6PV+N8QzxSAc2MY/4= github.com/twbs/bootstrap v4.6.2+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=