From 04996505b9f9b18d39723d0694eb7eb6ef660e23 Mon Sep 17 00:00:00 2001 From: Gabriel Saratura Date: Wed, 1 Feb 2023 14:51:29 +0200 Subject: [PATCH] Update version to 1.11 --- class/defaults.yml | 4 +- .../how-tos/upgrade-1.2.x-and-subsequet.adoc | 2 +- .../crossplane/templates/clusterrole.yaml | 8 ++-- .../templates/clusterrolebinding.yaml | 4 +- .../crossplane/templates/deployment.yaml | 33 ++++++++++--- ...-manager-allowed-provider-permissions.yaml | 4 +- .../templates/rbac-manager-clusterrole.yaml | 4 +- .../rbac-manager-clusterrolebinding.yaml | 4 +- .../templates/rbac-manager-deployment.yaml | 34 ++++++++++--- .../rbac-manager-managed-clusterroles.yaml | 48 +++++++++---------- .../rbac-manager-serviceaccount.yaml | 5 +- .../crossplane/templates/secret.yaml | 1 + .../crossplane/templates/service.yaml | 5 +- .../crossplane/templates/serviceaccount.yaml | 5 +- .../crossplane/templates/clusterrole.yaml | 8 ++-- .../templates/clusterrolebinding.yaml | 4 +- .../crossplane/templates/deployment.yaml | 33 ++++++++++--- ...-manager-allowed-provider-permissions.yaml | 4 +- .../templates/rbac-manager-clusterrole.yaml | 4 +- .../rbac-manager-clusterrolebinding.yaml | 4 +- .../templates/rbac-manager-deployment.yaml | 34 ++++++++++--- .../rbac-manager-managed-clusterroles.yaml | 48 +++++++++---------- .../rbac-manager-serviceaccount.yaml | 5 +- .../crossplane/templates/secret.yaml | 1 + .../crossplane/templates/service.yaml | 5 +- .../crossplane/templates/serviceaccount.yaml | 5 +- .../crossplane/templates/clusterrole.yaml | 8 ++-- .../templates/clusterrolebinding.yaml | 4 +- .../crossplane/templates/deployment.yaml | 33 ++++++++++--- ...-manager-allowed-provider-permissions.yaml | 4 +- .../templates/rbac-manager-clusterrole.yaml | 4 +- .../rbac-manager-clusterrolebinding.yaml | 4 +- .../templates/rbac-manager-deployment.yaml | 34 ++++++++++--- .../rbac-manager-managed-clusterroles.yaml | 48 +++++++++---------- .../rbac-manager-serviceaccount.yaml | 5 +- .../crossplane/templates/secret.yaml | 1 + .../crossplane/templates/service.yaml | 5 +- .../crossplane/templates/serviceaccount.yaml | 5 +- .../crossplane/templates/clusterrole.yaml | 8 ++-- .../templates/clusterrolebinding.yaml | 4 +- .../crossplane/templates/deployment.yaml | 33 ++++++++++--- ...-manager-allowed-provider-permissions.yaml | 4 +- .../templates/rbac-manager-clusterrole.yaml | 4 +- .../rbac-manager-clusterrolebinding.yaml | 4 +- .../templates/rbac-manager-deployment.yaml | 34 ++++++++++--- .../rbac-manager-managed-clusterroles.yaml | 48 +++++++++---------- .../rbac-manager-serviceaccount.yaml | 5 +- .../crossplane/templates/secret.yaml | 1 + .../crossplane/templates/service.yaml | 5 +- .../crossplane/templates/serviceaccount.yaml | 5 +- 50 files changed, 407 insertions(+), 219 deletions(-) diff --git a/class/defaults.yml b/class/defaults.yml index 6670baa..c360aa9 100644 --- a/class/defaults.yml +++ b/class/defaults.yml @@ -2,12 +2,12 @@ parameters: crossplane: namespace: syn-crossplane charts: - crossplane: 1.10.0 + crossplane: 1.11.0 images: crossplane: registry: docker.io image: crossplane/crossplane - tag: v1.10.0 + tag: v1.11.0 pullPolicy: IfNotPresent kubectl: registry: docker.io diff --git a/docs/modules/ROOT/pages/how-tos/upgrade-1.2.x-and-subsequet.adoc b/docs/modules/ROOT/pages/how-tos/upgrade-1.2.x-and-subsequet.adoc index 9075251..1fc963c 100644 --- a/docs/modules/ROOT/pages/how-tos/upgrade-1.2.x-and-subsequet.adoc +++ b/docs/modules/ROOT/pages/how-tos/upgrade-1.2.x-and-subsequet.adoc @@ -15,4 +15,4 @@ An automated PreSync Hook during migration will ensure that CRDs aren't deleted. ControllerConfig CRD hasn't received any updates. ==== -For more information, please refer to https://docs.crossplane.io/v1.10/guides/upgrading-to-v1.x/#upgrading-to-v12x-and-subsequent-versions +For more information, please refer to https://docs.crossplane.io/v1.11/guides/upgrading-to-v1.x/#upgrading-to-v12x-and-subsequent-versions diff --git a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrole.yaml b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrole.yaml index 4625bf6..138a199 100644 --- a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrole.yaml +++ b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrole.yaml @@ -12,8 +12,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane --- apiVersion: rbac.authorization.k8s.io/v1 @@ -26,9 +26,9 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 + app.kubernetes.io/version: 1.11.0 crossplane.io/scope: system - helm.sh/chart: crossplane-1.10.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-crossplane: 'true' name: crossplane:system:aggregate-to-crossplane rules: diff --git a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrolebinding.yaml b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrolebinding.yaml index e9e3dcf..dbb0bf3 100644 --- a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrolebinding.yaml +++ b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrolebinding.yaml @@ -8,8 +8,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/deployment.yaml b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/deployment.yaml index a83b907..a5f81ca 100644 --- a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/deployment.yaml +++ b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/deployment.yaml @@ -8,10 +8,11 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 release: crossplane name: crossplane + namespace: syn-crossplane spec: replicas: 1 selector: @@ -33,8 +34,8 @@ spec: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 release: crossplane spec: containers: @@ -42,6 +43,16 @@ spec: - core - start env: + - name: GOMAXPROCS + valueFrom: + resourceFieldRef: + containerName: crossplane + resource: limits.cpu + - name: GOMEMLIMIT + valueFrom: + resourceFieldRef: + containerName: crossplane + resource: limits.memory - name: POD_NAMESPACE valueFrom: fieldRef: @@ -52,7 +63,7 @@ spec: value: webhook-tls-secret - name: WEBHOOK_TLS_CERT_DIR value: /webhook/tls - image: docker.io/crossplane/crossplane:v1.10.0 + image: docker.io/crossplane/crossplane:v1.11.0 imagePullPolicy: IfNotPresent name: crossplane ports: @@ -82,6 +93,16 @@ spec: - core - init env: + - name: GOMAXPROCS + valueFrom: + resourceFieldRef: + containerName: crossplane-init + resource: limits.cpu + - name: GOMEMLIMIT + valueFrom: + resourceFieldRef: + containerName: crossplane-init + resource: limits.memory - name: POD_NAMESPACE valueFrom: fieldRef: @@ -100,7 +121,7 @@ spec: fieldPath: metadata.namespace - name: WEBHOOK_SERVICE_PORT value: '9443' - image: docker.io/crossplane/crossplane:v1.10.0 + image: docker.io/crossplane/crossplane:v1.11.0 imagePullPolicy: IfNotPresent name: crossplane-init resources: diff --git a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-allowed-provider-permissions.yaml b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-allowed-provider-permissions.yaml index db10835..c258c7e 100644 --- a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-allowed-provider-permissions.yaml +++ b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-allowed-provider-permissions.yaml @@ -12,6 +12,6 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane:allowed-provider-permissions diff --git a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrole.yaml b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrole.yaml index 929736a..0fc830f 100644 --- a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrole.yaml +++ b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrole.yaml @@ -8,8 +8,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-rbac-manager rules: - apiGroups: diff --git a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrolebinding.yaml b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrolebinding.yaml index 1eac5b7..1b44f6b 100644 --- a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrolebinding.yaml +++ b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrolebinding.yaml @@ -8,8 +8,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-rbac-manager roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-deployment.yaml b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-deployment.yaml index 83bd9e8..96a0db5 100644 --- a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-deployment.yaml +++ b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-deployment.yaml @@ -8,10 +8,11 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 release: crossplane name: crossplane-rbac-manager + namespace: syn-crossplane spec: replicas: 1 selector: @@ -33,8 +34,8 @@ spec: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 release: crossplane spec: containers: @@ -44,9 +45,19 @@ spec: - --manage=Basic - --provider-clusterrole=crossplane:allowed-provider-permissions env: + - name: GOMAXPROCS + valueFrom: + resourceFieldRef: + containerName: crossplane + resource: limits.cpu + - name: GOMEMLIMIT + valueFrom: + resourceFieldRef: + containerName: crossplane + resource: limits.memory - name: LEADER_ELECTION value: 'true' - image: docker.io/crossplane/crossplane:v1.10.0 + image: docker.io/crossplane/crossplane:v1.11.0 imagePullPolicy: IfNotPresent name: crossplane ports: @@ -68,7 +79,18 @@ spec: - args: - rbac - init - image: docker.io/crossplane/crossplane:v1.10.0 + env: + - name: GOMAXPROCS + valueFrom: + resourceFieldRef: + containerName: crossplane-init + resource: limits.cpu + - name: GOMEMLIMIT + valueFrom: + resourceFieldRef: + containerName: crossplane-init + resource: limits.memory + image: docker.io/crossplane/crossplane:v1.11.0 imagePullPolicy: IfNotPresent name: crossplane-init resources: diff --git a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-managed-clusterroles.yaml b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-managed-clusterroles.yaml index 55c1d41..e47875b 100644 --- a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-managed-clusterroles.yaml +++ b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-managed-clusterroles.yaml @@ -12,8 +12,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-admin --- aggregationRule: @@ -30,8 +30,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-edit --- aggregationRule: @@ -48,8 +48,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-view --- aggregationRule: @@ -66,8 +66,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-browse --- apiVersion: rbac.authorization.k8s.io/v1 @@ -80,8 +80,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-admin: 'true' name: crossplane:aggregate-to-admin rules: @@ -150,8 +150,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-edit: 'true' name: crossplane:aggregate-to-edit rules: @@ -203,8 +203,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-view: 'true' name: crossplane:aggregate-to-view rules: @@ -254,8 +254,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-browse: 'true' name: crossplane:aggregate-to-browse rules: @@ -286,8 +286,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-ns-admin: 'true' rbac.crossplane.io/base-of-ns-admin: 'true' name: crossplane:aggregate-to-ns-admin @@ -331,8 +331,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-ns-edit: 'true' rbac.crossplane.io/base-of-ns-edit: 'true' name: crossplane:aggregate-to-ns-edit @@ -362,8 +362,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-ns-view: 'true' rbac.crossplane.io/base-of-ns-view: 'true' name: crossplane:aggregate-to-ns-view @@ -387,8 +387,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-admin roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-serviceaccount.yaml b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-serviceaccount.yaml index 9f90f63..eb754ab 100644 --- a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-serviceaccount.yaml +++ b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-serviceaccount.yaml @@ -8,6 +8,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: rbac-manager + namespace: syn-crossplane diff --git a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/secret.yaml b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/secret.yaml index 95b9f7d..1cd3153 100644 --- a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/secret.yaml +++ b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/secret.yaml @@ -2,4 +2,5 @@ apiVersion: v1 kind: Secret metadata: name: webhook-tls-secret + namespace: syn-crossplane type: Opaque diff --git a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/service.yaml b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/service.yaml index fd5480f..1cdf0e5 100644 --- a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/service.yaml +++ b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/service.yaml @@ -8,10 +8,11 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 release: crossplane name: crossplane-webhooks + namespace: syn-crossplane spec: ports: - port: 9443 diff --git a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/serviceaccount.yaml b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/serviceaccount.yaml index ab70213..9bcd8f1 100644 --- a/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/serviceaccount.yaml +++ b/tests/golden/defaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/serviceaccount.yaml @@ -8,6 +8,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane + namespace: syn-crossplane diff --git a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrole.yaml b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrole.yaml index 4625bf6..138a199 100644 --- a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrole.yaml +++ b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrole.yaml @@ -12,8 +12,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane --- apiVersion: rbac.authorization.k8s.io/v1 @@ -26,9 +26,9 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 + app.kubernetes.io/version: 1.11.0 crossplane.io/scope: system - helm.sh/chart: crossplane-1.10.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-crossplane: 'true' name: crossplane:system:aggregate-to-crossplane rules: diff --git a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrolebinding.yaml b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrolebinding.yaml index e9e3dcf..dbb0bf3 100644 --- a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrolebinding.yaml +++ b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrolebinding.yaml @@ -8,8 +8,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/deployment.yaml b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/deployment.yaml index a83b907..a5f81ca 100644 --- a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/deployment.yaml +++ b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/deployment.yaml @@ -8,10 +8,11 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 release: crossplane name: crossplane + namespace: syn-crossplane spec: replicas: 1 selector: @@ -33,8 +34,8 @@ spec: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 release: crossplane spec: containers: @@ -42,6 +43,16 @@ spec: - core - start env: + - name: GOMAXPROCS + valueFrom: + resourceFieldRef: + containerName: crossplane + resource: limits.cpu + - name: GOMEMLIMIT + valueFrom: + resourceFieldRef: + containerName: crossplane + resource: limits.memory - name: POD_NAMESPACE valueFrom: fieldRef: @@ -52,7 +63,7 @@ spec: value: webhook-tls-secret - name: WEBHOOK_TLS_CERT_DIR value: /webhook/tls - image: docker.io/crossplane/crossplane:v1.10.0 + image: docker.io/crossplane/crossplane:v1.11.0 imagePullPolicy: IfNotPresent name: crossplane ports: @@ -82,6 +93,16 @@ spec: - core - init env: + - name: GOMAXPROCS + valueFrom: + resourceFieldRef: + containerName: crossplane-init + resource: limits.cpu + - name: GOMEMLIMIT + valueFrom: + resourceFieldRef: + containerName: crossplane-init + resource: limits.memory - name: POD_NAMESPACE valueFrom: fieldRef: @@ -100,7 +121,7 @@ spec: fieldPath: metadata.namespace - name: WEBHOOK_SERVICE_PORT value: '9443' - image: docker.io/crossplane/crossplane:v1.10.0 + image: docker.io/crossplane/crossplane:v1.11.0 imagePullPolicy: IfNotPresent name: crossplane-init resources: diff --git a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-allowed-provider-permissions.yaml b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-allowed-provider-permissions.yaml index db10835..c258c7e 100644 --- a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-allowed-provider-permissions.yaml +++ b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-allowed-provider-permissions.yaml @@ -12,6 +12,6 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane:allowed-provider-permissions diff --git a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrole.yaml b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrole.yaml index 929736a..0fc830f 100644 --- a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrole.yaml +++ b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrole.yaml @@ -8,8 +8,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-rbac-manager rules: - apiGroups: diff --git a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrolebinding.yaml b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrolebinding.yaml index 1eac5b7..1b44f6b 100644 --- a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrolebinding.yaml +++ b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrolebinding.yaml @@ -8,8 +8,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-rbac-manager roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-deployment.yaml b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-deployment.yaml index 83bd9e8..96a0db5 100644 --- a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-deployment.yaml +++ b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-deployment.yaml @@ -8,10 +8,11 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 release: crossplane name: crossplane-rbac-manager + namespace: syn-crossplane spec: replicas: 1 selector: @@ -33,8 +34,8 @@ spec: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 release: crossplane spec: containers: @@ -44,9 +45,19 @@ spec: - --manage=Basic - --provider-clusterrole=crossplane:allowed-provider-permissions env: + - name: GOMAXPROCS + valueFrom: + resourceFieldRef: + containerName: crossplane + resource: limits.cpu + - name: GOMEMLIMIT + valueFrom: + resourceFieldRef: + containerName: crossplane + resource: limits.memory - name: LEADER_ELECTION value: 'true' - image: docker.io/crossplane/crossplane:v1.10.0 + image: docker.io/crossplane/crossplane:v1.11.0 imagePullPolicy: IfNotPresent name: crossplane ports: @@ -68,7 +79,18 @@ spec: - args: - rbac - init - image: docker.io/crossplane/crossplane:v1.10.0 + env: + - name: GOMAXPROCS + valueFrom: + resourceFieldRef: + containerName: crossplane-init + resource: limits.cpu + - name: GOMEMLIMIT + valueFrom: + resourceFieldRef: + containerName: crossplane-init + resource: limits.memory + image: docker.io/crossplane/crossplane:v1.11.0 imagePullPolicy: IfNotPresent name: crossplane-init resources: diff --git a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-managed-clusterroles.yaml b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-managed-clusterroles.yaml index 55c1d41..e47875b 100644 --- a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-managed-clusterroles.yaml +++ b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-managed-clusterroles.yaml @@ -12,8 +12,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-admin --- aggregationRule: @@ -30,8 +30,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-edit --- aggregationRule: @@ -48,8 +48,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-view --- aggregationRule: @@ -66,8 +66,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-browse --- apiVersion: rbac.authorization.k8s.io/v1 @@ -80,8 +80,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-admin: 'true' name: crossplane:aggregate-to-admin rules: @@ -150,8 +150,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-edit: 'true' name: crossplane:aggregate-to-edit rules: @@ -203,8 +203,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-view: 'true' name: crossplane:aggregate-to-view rules: @@ -254,8 +254,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-browse: 'true' name: crossplane:aggregate-to-browse rules: @@ -286,8 +286,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-ns-admin: 'true' rbac.crossplane.io/base-of-ns-admin: 'true' name: crossplane:aggregate-to-ns-admin @@ -331,8 +331,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-ns-edit: 'true' rbac.crossplane.io/base-of-ns-edit: 'true' name: crossplane:aggregate-to-ns-edit @@ -362,8 +362,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-ns-view: 'true' rbac.crossplane.io/base-of-ns-view: 'true' name: crossplane:aggregate-to-ns-view @@ -387,8 +387,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-admin roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-serviceaccount.yaml b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-serviceaccount.yaml index 9f90f63..eb754ab 100644 --- a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-serviceaccount.yaml +++ b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-serviceaccount.yaml @@ -8,6 +8,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: rbac-manager + namespace: syn-crossplane diff --git a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/secret.yaml b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/secret.yaml index 95b9f7d..1cd3153 100644 --- a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/secret.yaml +++ b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/secret.yaml @@ -2,4 +2,5 @@ apiVersion: v1 kind: Secret metadata: name: webhook-tls-secret + namespace: syn-crossplane type: Opaque diff --git a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/service.yaml b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/service.yaml index fd5480f..1cdf0e5 100644 --- a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/service.yaml +++ b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/service.yaml @@ -8,10 +8,11 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 release: crossplane name: crossplane-webhooks + namespace: syn-crossplane spec: ports: - port: 9443 diff --git a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/serviceaccount.yaml b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/serviceaccount.yaml index ab70213..9bcd8f1 100644 --- a/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/serviceaccount.yaml +++ b/tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/serviceaccount.yaml @@ -8,6 +8,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane + namespace: syn-crossplane diff --git a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrole.yaml b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrole.yaml index 4625bf6..138a199 100644 --- a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrole.yaml +++ b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrole.yaml @@ -12,8 +12,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane --- apiVersion: rbac.authorization.k8s.io/v1 @@ -26,9 +26,9 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 + app.kubernetes.io/version: 1.11.0 crossplane.io/scope: system - helm.sh/chart: crossplane-1.10.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-crossplane: 'true' name: crossplane:system:aggregate-to-crossplane rules: diff --git a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrolebinding.yaml b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrolebinding.yaml index e9e3dcf..dbb0bf3 100644 --- a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrolebinding.yaml +++ b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrolebinding.yaml @@ -8,8 +8,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/deployment.yaml b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/deployment.yaml index 0578914..7e66957 100644 --- a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/deployment.yaml +++ b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/deployment.yaml @@ -8,10 +8,11 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 release: crossplane name: crossplane + namespace: syn-crossplane spec: replicas: 1 selector: @@ -33,8 +34,8 @@ spec: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 release: crossplane spec: containers: @@ -42,6 +43,16 @@ spec: - core - start env: + - name: GOMAXPROCS + valueFrom: + resourceFieldRef: + containerName: crossplane + resource: limits.cpu + - name: GOMEMLIMIT + valueFrom: + resourceFieldRef: + containerName: crossplane + resource: limits.memory - name: POD_NAMESPACE valueFrom: fieldRef: @@ -52,7 +63,7 @@ spec: value: webhook-tls-secret - name: WEBHOOK_TLS_CERT_DIR value: /webhook/tls - image: docker.io/crossplane/crossplane:v1.10.0 + image: docker.io/crossplane/crossplane:v1.11.0 imagePullPolicy: IfNotPresent name: crossplane ports: @@ -82,6 +93,16 @@ spec: - core - init env: + - name: GOMAXPROCS + valueFrom: + resourceFieldRef: + containerName: crossplane-init + resource: limits.cpu + - name: GOMEMLIMIT + valueFrom: + resourceFieldRef: + containerName: crossplane-init + resource: limits.memory - name: POD_NAMESPACE valueFrom: fieldRef: @@ -100,7 +121,7 @@ spec: fieldPath: metadata.namespace - name: WEBHOOK_SERVICE_PORT value: '9443' - image: docker.io/crossplane/crossplane:v1.10.0 + image: docker.io/crossplane/crossplane:v1.11.0 imagePullPolicy: IfNotPresent name: crossplane-init resources: diff --git a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-allowed-provider-permissions.yaml b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-allowed-provider-permissions.yaml index db10835..c258c7e 100644 --- a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-allowed-provider-permissions.yaml +++ b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-allowed-provider-permissions.yaml @@ -12,6 +12,6 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane:allowed-provider-permissions diff --git a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrole.yaml b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrole.yaml index 929736a..0fc830f 100644 --- a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrole.yaml +++ b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrole.yaml @@ -8,8 +8,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-rbac-manager rules: - apiGroups: diff --git a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrolebinding.yaml b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrolebinding.yaml index 1eac5b7..1b44f6b 100644 --- a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrolebinding.yaml +++ b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrolebinding.yaml @@ -8,8 +8,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-rbac-manager roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-deployment.yaml b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-deployment.yaml index 797855b..e3ad668 100644 --- a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-deployment.yaml +++ b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-deployment.yaml @@ -8,10 +8,11 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 release: crossplane name: crossplane-rbac-manager + namespace: syn-crossplane spec: replicas: 1 selector: @@ -33,8 +34,8 @@ spec: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 release: crossplane spec: containers: @@ -44,9 +45,19 @@ spec: - --manage=Basic - --provider-clusterrole=crossplane:allowed-provider-permissions env: + - name: GOMAXPROCS + valueFrom: + resourceFieldRef: + containerName: crossplane + resource: limits.cpu + - name: GOMEMLIMIT + valueFrom: + resourceFieldRef: + containerName: crossplane + resource: limits.memory - name: LEADER_ELECTION value: 'true' - image: docker.io/crossplane/crossplane:v1.10.0 + image: docker.io/crossplane/crossplane:v1.11.0 imagePullPolicy: IfNotPresent name: crossplane ports: @@ -68,7 +79,18 @@ spec: - args: - rbac - init - image: docker.io/crossplane/crossplane:v1.10.0 + env: + - name: GOMAXPROCS + valueFrom: + resourceFieldRef: + containerName: crossplane-init + resource: limits.cpu + - name: GOMEMLIMIT + valueFrom: + resourceFieldRef: + containerName: crossplane-init + resource: limits.memory + image: docker.io/crossplane/crossplane:v1.11.0 imagePullPolicy: IfNotPresent name: crossplane-init resources: diff --git a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-managed-clusterroles.yaml b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-managed-clusterroles.yaml index 55c1d41..e47875b 100644 --- a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-managed-clusterroles.yaml +++ b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-managed-clusterroles.yaml @@ -12,8 +12,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-admin --- aggregationRule: @@ -30,8 +30,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-edit --- aggregationRule: @@ -48,8 +48,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-view --- aggregationRule: @@ -66,8 +66,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-browse --- apiVersion: rbac.authorization.k8s.io/v1 @@ -80,8 +80,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-admin: 'true' name: crossplane:aggregate-to-admin rules: @@ -150,8 +150,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-edit: 'true' name: crossplane:aggregate-to-edit rules: @@ -203,8 +203,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-view: 'true' name: crossplane:aggregate-to-view rules: @@ -254,8 +254,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-browse: 'true' name: crossplane:aggregate-to-browse rules: @@ -286,8 +286,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-ns-admin: 'true' rbac.crossplane.io/base-of-ns-admin: 'true' name: crossplane:aggregate-to-ns-admin @@ -331,8 +331,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-ns-edit: 'true' rbac.crossplane.io/base-of-ns-edit: 'true' name: crossplane:aggregate-to-ns-edit @@ -362,8 +362,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-ns-view: 'true' rbac.crossplane.io/base-of-ns-view: 'true' name: crossplane:aggregate-to-ns-view @@ -387,8 +387,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-admin roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-serviceaccount.yaml b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-serviceaccount.yaml index 9f90f63..eb754ab 100644 --- a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-serviceaccount.yaml +++ b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-serviceaccount.yaml @@ -8,6 +8,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: rbac-manager + namespace: syn-crossplane diff --git a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/secret.yaml b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/secret.yaml index 95b9f7d..1cd3153 100644 --- a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/secret.yaml +++ b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/secret.yaml @@ -2,4 +2,5 @@ apiVersion: v1 kind: Secret metadata: name: webhook-tls-secret + namespace: syn-crossplane type: Opaque diff --git a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/service.yaml b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/service.yaml index fd5480f..1cdf0e5 100644 --- a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/service.yaml +++ b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/service.yaml @@ -8,10 +8,11 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 release: crossplane name: crossplane-webhooks + namespace: syn-crossplane spec: ports: - port: 9443 diff --git a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/serviceaccount.yaml b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/serviceaccount.yaml index ab70213..9bcd8f1 100644 --- a/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/serviceaccount.yaml +++ b/tests/golden/openshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/serviceaccount.yaml @@ -8,6 +8,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane + namespace: syn-crossplane diff --git a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrole.yaml b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrole.yaml index 4625bf6..138a199 100644 --- a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrole.yaml +++ b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrole.yaml @@ -12,8 +12,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane --- apiVersion: rbac.authorization.k8s.io/v1 @@ -26,9 +26,9 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 + app.kubernetes.io/version: 1.11.0 crossplane.io/scope: system - helm.sh/chart: crossplane-1.10.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-crossplane: 'true' name: crossplane:system:aggregate-to-crossplane rules: diff --git a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrolebinding.yaml b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrolebinding.yaml index e9e3dcf..dbb0bf3 100644 --- a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrolebinding.yaml +++ b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrolebinding.yaml @@ -8,8 +8,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/deployment.yaml b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/deployment.yaml index 0578914..7e66957 100644 --- a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/deployment.yaml +++ b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/deployment.yaml @@ -8,10 +8,11 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 release: crossplane name: crossplane + namespace: syn-crossplane spec: replicas: 1 selector: @@ -33,8 +34,8 @@ spec: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 release: crossplane spec: containers: @@ -42,6 +43,16 @@ spec: - core - start env: + - name: GOMAXPROCS + valueFrom: + resourceFieldRef: + containerName: crossplane + resource: limits.cpu + - name: GOMEMLIMIT + valueFrom: + resourceFieldRef: + containerName: crossplane + resource: limits.memory - name: POD_NAMESPACE valueFrom: fieldRef: @@ -52,7 +63,7 @@ spec: value: webhook-tls-secret - name: WEBHOOK_TLS_CERT_DIR value: /webhook/tls - image: docker.io/crossplane/crossplane:v1.10.0 + image: docker.io/crossplane/crossplane:v1.11.0 imagePullPolicy: IfNotPresent name: crossplane ports: @@ -82,6 +93,16 @@ spec: - core - init env: + - name: GOMAXPROCS + valueFrom: + resourceFieldRef: + containerName: crossplane-init + resource: limits.cpu + - name: GOMEMLIMIT + valueFrom: + resourceFieldRef: + containerName: crossplane-init + resource: limits.memory - name: POD_NAMESPACE valueFrom: fieldRef: @@ -100,7 +121,7 @@ spec: fieldPath: metadata.namespace - name: WEBHOOK_SERVICE_PORT value: '9443' - image: docker.io/crossplane/crossplane:v1.10.0 + image: docker.io/crossplane/crossplane:v1.11.0 imagePullPolicy: IfNotPresent name: crossplane-init resources: diff --git a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-allowed-provider-permissions.yaml b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-allowed-provider-permissions.yaml index db10835..c258c7e 100644 --- a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-allowed-provider-permissions.yaml +++ b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-allowed-provider-permissions.yaml @@ -12,6 +12,6 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane:allowed-provider-permissions diff --git a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrole.yaml b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrole.yaml index 929736a..0fc830f 100644 --- a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrole.yaml +++ b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrole.yaml @@ -8,8 +8,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-rbac-manager rules: - apiGroups: diff --git a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrolebinding.yaml b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrolebinding.yaml index 1eac5b7..1b44f6b 100644 --- a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrolebinding.yaml +++ b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrolebinding.yaml @@ -8,8 +8,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-rbac-manager roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-deployment.yaml b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-deployment.yaml index 797855b..e3ad668 100644 --- a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-deployment.yaml +++ b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-deployment.yaml @@ -8,10 +8,11 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 release: crossplane name: crossplane-rbac-manager + namespace: syn-crossplane spec: replicas: 1 selector: @@ -33,8 +34,8 @@ spec: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 release: crossplane spec: containers: @@ -44,9 +45,19 @@ spec: - --manage=Basic - --provider-clusterrole=crossplane:allowed-provider-permissions env: + - name: GOMAXPROCS + valueFrom: + resourceFieldRef: + containerName: crossplane + resource: limits.cpu + - name: GOMEMLIMIT + valueFrom: + resourceFieldRef: + containerName: crossplane + resource: limits.memory - name: LEADER_ELECTION value: 'true' - image: docker.io/crossplane/crossplane:v1.10.0 + image: docker.io/crossplane/crossplane:v1.11.0 imagePullPolicy: IfNotPresent name: crossplane ports: @@ -68,7 +79,18 @@ spec: - args: - rbac - init - image: docker.io/crossplane/crossplane:v1.10.0 + env: + - name: GOMAXPROCS + valueFrom: + resourceFieldRef: + containerName: crossplane-init + resource: limits.cpu + - name: GOMEMLIMIT + valueFrom: + resourceFieldRef: + containerName: crossplane-init + resource: limits.memory + image: docker.io/crossplane/crossplane:v1.11.0 imagePullPolicy: IfNotPresent name: crossplane-init resources: diff --git a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-managed-clusterroles.yaml b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-managed-clusterroles.yaml index 55c1d41..e47875b 100644 --- a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-managed-clusterroles.yaml +++ b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-managed-clusterroles.yaml @@ -12,8 +12,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-admin --- aggregationRule: @@ -30,8 +30,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-edit --- aggregationRule: @@ -48,8 +48,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-view --- aggregationRule: @@ -66,8 +66,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-browse --- apiVersion: rbac.authorization.k8s.io/v1 @@ -80,8 +80,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-admin: 'true' name: crossplane:aggregate-to-admin rules: @@ -150,8 +150,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-edit: 'true' name: crossplane:aggregate-to-edit rules: @@ -203,8 +203,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-view: 'true' name: crossplane:aggregate-to-view rules: @@ -254,8 +254,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-browse: 'true' name: crossplane:aggregate-to-browse rules: @@ -286,8 +286,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-ns-admin: 'true' rbac.crossplane.io/base-of-ns-admin: 'true' name: crossplane:aggregate-to-ns-admin @@ -331,8 +331,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-ns-edit: 'true' rbac.crossplane.io/base-of-ns-edit: 'true' name: crossplane:aggregate-to-ns-edit @@ -362,8 +362,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 rbac.crossplane.io/aggregate-to-ns-view: 'true' rbac.crossplane.io/base-of-ns-view: 'true' name: crossplane:aggregate-to-ns-view @@ -387,8 +387,8 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane-admin roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-serviceaccount.yaml b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-serviceaccount.yaml index 9f90f63..eb754ab 100644 --- a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-serviceaccount.yaml +++ b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-serviceaccount.yaml @@ -8,6 +8,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: rbac-manager + namespace: syn-crossplane diff --git a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/secret.yaml b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/secret.yaml index 95b9f7d..1cd3153 100644 --- a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/secret.yaml +++ b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/secret.yaml @@ -2,4 +2,5 @@ apiVersion: v1 kind: Secret metadata: name: webhook-tls-secret + namespace: syn-crossplane type: Opaque diff --git a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/service.yaml b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/service.yaml index fd5480f..1cdf0e5 100644 --- a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/service.yaml +++ b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/service.yaml @@ -8,10 +8,11 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 release: crossplane name: crossplane-webhooks + namespace: syn-crossplane spec: ports: - port: 9443 diff --git a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/serviceaccount.yaml b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/serviceaccount.yaml index ab70213..9bcd8f1 100644 --- a/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/serviceaccount.yaml +++ b/tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/serviceaccount.yaml @@ -8,6 +8,7 @@ metadata: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: crossplane app.kubernetes.io/part-of: crossplane - app.kubernetes.io/version: 1.10.0 - helm.sh/chart: crossplane-1.10.0 + app.kubernetes.io/version: 1.11.0 + helm.sh/chart: crossplane-1.11.0 name: crossplane + namespace: syn-crossplane