diff --git a/class/defaults.yml b/class/defaults.yml index 35cada0..c57a7d0 100644 --- a/class/defaults.yml +++ b/class/defaults.yml @@ -17,7 +17,7 @@ parameters: agent: registry: ghcr.io repository: appuio/appuio-cloud-agent - tag: v0.10.0 + tag: v0.10.1 secrets: {} diff --git a/tests/golden/defaults/appuio-cloud/appuio-cloud/01_agent/00_crds/cloudagent.appuio.io_zoneusageprofiles.yaml b/tests/golden/defaults/appuio-cloud/appuio-cloud/01_agent/00_crds/cloudagent.appuio.io_zoneusageprofiles.yaml index 07d08e8..12b6d3f 100644 --- a/tests/golden/defaults/appuio-cloud/appuio-cloud/01_agent/00_crds/cloudagent.appuio.io_zoneusageprofiles.yaml +++ b/tests/golden/defaults/appuio-cloud/appuio-cloud/01_agent/00_crds/cloudagent.appuio.io_zoneusageprofiles.yaml @@ -2,8 +2,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.3 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: zoneusageprofiles.cloudagent.appuio.io spec: group: cloudagent.appuio.io @@ -20,15 +19,19 @@ spec: description: ZoneUsageProfile is the Schema for the ZoneUsageProfiles 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' + 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 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' + 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 @@ -46,10 +49,9 @@ spec: additionalProperties: type: object x-kubernetes-preserve-unknown-fields: true - description: Resources is the set of resources which are created - in each namespace for which the usage profile is applied. - The key is used as the name of the resource and the value - is the resource definition. + description: |- + Resources is the set of resources which are created in each namespace for which the usage profile is applied. + The key is used as the name of the resource and the value is the resource definition. type: object type: object required: diff --git a/tests/golden/defaults/appuio-cloud/appuio-cloud/01_agent/01_role.yaml b/tests/golden/defaults/appuio-cloud/appuio-cloud/01_agent/01_role.yaml index 58a1760..ef332c9 100644 --- a/tests/golden/defaults/appuio-cloud/appuio-cloud/01_agent/01_role.yaml +++ b/tests/golden/defaults/appuio-cloud/appuio-cloud/01_agent/01_role.yaml @@ -1,7 +1,6 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - creationTimestamp: null name: appuio-cloud-agent namespace: appuio-cloud rules: diff --git a/tests/golden/defaults/appuio-cloud/appuio-cloud/01_agent/02_deployment.yaml b/tests/golden/defaults/appuio-cloud/appuio-cloud/01_agent/02_deployment.yaml index 9090d94..8fecc11 100644 --- a/tests/golden/defaults/appuio-cloud/appuio-cloud/01_agent/02_deployment.yaml +++ b/tests/golden/defaults/appuio-cloud/appuio-cloud/01_agent/02_deployment.yaml @@ -26,7 +26,7 @@ spec: command: - appuio-cloud-agent env: [] - image: ghcr.io/appuio/appuio-cloud-agent:v0.10.0 + image: ghcr.io/appuio/appuio-cloud-agent:v0.10.1 livenessProbe: httpGet: path: /healthz diff --git a/tests/golden/defaults/appuio-cloud/appuio-cloud/01_agent/10_webhook_config.yaml b/tests/golden/defaults/appuio-cloud/appuio-cloud/01_agent/10_webhook_config.yaml index 442782a..dc9fb52 100644 --- a/tests/golden/defaults/appuio-cloud/appuio-cloud/01_agent/10_webhook_config.yaml +++ b/tests/golden/defaults/appuio-cloud/appuio-cloud/01_agent/10_webhook_config.yaml @@ -1,7 +1,6 @@ apiVersion: admissionregistration.k8s.io/v1 kind: MutatingWebhookConfiguration metadata: - creationTimestamp: null name: appuio-cloud-mutating-webhook-configuration webhooks: - admissionReviewVersions: @@ -34,7 +33,6 @@ webhooks: apiVersion: admissionregistration.k8s.io/v1 kind: ValidatingWebhookConfiguration metadata: - creationTimestamp: null name: appuio-cloud-validating-webhook-configuration webhooks: - admissionReviewVersions: @@ -47,20 +45,20 @@ webhooks: path: /validate-namespace-quota failurePolicy: Fail matchPolicy: Equivalent - name: validate-namespace-quota.appuio.io + name: validate-namespace-quota-projectrequests.appuio.io namespaceSelector: matchExpressions: - key: appuio.io/organization operator: Exists rules: - apiGroups: - - '' + - project.openshift.io apiVersions: - v1 operations: - CREATE resources: - - namespaces + - projectrequests sideEffects: None - admissionReviewVersions: - v1 @@ -72,20 +70,20 @@ webhooks: path: /validate-namespace-quota failurePolicy: Fail matchPolicy: Equivalent - name: validate-namespace-quota-projectrequests.appuio.io + name: validate-namespace-quota.appuio.io namespaceSelector: matchExpressions: - key: appuio.io/organization operator: Exists rules: - apiGroups: - - project.openshift.io + - '' apiVersions: - v1 operations: - CREATE resources: - - projectrequests + - namespaces sideEffects: None - admissionReviewVersions: - v1