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

Commit

Permalink
Bump api-manager to v1.1.3-alpha3 (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
croomes authored Sep 28, 2021
1 parent 6894af9 commit 486fa03
Show file tree
Hide file tree
Showing 14 changed files with 751 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ endif
SHELL = /usr/bin/env bash -o pipefail
.SHELLFLAGS = -ec

API_MANAGER_VERSION ?= v1.1.3-alpha2
API_MANAGER_VERSION ?= v1.1.3-alpha3
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
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@

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
- 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:
- 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@

apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
labels:
app: storageos
app.kubernetes.io/component: api-manager
name: nodes.api.storageos.com
spec:
group: api.storageos.com
names:
kind: Node
listKind: NodeList
plural: nodes
singular: node
scope: Cluster
versions:
- name: v1
schema:
openAPIV3Schema:
description: Node is the Schema for the nodes API.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: NodeSpec defines the desired state of Node.
properties:
clusteringEndpoint:
description: Endpoint at which we operate our clustering GRPC API.
This value is set on startup by the corresponding environment variable
(INTERNAL_API_ADVERTISE_ADDRESS).
type: string
gossipEndpoint:
description: Endpoint at which we operate our health checking service.
This value is set on startup by the corresponding environment variable
(GOSSIP_ADVERTISE_ADDRESS).
type: string
ioEndpoint:
description: Endpoint at which we operate our dataplane's dfs service.
(used for IO operations) This value is set on startup by the corresponding
environment variable (IO_ADVERTISE_ADDRESS).
type: string
supervisorEndpoint:
description: Endpoint at which we operate our dataplane's supervisor
service (used for sync). This value is set on startup by the corresponding
environment variable (SUPERVISOR_ADVERTISE_ADDRESS).
type: string
type: object
status:
description: NodeStatus defines the observed state of the Node.
properties:
capacity:
description: Capacity of the node.
properties:
available:
description: Byte value available to an unprivileged user
format: int64
type: integer
free:
description: Free bytes in the filesystem available to root user
format: int64
type: integer
total:
description: Total bytes in the filesystem
format: int64
type: integer
type: object
health:
description: Health of the node.
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Loading

0 comments on commit 486fa03

Please sign in to comment.