Commit 788abf5a by Simon Croome Committed by Guangbo

Bump to storageos-operator 1.2.0 and node 1.2.1

parent 0d9db671
apiVersion: v1 apiVersion: v1
appVersion: "1.1.0" appVersion: "1.2.0"
description: Cloud Native storage for containers description: Cloud Native storage for containers
name: storageos-operator name: storageos-operator
version: 0.1.0 version: 0.2.0
keywords: keywords:
- storage - storage
- block-storage - block-storage
......
...@@ -148,9 +148,9 @@ Operator chart and their default values. ...@@ -148,9 +148,9 @@ Operator chart and their default values.
Parameter | Description | Default Parameter | Description | Default
--------- | ----------- | ------- --------- | ----------- | -------
`operator.image.repository` | StorageOSCluster container image repository | `storageos/cluster-operator` `operator.image.repository` | StorageOS Operator container image repository | `storageos/cluster-operator`
`operator.image.tag` | StorageOSCluster container image tag | `1.1.0` `operator.image.tag` | StorageOS Operator container image tag | `1.2.0`
`operator.image.pullPolicy` | StorageOSCluster 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 | `{}`
`cluster.create` | If true, auto-create the StorageOS cluster | `true` `cluster.create` | If true, auto-create the StorageOS cluster | `true`
...@@ -171,8 +171,9 @@ Parameter | Description | Default ...@@ -171,8 +171,9 @@ 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.2.0` `cluster.images.node.tag` | StorageOS Node container image tag | `1.2.1`
`cluster.csi.enable` | If true, CSI driver is enabled | `true` `cluster.csi.enable` | If true, CSI driver is enabled | `true`
`cluster.csi.deploymentStrategy` | Whethe CSI helpers should be deployed as a `deployment` or `statefulset` | `deployment`
## Deleting a StorageOS Cluster ## Deleting a StorageOS Cluster
......
...@@ -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.1.0" default: "1.2.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.2.0" default: "1.2.1"
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
......
...@@ -124,6 +124,7 @@ spec: ...@@ -124,6 +124,7 @@ spec:
{{- range .command }} {{- range .command }}
- {{ . | quote }} - {{ . | quote }}
{{- end }} {{- end }}
- --ignore-not-found=true
restartPolicy: Never restartPolicy: Never
backoffLimit: 4 backoffLimit: 4
......
...@@ -22,6 +22,7 @@ rules: ...@@ -22,6 +22,7 @@ rules:
resources: resources:
- statefulsets - statefulsets
- daemonsets - daemonsets
- deployments
verbs: verbs:
- "*" - "*"
- apiGroups: - apiGroups:
...@@ -99,7 +100,20 @@ rules: ...@@ -99,7 +100,20 @@ rules:
verbs: verbs:
- create - create
- delete - delete
# OpenShift specific rule.
- apiGroups:
- security.openshift.io
resources:
- securitycontextconstraints
verbs:
- create
- delete
- update
- get
- use
resourceNames:
- privileged
--- ---
# Bind operator service account to storageos-operator role # Bind operator service account to storageos-operator role
......
...@@ -22,6 +22,7 @@ spec: ...@@ -22,6 +22,7 @@ spec:
csi: csi:
enable: {{ .Values.cluster.csi.enable }} enable: {{ .Values.cluster.csi.enable }}
deploymentStrategy: {{ .Values.cluster.csi.deploymentStrategy }}
{{- if .Values.cluster.sharedDir }} {{- if .Values.cluster.sharedDir }}
sharedDir: {{ .Values.cluster.sharedDir }} sharedDir: {{ .Values.cluster.sharedDir }}
......
...@@ -41,6 +41,8 @@ spec: ...@@ -41,6 +41,8 @@ spec:
type: string type: string
namespace: namespace:
type: string type: string
k8sDistro:
type: string
disableFencing: disableFencing:
type: boolean type: boolean
disableTelemetry: disableTelemetry:
...@@ -57,6 +59,8 @@ spec: ...@@ -57,6 +59,8 @@ spec:
type: string type: string
csiExternalAttacherContainer: csiExternalAttacherContainer:
type: string type: string
csiLivenessProbeContainer:
type: string
csi: csi:
properties: properties:
enable: enable:
...@@ -67,6 +71,8 @@ spec: ...@@ -67,6 +71,8 @@ spec:
type: boolean type: boolean
enableNodePublishCreds: enableNodePublishCreds:
type: boolean type: boolean
deploymentStrategy:
type: string
service: service:
properties: properties:
name: name:
......
...@@ -27,7 +27,7 @@ operator: ...@@ -27,7 +27,7 @@ operator:
image: image:
repository: storageos/cluster-operator repository: storageos/cluster-operator
tag: 1.1.0 tag: 1.2.0
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# cluster-specific configuation parameters. # cluster-specific configuation parameters.
...@@ -88,10 +88,11 @@ cluster: ...@@ -88,10 +88,11 @@ 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.2.0 tag: 1.2.1
csi: csi:
enable: true enable: true
deploymentStrategy: deployment
# The following is used for cleaning up unmanaged cluster resources when # The following is used for cleaning up unmanaged cluster resources when
# auto-install is enabled. # auto-install is enabled.
...@@ -104,6 +105,10 @@ cleanup: ...@@ -104,6 +105,10 @@ cleanup:
command: command:
- "statefulset" - "statefulset"
- "storageos-statefulset" - "storageos-statefulset"
- name: csi-helper
command:
- "deployment"
- "storageos-csi-helper"
- name: serviceaccount - name: serviceaccount
command: command:
- "serviceaccount" - "serviceaccount"
......
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