Commit bd1e76c4 by Sunny Committed by Denise Schannon

Update storageos-operator to version 0.2.12

parent 4df817d9
apiVersion: v1 apiVersion: v1
appVersion: "1.3.0" appVersion: "1.4.0"
description: Cloud Native storage for containers description: Cloud Native storage for containers
name: storageos-operator name: storageos-operator
version: 0.2.11 version: 0.2.12
tillerVersion: ">=2.10.0" tillerVersion: ">=2.10.0"
keywords: keywords:
- storage - storage
......
...@@ -150,7 +150,7 @@ Operator chart and their default values. ...@@ -150,7 +150,7 @@ Operator chart and their default values.
Parameter | Description | Default Parameter | Description | Default
--------- | ----------- | ------- --------- | ----------- | -------
`operator.image.repository` | StorageOS Operator container image repository | `storageos/cluster-operator` `operator.image.repository` | StorageOS Operator container image repository | `storageos/cluster-operator`
`operator.image.tag` | StorageOS Operator container image tag | `1.3.0` `operator.image.tag` | StorageOS Operator container image tag | `1.4.0`
`operator.image.pullPolicy` | StorageOS Operator container image pull policy | `IfNotPresent` `operator.image.pullPolicy` | StorageOS Operator container image pull policy | `IfNotPresent`
`podSecurityPolicy.enabled` | If true, create & use PodSecurityPolicy resources | `false` `podSecurityPolicy.enabled` | If true, create & use PodSecurityPolicy resources | `false`
`podSecurityPolicy.annotations` | Specify pod annotations in the pod security policy | `{}` `podSecurityPolicy.annotations` | Specify pod annotations in the pod security policy | `{}`
...@@ -172,7 +172,7 @@ Parameter | Description | Default ...@@ -172,7 +172,7 @@ Parameter | Description | Default
`cluster.toleration.value` | Value of the pod toleration parameter | `cluster.toleration.value` | Value of the pod toleration parameter |
`cluster.disableTelemetry` | If true, no telemetry data will be collected from the cluster | `false` `cluster.disableTelemetry` | If true, no telemetry data will be collected from the cluster | `false`
`cluster.images.node.repository` | StorageOS Node container image repository | `storageos/node` `cluster.images.node.repository` | StorageOS Node container image repository | `storageos/node`
`cluster.images.node.tag` | StorageOS Node container image tag | `1.3.0` `cluster.images.node.tag` | StorageOS Node container image tag | `1.4.0`
`cluster.csi.enable` | If true, CSI driver is enabled | `true` `cluster.csi.enable` | If true, CSI driver is enabled | `true`
`cluster.csi.deploymentStrategy` | Whether CSI helpers should be deployed as a `deployment` or `statefulset` | `deployment` `cluster.csi.deploymentStrategy` | Whether CSI helpers should be deployed as a `deployment` or `statefulset` | `deployment`
......
...@@ -32,7 +32,7 @@ questions: ...@@ -32,7 +32,7 @@ questions:
type: string type: string
label: StorageOS Operator Image Name label: StorageOS Operator Image Name
- variable: operator.image.tag - variable: operator.image.tag
default: "1.3.0" default: "1.4.0"
description: "StorageOS Operator image tag" description: "StorageOS Operator image tag"
type: string type: string
label: StorageOS Operator Image Tag label: StorageOS Operator Image Tag
...@@ -73,7 +73,7 @@ questions: ...@@ -73,7 +73,7 @@ questions:
type: string type: string
label: StorageOS Node Container Image Name label: StorageOS Node Container Image Name
- variable: cluster.images.node.tag - variable: cluster.images.node.tag
default: "1.3.0" default: "1.4.0"
description: "StorageOS Node container image tag" description: "StorageOS Node container image tag"
type: string type: string
label: StorageOS Node Container Image Tag label: StorageOS Node Container Image Tag
......
...@@ -12,31 +12,74 @@ spec: ...@@ -12,31 +12,74 @@ spec:
plural: jobs plural: jobs
singular: job singular: job
scope: Namespaced scope: Namespaced
version: v1
validation: validation:
openAPIV3Schema: openAPIV3Schema:
properties: properties:
apiVersion: 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/api-conventions.md#resources'
type: string type: string
kind: 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/api-conventions.md#types-kinds'
type: string type: string
metadata: {} metadata:
type: object
spec: spec:
properties: properties:
image: args:
type: string description: Args is an array of strings passed as an argument to the
args: {} job container.
mountPath: items:
type: string
type: array
completionWord:
description: CompletionWord is the word that's looked for in the pod
logs to find out if a DaemonSet Pod has completed its task.
type: string type: string
hostPath: hostPath:
description: HostPath is the path in the host that's mounted into a
job container.
type: string type: string
completionWord: image:
description: Image is the container image to run as the job.
type: string type: string
labelSelector: labelSelector:
description: LabelSelector is the label selector for the job Pods.
type: string type: string
nodeSelectorTerms: {} mountPath:
tolerations: {} description: MountPath is the path in the job container where a volume
is mounted.
type: string
nodeSelectorTerms:
description: NodeSelectorTerms is the set of placement of the job pods
using node affinity requiredDuringSchedulingIgnoredDuringExecution.
items:
type: object
type: array
tolerations:
description: Tolerations is to set the placement of storageos pods using
pod toleration.
items:
type: object
type: array
required:
- image
- args
- mountPath
- hostPath
- completionWord
type: object
status: status:
properties: properties:
completed: completed:
description: Completed indicates the complete status of job.
type: boolean type: boolean
type: object
version: v1
versions:
- name: v1
served: true
storage: true
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: nfsservers.storageos.com
annotations:
"helm.sh/hook": crd-install
spec:
additionalPrinterColumns:
- JSONPath: .status.phase
description: Status of the NFS server.
name: status
type: string
- JSONPath: .spec.resources.requests.storage
description: Capacity of the NFS server.
name: capacity
type: string
- JSONPath: .status.remoteTarget
description: Remote target address of the NFS server.
name: target
type: string
- JSONPath: .status.accessModes
description: Access modes supported by the NFS server.
name: access modes
type: string
- JSONPath: .spec.storageClassName
description: StorageClass used for creating the NFS volume.
name: storageclass
type: string
- JSONPath: .metadata.creationTimestamp
name: age
type: date
group: storageos.com
names:
kind: NFSServer
listKind: NFSServerList
plural: nfsservers
shortNames:
- nfsserver
singular: nfsserver
scope: Namespaced
validation:
openAPIV3Schema:
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/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/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
properties:
annotations:
additionalProperties:
type: string
description: The annotations-related configuration to add/set on each
Pod related object.
type: object
export:
description: The parameters to configure the NFS export
properties:
name:
description: Name of the export
type: string
persistentVolumeClaim:
description: PVC from which the NFS daemon gets storage for sharing
type: object
server:
description: The NFS server configuration
properties:
accessMode:
description: Reading and Writing permissions on the export Valid
values are "ReadOnly", "ReadWrite" and "none"
type: string
squash:
description: This prevents the root users connected remotely
from having root privileges Valid values are "none", "rootid",
"root", and "all"
type: string
type: object
type: object
mountOptions:
description: PV mount options. Not validated - mount of the PVs will
simply fail if one is invalid.
items:
type: string
type: array
nfsContainer:
description: NFSContainer is the container image to use for the NFS
server.
type: string
persistentVolumeReclaimPolicy:
description: Reclamation policy for the persistent volume shared to
the user's pod.
type: string
resources:
description: Resources represents the minimum resources required
type: object
storageClassName:
description: StorageClassName is the name of the StorageClass used by
the NFS volume.
type: string
tolerations:
description: Tolerations is to set the placement of NFS server pods
using pod toleration.
items:
type: object
type: array
type: object
status:
properties:
accessModes:
description: AccessModes is the access modes supported by the NFS server.
type: string
phase:
description: 'Phase is a simple, high-level summary of where the NFS
Server is in its lifecycle. Phase will be set to Ready when the NFS
Server is ready for use. It is intended to be similar to the PodStatus
Phase described at: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.14/#podstatus-v1-core There
are five possible phase values: - Pending: The NFS Server has been
accepted by the Kubernetes system, but one or more of the components
has not been created. This includes time before being scheduled
as well as time spent downloading images over the network, which
could take a while. - Running: The NFS Server has been bound to
a node, and all of the dependencies have been created. - Succeeded:
All NFS Server dependencies have terminated in success, and will
not be restarted. - Failed: All NFS Server dependencies in the pod
have terminated, and at least one container has terminated in
failure. The container either exited with non-zero status or was
terminated by the system. - Unknown: For some reason the state of
the NFS Server could not be obtained, typically due to an error
in communicating with the host of the pod.'
type: string
remoteTarget:
description: RemoteTarget is the connection string that clients can
use to access the shared filesystem.
type: string
type: object
version: v1
versions:
- name: v1
served: true
storage: true
{{- if .Values.podSecurityPolicy.enabled }} {{- if .Values.podSecurityPolicy.enabled }}
apiVersion: extensions/v1beta1 apiVersion: policy/v1beta1
kind: PodSecurityPolicy kind: PodSecurityPolicy
metadata: metadata:
name: {{ template "storageos.fullname" . }}-psp name: {{ template "storageos.fullname" . }}-psp
......
...@@ -15,6 +15,7 @@ rules: ...@@ -15,6 +15,7 @@ rules:
- storageosclusters - storageosclusters
- storageosupgrades - storageosupgrades
- jobs - jobs
- nfsservers
verbs: verbs:
- "*" - "*"
- apiGroups: - apiGroups:
...@@ -36,6 +37,7 @@ rules: ...@@ -36,6 +37,7 @@ rules:
- get - get
- update - update
- create - create
- patch
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
...@@ -114,9 +116,10 @@ rules: ...@@ -114,9 +116,10 @@ rules:
verbs: verbs:
- list - list
- watch - watch
# OpenShift specific rule.
- apiGroups: - apiGroups:
- security.openshift.io - security.openshift.io
resourceNames:
- privileged
resources: resources:
- securitycontextconstraints - securitycontextconstraints
verbs: verbs:
...@@ -125,8 +128,6 @@ rules: ...@@ -125,8 +128,6 @@ rules:
- update - update
- get - get
- use - use
resourceNames:
- privileged
--- ---
......
...@@ -12,20 +12,37 @@ spec: ...@@ -12,20 +12,37 @@ spec:
plural: storageosupgrades plural: storageosupgrades
singular: storageosupgrade singular: storageosupgrade
scope: Namespaced scope: Namespaced
version: v1
validation: validation:
openAPIV3Schema: openAPIV3Schema:
properties: properties:
apiVersion: 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/api-conventions.md#resources'
type: string type: string
kind: 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/api-conventions.md#types-kinds'
type: string type: string
metadata: {} metadata:
type: object
spec: spec:
properties: properties:
newImage: newImage:
description: NewImage is the new StorageOS node container image.
type: string type: string
required:
- newImage
type: object
status: status:
properties: properties:
completed: completed:
description: Completed is the status of upgrade process.
type: boolean type: boolean
type: object
version: v1
versions:
- name: v1
served: true
storage: true
...@@ -27,7 +27,7 @@ operator: ...@@ -27,7 +27,7 @@ operator:
image: image:
repository: storageos/cluster-operator repository: storageos/cluster-operator
tag: 1.3.0 tag: 1.4.0
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# cluster-specific configuation parameters. # cluster-specific configuation parameters.
...@@ -88,7 +88,7 @@ cluster: ...@@ -88,7 +88,7 @@ cluster:
# [Docker Hub](https://hub.docker.com/r/storageos/node/). # [Docker Hub](https://hub.docker.com/r/storageos/node/).
node: node:
repository: storageos/node repository: storageos/node
tag: 1.3.0 tag: 1.4.0
csi: csi:
enable: true enable: true
...@@ -147,6 +147,7 @@ cleanup: ...@@ -147,6 +147,7 @@ cleanup:
- "storageos:csi-provisioner" - "storageos:csi-provisioner"
- "storageos:pod-fencer" - "storageos:pod-fencer"
- "storageos:scheduler-extender" - "storageos:scheduler-extender"
- "storageos:init"
- name: clusterrolebinding - name: clusterrolebinding
command: command:
- "clusterrolebinding" - "clusterrolebinding"
...@@ -156,6 +157,7 @@ cleanup: ...@@ -156,6 +157,7 @@ cleanup:
- "storageos:k8s-driver-registrar" - "storageos:k8s-driver-registrar"
- "storageos:pod-fencer" - "storageos:pod-fencer"
- "storageos:scheduler-extender" - "storageos:scheduler-extender"
- "storageos:init"
- name: storageclass - name: storageclass
command: command:
- "storageclass" - "storageclass"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment