Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit

Permalink
Upgrade api manager to 1.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmxs committed Apr 6, 2022
1 parent 6edce63 commit 999997f
Show file tree
Hide file tree
Showing 21 changed files with 835 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
EXPECTED_REL_IMAGE_CONF: |
REL_IMAGE_CONF=RELATED_IMAGE_API_MANAGER=storageos/api-manager:v1.2.8
REL_IMAGE_CONF=RELATED_IMAGE_API_MANAGER=storageos/api-manager:v1.2.9
RELATED_IMAGE_PORTAL_MANAGER=storageos/portal-manager:v1.0.2
RELATED_IMAGE_CSIV1_EXTERNAL_PROVISIONER=storageos/csi-provisioner:v2.1.1-patched
RELATED_IMAGE_CSIV1_EXTERNAL_ATTACHER_V3=quay.io/k8scsi/csi-attacher:v3.1.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

env:
EXPECTED_REL_IMAGE_CONF: |
REL_IMAGE_CONF=RELATED_IMAGE_API_MANAGER=storageos/api-manager:v1.2.8
REL_IMAGE_CONF=RELATED_IMAGE_API_MANAGER=storageos/api-manager:v1.2.9
RELATED_IMAGE_PORTAL_MANAGER=storageos/portal-manager:v1.0.2
RELATED_IMAGE_CSIV1_EXTERNAL_PROVISIONER=storageos/csi-provisioner:v2.1.1-patched
RELATED_IMAGE_CSIV1_EXTERNAL_ATTACHER_V3=quay.io/k8scsi/csi-attacher:v3.1.0
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ LD_FLAGS = -X main.SupportedMinKubeVersion=$(MIN_KUBE_VERSION)
SHELL = /usr/bin/env bash -o pipefail
.SHELLFLAGS = -ec

API_MANAGER_VERSION ?= v1.2.8
API_MANAGER_VERSION ?= v1.2.9
API_MANAGER_IMAGE ?= storageos/api-manager:$(API_MANAGER_VERSION)
API_MANAGER_MANIFESTS_IMAGE ?= storageos/api-manager-manifests:$(API_MANAGER_VERSION)
PORTAL_MANAGER_VERSION ?= v1.0.2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
data:
RELATED_IMAGE_API_MANAGER: storageos/api-manager:v1.2.8
RELATED_IMAGE_API_MANAGER: storageos/api-manager:v1.2.9
RELATED_IMAGE_CSIV1_EXTERNAL_ATTACHER_V3: quay.io/k8scsi/csi-attacher:v3.1.0
RELATED_IMAGE_CSIV1_EXTERNAL_PROVISIONER: storageos/csi-provisioner:v2.1.1-patched
RELATED_IMAGE_CSIV1_EXTERNAL_RESIZER: quay.io/k8scsi/csi-resizer:v1.1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ spec:
name: https
resources: {}
securityContext:
runAsNonRoot: true
runAsUser: 65532
serviceAccountName: storageos-operator
terminationGracePeriodSeconds: 10
topologySpreadConstraints:
Expand Down
2 changes: 1 addition & 1 deletion channels/1.23
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
manifests:
- name: api-manager
version: 1.2.8
version: 1.2.9
- name: csi
version: 0.1.0
- name: node
Expand Down
2 changes: 1 addition & 1 deletion channels/1.24
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
manifests:
- name: api-manager
version: 1.2.8
version: 1.2.9
- name: csi
version: 0.1.0
- name: node
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,205 @@

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
labels:
app: storageos
app.kubernetes.io/component: api-manager
name: storageos:api-manager
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- configmaps/status
verbs:
- get
- patch
- update
- apiGroups:
- ""
resources:
- endpoints
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- endpoints/status
verbs:
- get
- patch
- update
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- apiGroups:
- ""
resources:
- namespaces
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- node
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- persistentvolumeclaims
verbs:
- get
- list
- update
- watch
- apiGroups:
- ""
resources:
- pods
verbs:
- delete
- get
- list
- watch
- apiGroups:
- ""
resources:
- secrets
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- services
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- services/status
verbs:
- get
- patch
- update
- apiGroups:
- admissionregistration.k8s.io
resources:
- mutatingwebhookconfigurations
- validatingwebhookconfigurations
verbs:
- '*'
- apiGroups:
- api.storageos.com
resources:
- nodes
verbs:
- create
- delete
- get
- list
- patch
- watch
- apiGroups:
- api.storageos.com
resources:
- nodes/status
verbs:
- get
- patch
- update
- apiGroups:
- api.storageos.com
resources:
- volumes
verbs:
- create
- delete
- get
- list
- patch
- watch
- apiGroups:
- api.storageos.com
resources:
- volumes/status
verbs:
- get
- patch
- update
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- storage.k8s.io
resources:
- storageclasses
verbs:
- get
- list
- watch
- apiGroups:
- storage.k8s.io
resources:
- volumeattachments
verbs:
- delete
- get
- list
- watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app: storageos
app.kubernetes.io/component: api-manager
name: storageos:key-management
rules:
- apiGroups:
- ""
resources:
- secrets
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
app: storageos
app.kubernetes.io/component: api-manager
name: storageos:api-manager
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: storageos:api-manager
subjects:
- kind: ServiceAccount
name: storageos-api-manager
namespace: storageos
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
app: storageos
app.kubernetes.io/component: api-manager
name: storageos:key-management
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: storageos:key-management
subjects:
- kind: ServiceAccount
name: storageos-api-manager
namespace: storageos
- kind: ServiceAccount
name: storageos-node
namespace: storageos
Loading

0 comments on commit 999997f

Please sign in to comment.