Skip to content

Commit

Permalink
[stable/jiva]: update jiva charts to 2.9.0 release
Browse files Browse the repository at this point in the history
- Add upgradetask CRD
- Update README and values.yaml

Signed-off-by: prateekpandey14 <[email protected]>
  • Loading branch information
prateekpandey14 authored and kmova committed May 15, 2021
1 parent e378b21 commit 50a1a0d
Show file tree
Hide file tree
Showing 4 changed files with 269 additions and 12 deletions.
6 changes: 3 additions & 3 deletions deploy/helm/charts/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ description: Jiva-Operator helm chart for Kubernetes
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 2.8.3
version: 2.9.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 2.8.0
appVersion: 2.9.0
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/openebs/icon/color/openebs-icon-color.png
home: http://www.openebs.io/
keywords:
Expand All @@ -23,7 +23,7 @@ sources:

dependencies:
- name: localpv-provisioner
version: "2.8.1"
version: "2.9.0"
repository: "https://openebs.github.io/dynamic-localpv-provisioner"
condition: openebsLocalpv.enabled

Expand Down
8 changes: 4 additions & 4 deletions deploy/helm/charts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ By default this chart installs additional, dependent charts:

| Repository | Name | Version |
|------------|------|---------|
| https://openebs.github.io/dynamic-localpv-provisioner | localpv-provisioner | 2.8.0 |
| https://openebs.github.io/dynamic-localpv-provisioner | localpv-provisioner | 2.9.0 |

