From 9511bfb09815d635ef66a2e2e5c5e67945524f17 Mon Sep 17 00:00:00 2001 From: Richard Kovacs Date: Wed, 22 Sep 2021 15:22:48 +0200 Subject: [PATCH] Update api-manager manifests to v1.1.3-alpha2 (#15) --- Makefile | 2 +- README.md | 8 ++++++++ .../clusterrole-storageos-api-manager.yaml | 1 + .../clusterrole-storageos-key-management.yaml | 0 .../clusterrolebinding-storageos-api-manager.yaml | 0 .../clusterrolebinding-storageos-key-management.yaml | 0 .../customresourcedefinition-nodes.api.storageos.com.yaml | 0 ...ustomresourcedefinition-volumes.api.storageos.com.yaml | 0 .../deployment-storageos-api-manager.yaml | 0 .../{1.1.3-alpha1 => 1.1.3-alpha2}/kustomization.yaml | 0 ...ngwebhookconfiguration-storageos-mutating-webhook.yaml | 0 .../service-storageos-api-manager-metrics.yaml | 0 .../service-storageos-webhook.yaml | 0 .../serviceaccount-storageos-api-manager.yaml | 0 channels/stable | 2 +- 15 files changed, 11 insertions(+), 2 deletions(-) rename channels/packages/api-manager/{1.1.3-alpha1 => 1.1.3-alpha2}/clusterrole-storageos-api-manager.yaml (99%) rename channels/packages/api-manager/{1.1.3-alpha1 => 1.1.3-alpha2}/clusterrole-storageos-key-management.yaml (100%) rename channels/packages/api-manager/{1.1.3-alpha1 => 1.1.3-alpha2}/clusterrolebinding-storageos-api-manager.yaml (100%) rename channels/packages/api-manager/{1.1.3-alpha1 => 1.1.3-alpha2}/clusterrolebinding-storageos-key-management.yaml (100%) rename channels/packages/api-manager/{1.1.3-alpha1 => 1.1.3-alpha2}/customresourcedefinition-nodes.api.storageos.com.yaml (100%) rename channels/packages/api-manager/{1.1.3-alpha1 => 1.1.3-alpha2}/customresourcedefinition-volumes.api.storageos.com.yaml (100%) rename channels/packages/api-manager/{1.1.3-alpha1 => 1.1.3-alpha2}/deployment-storageos-api-manager.yaml (100%) rename channels/packages/api-manager/{1.1.3-alpha1 => 1.1.3-alpha2}/kustomization.yaml (100%) rename channels/packages/api-manager/{1.1.3-alpha1 => 1.1.3-alpha2}/mutatingwebhookconfiguration-storageos-mutating-webhook.yaml (100%) rename channels/packages/api-manager/{1.1.3-alpha1 => 1.1.3-alpha2}/service-storageos-api-manager-metrics.yaml (100%) rename channels/packages/api-manager/{1.1.3-alpha1 => 1.1.3-alpha2}/service-storageos-webhook.yaml (100%) rename channels/packages/api-manager/{1.1.3-alpha1 => 1.1.3-alpha2}/serviceaccount-storageos-api-manager.yaml (100%) diff --git a/Makefile b/Makefile index 48f9421f..646b9ccf 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,7 @@ endif SHELL = /usr/bin/env bash -o pipefail .SHELLFLAGS = -ec -API_MANAGER_VERSION ?= v1.1.3-alpha1 +API_MANAGER_VERSION ?= v1.1.3-alpha2 API_MANAGER_IMAGE ?= storageos/api-manager:$(API_MANAGER_VERSION) API_MANAGER_MANIFESTS_IMAGE ?= storageos/api-manager-manifests:$(API_MANAGER_VERSION) EXTERNAL_PROVISIONER_IMAGE ?= storageos/csi-provisioner:v2.1.1-patched diff --git a/README.md b/README.md index 1d942390..1a0ae3eb 100644 --- a/README.md +++ b/README.md @@ -67,3 +67,11 @@ Run the unit tests with `make test`. Run e2e tests with `make e2e`. e2e tests use [kuttl](https://kuttl.dev/). Install kuttl kubectl plugin before running the e2e tests. + +## Update api-manager manifests + +Api-manager manifests are stored in the repo but updated manually. To update the manifests please follow the instructions below. + + * Edit `API_MANAGER_VERSION` in `Makefile` or pass it to make target. + * Execute `make api-manager` command. + * Enjoy new version. diff --git a/channels/packages/api-manager/1.1.3-alpha1/clusterrole-storageos-api-manager.yaml b/channels/packages/api-manager/1.1.3-alpha2/clusterrole-storageos-api-manager.yaml similarity index 99% rename from channels/packages/api-manager/1.1.3-alpha1/clusterrole-storageos-api-manager.yaml rename to channels/packages/api-manager/1.1.3-alpha2/clusterrole-storageos-api-manager.yaml index 08207da7..4f8b4a14 100644 --- a/channels/packages/api-manager/1.1.3-alpha1/clusterrole-storageos-api-manager.yaml +++ b/channels/packages/api-manager/1.1.3-alpha2/clusterrole-storageos-api-manager.yaml @@ -145,6 +145,7 @@ rules: resources: - storageclasses verbs: + - get - list - watch - apiGroups: diff --git a/channels/packages/api-manager/1.1.3-alpha1/clusterrole-storageos-key-management.yaml b/channels/packages/api-manager/1.1.3-alpha2/clusterrole-storageos-key-management.yaml similarity index 100% rename from channels/packages/api-manager/1.1.3-alpha1/clusterrole-storageos-key-management.yaml rename to channels/packages/api-manager/1.1.3-alpha2/clusterrole-storageos-key-management.yaml diff --git a/channels/packages/api-manager/1.1.3-alpha1/clusterrolebinding-storageos-api-manager.yaml b/channels/packages/api-manager/1.1.3-alpha2/clusterrolebinding-storageos-api-manager.yaml similarity index 100% rename from channels/packages/api-manager/1.1.3-alpha1/clusterrolebinding-storageos-api-manager.yaml rename to channels/packages/api-manager/1.1.3-alpha2/clusterrolebinding-storageos-api-manager.yaml diff --git a/channels/packages/api-manager/1.1.3-alpha1/clusterrolebinding-storageos-key-management.yaml b/channels/packages/api-manager/1.1.3-alpha2/clusterrolebinding-storageos-key-management.yaml similarity index 100% rename from channels/packages/api-manager/1.1.3-alpha1/clusterrolebinding-storageos-key-management.yaml rename to channels/packages/api-manager/1.1.3-alpha2/clusterrolebinding-storageos-key-management.yaml diff --git a/channels/packages/api-manager/1.1.3-alpha1/customresourcedefinition-nodes.api.storageos.com.yaml b/channels/packages/api-manager/1.1.3-alpha2/customresourcedefinition-nodes.api.storageos.com.yaml similarity index 100% rename from channels/packages/api-manager/1.1.3-alpha1/customresourcedefinition-nodes.api.storageos.com.yaml rename to channels/packages/api-manager/1.1.3-alpha2/customresourcedefinition-nodes.api.storageos.com.yaml diff --git a/channels/packages/api-manager/1.1.3-alpha1/customresourcedefinition-volumes.api.storageos.com.yaml b/channels/packages/api-manager/1.1.3-alpha2/customresourcedefinition-volumes.api.storageos.com.yaml similarity index 100% rename from channels/packages/api-manager/1.1.3-alpha1/customresourcedefinition-volumes.api.storageos.com.yaml rename to channels/packages/api-manager/1.1.3-alpha2/customresourcedefinition-volumes.api.storageos.com.yaml diff --git a/channels/packages/api-manager/1.1.3-alpha1/deployment-storageos-api-manager.yaml b/channels/packages/api-manager/1.1.3-alpha2/deployment-storageos-api-manager.yaml similarity index 100% rename from channels/packages/api-manager/1.1.3-alpha1/deployment-storageos-api-manager.yaml rename to channels/packages/api-manager/1.1.3-alpha2/deployment-storageos-api-manager.yaml diff --git a/channels/packages/api-manager/1.1.3-alpha1/kustomization.yaml b/channels/packages/api-manager/1.1.3-alpha2/kustomization.yaml similarity index 100% rename from channels/packages/api-manager/1.1.3-alpha1/kustomization.yaml rename to channels/packages/api-manager/1.1.3-alpha2/kustomization.yaml diff --git a/channels/packages/api-manager/1.1.3-alpha1/mutatingwebhookconfiguration-storageos-mutating-webhook.yaml b/channels/packages/api-manager/1.1.3-alpha2/mutatingwebhookconfiguration-storageos-mutating-webhook.yaml similarity index 100% rename from channels/packages/api-manager/1.1.3-alpha1/mutatingwebhookconfiguration-storageos-mutating-webhook.yaml rename to channels/packages/api-manager/1.1.3-alpha2/mutatingwebhookconfiguration-storageos-mutating-webhook.yaml diff --git a/channels/packages/api-manager/1.1.3-alpha1/service-storageos-api-manager-metrics.yaml b/channels/packages/api-manager/1.1.3-alpha2/service-storageos-api-manager-metrics.yaml similarity index 100% rename from channels/packages/api-manager/1.1.3-alpha1/service-storageos-api-manager-metrics.yaml rename to channels/packages/api-manager/1.1.3-alpha2/service-storageos-api-manager-metrics.yaml diff --git a/channels/packages/api-manager/1.1.3-alpha1/service-storageos-webhook.yaml b/channels/packages/api-manager/1.1.3-alpha2/service-storageos-webhook.yaml similarity index 100% rename from channels/packages/api-manager/1.1.3-alpha1/service-storageos-webhook.yaml rename to channels/packages/api-manager/1.1.3-alpha2/service-storageos-webhook.yaml diff --git a/channels/packages/api-manager/1.1.3-alpha1/serviceaccount-storageos-api-manager.yaml b/channels/packages/api-manager/1.1.3-alpha2/serviceaccount-storageos-api-manager.yaml similarity index 100% rename from channels/packages/api-manager/1.1.3-alpha1/serviceaccount-storageos-api-manager.yaml rename to channels/packages/api-manager/1.1.3-alpha2/serviceaccount-storageos-api-manager.yaml diff --git a/channels/stable b/channels/stable index 3affdafb..af0b9c66 100644 --- a/channels/stable +++ b/channels/stable @@ -1,6 +1,6 @@ manifests: - name: api-manager - version: 1.1.3-alpha1 + version: 1.1.3-alpha2 - name: csi version: 0.1.0 - name: node