**Note:** Find detailed Dynamic LocalPV Provisioner Helm chart configuration options [here](https://github.com/openebs/dynamic-localpv-provisioner/blob/develop/deploy/helm/charts/README.md).

Expand Down Expand Up @@ -165,7 +165,7 @@ helm upgrade openebs-jiva openebs-jiva/jiva -n openebs \
| jivaOperator.image.pullPolicy | string | `"IfNotPresent"` | Jiva operator image pull policy |
| jivaOperator.image.registry | string | `nil` | Jiva operator image registry |
| jivaOperator.image.repository | string | `"openebs/jiva-operator"` | Jiva operator image repository |
| jivaOperator.image.tag | string | `"2.8.0"` | Jiva operator image tag |
| jivaOperator.image.tag | string | `"2.9.0"` | Jiva operator image tag |
| jivaOperator.nodeSelector | object | `{}` | Jiva operator pod nodeSelector|
| jivaOperator.podAnnotations | object | `{}` | Jiva operator pod annotations |
| jivaOperator.resources | object | `{}` | Jiva operator pod resources |
Expand All @@ -174,12 +174,12 @@ helm upgrade openebs-jiva openebs-jiva/jiva -n openebs \
| jivaCSIPlugin.image.pullPolicy | string | `"IfNotPresent"` | Jiva CSI driver image pull policy |
| jivaCSIPlugin.image.registry | string | `nil` | Jiva CSI driver image registry |
| jivaCSIPlugin.image.repository | string | `"openebs/jiva-csi"` | Jiva CSI driver image repository |
| jivaCSIPlugin.image.tag | string | `"2.8.0"` | Jiva CSI driver image tag |
| jivaCSIPlugin.image.tag | string | `"2.9.0"` | Jiva CSI driver image tag |
| jivaCSIPlugin.name | string | `"jiva-csi-plugin"` | Jiva CSI driver container name |
| jivaCSIPlugin.remount | string | `"true"` | Jiva CSI driver remount feature, enabled by default |
| rbac.create | bool | `true` | Enable RBAC |
| rbac.pspEnabled | bool | `false` | Enable PodSecurityPolicy |
| release.version | string | `"2.8.0"` | Openebs CStor release version |
| release.version | string | `"2.9.0"` | Openebs CStor release version |
| serviceAccount.annotations | object | `{}` | Service Account annotations |
| serviceAccount.csiController.create | bool | `true` | Enable CSI Controller ServiceAccount |
| serviceAccount.csiController.name | string | `"openebs-jiva-csi-controller-sa"` | CSI Controller ServiceAccount name |
Expand Down
257 changes: 257 additions & 0 deletions deploy/helm/charts/crds/upgradetask.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,257 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.0
creationTimestamp: null
name: upgradetasks.openebs.io
spec:
group: openebs.io
names:
kind: UpgradeTask
listKind: UpgradeTaskList
plural: upgradetasks
singular: upgradetask
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: UpgradeTask represents an upgrade task
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: Spec i.e. specifications of the UpgradeTask
properties:
cstorPool:
description: CStorPool contains the details of the cstor pool to be
upgraded
properties:
options:
description: Options can be used to change the default behaviour
of upgrade
properties:
ignoreStepsOnError:
description: IgnoreStepsOnError allows to ignore steps which
failed
items:
type: string
type: array
type: object
poolName:
description: PoolName contains the name of the cstor pool to be
upgraded
type: string
type: object
cstorPoolCluster:
description: CStorPoolCluster contains the details of the storage
pool claim to be upgraded
properties:
cspcName:
description: CSPCName contains the name of the storage pool claim
to be upgraded
type: string
options:
description: Options can be used to change the default behaviour
of upgrade
properties:
ignoreStepsOnError:
description: IgnoreStepsOnError allows to ignore steps which
failed
items:
type: string
type: array
type: object
type: object
cstorPoolInstance:
description: CStorPoolInstance contains the details of the cstor pool
to be upgraded
properties:
cspiName:
description: CSPCName contains the name of the storage pool claim
to be upgraded
type: string
options:
description: Options can be used to change the default behaviour
of upgrade
properties:
ignoreStepsOnError:
description: IgnoreStepsOnError allows to ignore steps which
failed
items:
type: string
type: array
type: object
type: object
cstorVolume:
description: CStorVolume contains the details of the cstor volume
to be upgraded
properties:
options:
description: Options can be used to change the default behaviour
of upgrade
properties:
ignoreStepsOnError:
description: IgnoreStepsOnError allows to ignore steps which
failed
items:
type: string
type: array
type: object
pvName:
description: PVName contains the name of the pv associated with
the cstor volume
type: string
type: object
fromVersion:
description: FromVersion is the current version of the resource.
type: string
imagePrefix:
description: ImagePrefix contains the url prefix of the image url.
This field is optional. If not present upgrade takes the previously
present ImagePrefix.
type: string
imageTag:
description: ImageTag contains the customized tag for ToVersion if
any. This field is optional. If not present upgrade takes the ToVersion
as the ImageTag
type: string
jivaVolume:
description: JivaVolume contains the details of the jiva volume to
be upgraded
properties:
options:
description: Options can be used to change the default behaviour
of upgrade
properties:
ignoreStepsOnError:
description: IgnoreStepsOnError allows to ignore steps which
failed
items:
type: string
type: array
type: object
pvName:
description: PVName contains the name of the pv associated with
the jiva volume
type: string
type: object
options:
description: Options contains the optional flags that can be passed
during upgrade.
properties:
timeout:
description: Timeout is maximum seconds to wait at any given step
in the upgrade
type: integer
type: object
storagePoolClaim:
description: StoragePoolClaim contains the details of the storage
pool claim to be upgraded
properties:
options:
description: Options can be used to change the default behaviour
of upgrade
properties:
ignoreStepsOnError:
description: IgnoreStepsOnError allows to ignore steps which
failed
items:
type: string
type: array
type: object
spcName:
description: SPCName contains the name of the storage pool claim
to be upgraded
type: string
type: object
toVersion:
description: ToVersion is the upgraded version of the resource. It
should be same as the version of control plane components version.
type: string
required:
- fromVersion
- toVersion
type: object
status:
description: Status of UpgradeTask
properties:
completedTime:
description: CompletedTime of Upgrade
format: date-time
nullable: true
type: string
phase:
description: Phase indicates if a upgradeTask is started, success
or errored
type: string
retries:
description: Retries is the number of times the job attempted to upgrade
the resource
type: integer
startTime:
description: StartTime of Upgrade
format: date-time
nullable: true
type: string
upgradeDetailedStatuses:
description: UpgradeDetailedStatuses contains the list of statuses
of each step
items:
description: UpgradeDetailedStatuses represents the latest available
observations of a UpgradeTask current state.
properties:
lastUpdatedAt:
description: LastUpdatedTime of a UpgradeStep
format: date-time
nullable: true
type: string
message:
description: A human-readable message indicating details about
why the upgradeStep is in this state
type: string
phase:
description: Phase indicates if the UpgradeStep is waiting,
errored or completed.
type: string
reason:
description: Reason is a brief CamelCase string that describes
any failure and is meant for machine parsing and tidy display
in the CLI
type: string
startTime:
description: StartTime of a UpgradeStep
format: date-time
nullable: true
type: string
step:
description: UpgradeStep is the current step being performed
for a particular resource upgrade
type: string
type: object
type: array
type: object
required:
- spec
type: object
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
---
10 changes: 5 additions & 5 deletions deploy/helm/charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Declare variables to be passed into your templates.

release:
version: "2.8.0"
version: "2.9.0"


# If false, openebs localpv sub-chart will not be installed
Expand All @@ -25,20 +25,20 @@ jivaOperator:
image:
registry:
repository: openebs/jiva
tag: 2.8.0
tag: 2.9.0
replica:
image:
registry:
repository: openebs/jiva
tag: 2.8.0
tag: 2.9.0
image:
# Make sure that registry name end with a '/'.
# For example : quay.io/ is a correct value here and quay.io is incorrect
registry:
repository: openebs/jiva-operator
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: 2.8.0
tag: 2.9.0
annotations: {}
resyncInterval: "30"
podAnnotations: {}
Expand Down Expand Up @@ -111,7 +111,7 @@ jivaCSIPlugin:
repository: openebs/jiva-csi
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: 2.8.0
tag: 2.9.0
remount: "true"

csiNode:
Expand Down

0 comments on commit 50a1a0d

Please sign in to comment.