Basic operator

This helm chart is used to configure various operator using subscription (openshift) or CRD (k8s) ressources.

Requirements and guidelines

Read the startx helm-repository homepage for more information on how to use theses resources.

Deploy this helm chart on openshift

1. Connect to your Openshift cluster

oc login -t <token> <cluster-url>

2. Install the repository

helm repo add startx https://startxfr.github.io/helm-repository/packages/

3. Get information about this chart

helm show chart startx/operator

4. Install this chart

helm install startx/operator

Values dictionary

context values dictionary

Key Default Description
context.scope default Name of the global scope for this application (organisational tenant)
context.cluster localhost Name of the cluster running this application (plateform tenant)
context.environment dev Name of the environement for this application (ex: dev, factory, preprod or prod)
context.component demo Component name of this application (logical tenant)
context.app operator Application name (functionnal tenant, default use Chart name)
context.version 0.0.1 Version name of this application (default use Chart appVersion)

operator values dictionary

Key Default Description
subscription.enabled true Enable deployment of the subscription
subscription.name default name of the subscription (mandatory)
subscription.namespace default namespace of the subscription
subscription.version v0.1.0 version of the operator to deploy (mandatory)
subscription.operator object Configuration of the CRW operator
subscription.operator.channel latest The CRW channel to use
subscription.operator.name default name of the operator (if not set, use the subscription name)
subscription.operator.csv default name of the CSV (if not set, use the subscription name)
subscription.operator.source.name redhat-operators name of the operator source
subscription.operator.source.namespace openshift-marketplace Namespace of the operator source
operatorGroup.enabled true Enable deployment of an operatorGroup for the subscription
operatorGroup.name default name of the operatorGroup (if not set, use the subscription name)
operatorGroup.namespace default namespace of the operatorGroup (if not set, use the subscription namespace)
operatorGroup.providedAPIs default.local ist of the provided APIs (mandatory if enabled)

Values files

Default values file (values.yaml)

Complete deployment of an operator with the following characteristics :

  • 1 subscription named codeready-workspaces in namespace openshift-workspaces
  • operator named codeready-workspaces
  • version 2.3.0 of crwoperator CSV
  • source is redhat-operators from openshift-marketplace namespace
  • 1 operatorGroup named codeready-workspaces in namespace openshift-workspaces
# base configuration running default configuration
helm install startx/operator

Tekton v1.0.1 values file (values-tekton-1.0.1.yaml)

Complete deployment of a tekton v1.0.1 operator with the following characteristics :

  • 1 subscription named openshift-pipelines-operator-rh in namespace openshift-workspaces
  • operator named openshift-pipelines-operator-rh
  • version 1.0.1 of openshift-pipelines-operator CSV
  • source is redhat-operators from openshift-marketplace namespace
# base configuration running tekton v1.0.1 configuration
helm install startx/operator -f https://raw.githubusercontent.com/startxfr/helm-repository/master/charts/operator/values-tekton-1.0.1.yaml

CRW v2.3.0 values file (values-crw-2.3.0.yaml)

Complete deployment of a CRW v2.3.0 operator with the following characteristics :

  • 1 subscription named codeready-workspaces in namespace openshift-workspaces
  • operator named codeready-workspaces
  • version 2.3.0 of crwoperator CSV
  • source is redhat-operators from openshift-marketplace namespace
  • 1 operatorGroup named codeready-workspaces in namespace openshift-workspaces
# base configuration running CRW v2.3.0 configuration
helm install startx/operator -f https://raw.githubusercontent.com/startxfr/helm-repository/master/charts/operator/values-crw-2.3.0.yaml

3scale v0.6.0 values file (values-3scale-0.6.0.yaml)

Complete deployment of a 3scale v0.6.0 operator with the following characteristics :

  • 1 subscription named 3scale-operator in namespace startx-3scale
  • operator named 3scale-operator
  • version 0.6.0 of 3scale-operator CSV
  • source is redhat-operators from openshift-marketplace namespace
  • 1 operatorGroup named 3scale-operator in namespace startx-3scale
# base configuration running 3scale v0.6.0 configuration
helm install startx/operator -f https://raw.githubusercontent.com/startxfr/helm-repository/master/charts/operator/values-3scale-0.6.0.yaml

History

Release Date Description
0.2.36 2020-10-31 Initial commit for this helm chart with default value example
0.2.37 2020-10-31 Enable subscription and operatorGroup creation and add values file for tekton-1.0.1, crw-2.3.0 and scale-0.6.0 deployment
0.2.51 2020-10-31 Common release for all chart
0.3.0 2020-10-31 Stable 0.3 release
0.3.1 2020-11-01 Move to go templates for notes generation
0.3.3 2020-11-01 Test new scope for note template helper
0.3.21 2020-11-06 Align all charts on the repository release 0.3.21
0.3.23 2020-11-07 Add engineVersion to all chart (set to 4.5.12) and update all appVersion with the relevant information
0.3.29 2020-11-07 Improve helm hook ordering cordinated with higher cluster-xxx helm chart depending on this chart
0.3.65 2020-11-09 Add hooked option to enable/disable use of helm hook (default is disabled)
0.3.115 2020-11-12 Release basic chart stability updates
0.3.117 2020-11-12 Move to 0.3.115 basic chart dependencies
0.3.119 2020-11-14 Add target option for the operator group to define if targetNamespace should be local to the project or global (no namespace)
0.3.131 2020-11-14 Stable values examples
0.3.135 2020-11-23 Improve documentation for all examples charts
0.3.141 2020-11-24 publish stable update for the full repository
0.3.142 2021-01-23 Update for OCP 4.6.13
0.3.151 2021-01-23 Upgrade chart to OCP version 4.3.13
0.3.153 2021-01-23 publish stable update for the full repository
0.3.155 2021-01-23 Align operator chart to 0.3.155 release
0.3.165 2021-01-23 Upgrade all chart dependencies
0.3.167 2021-01-24 Remove conditional dependencies for argocd compatibility in HA environments
0.3.169 2021-01-24 Move to 0.3.155 dependencies
0.3.171 2021-01-24 Align basic chart release to 0.3.171
0.3.187 2021-02-13 Align basic chart release to 0.3.187
0.3.189 2021-02-13 Align all basic charts to 0.3.189
0.3.191 2021-02-13 Update cluster chart dependencies to 0.3.189
0.3.193 2021-02-20 Stable base helm-chart
0.3.199 2021-02-20 prepare alpha release of 0.4 and update dependencies charts
0.3.201 2021-02-20 Update icon and image for charts
0.3.203 2021-02-21 Upgrade chart release informations
0.3.205 2021-04-19 Align release of core charts
0.3.207 2021-04-19 Core chart dependencies moved to v0.3.205
0.3.209 2021-05-06 Prepare upgrade to 4.7 and add template for AFD
0.3.215 2021-05-06 Align all chart to release 0.3.215
0.3.217 2021-05-10 Align basic chart to release 0.3.217
0.3.225 2021-05-10 Update all chart to use new RBAC naming
0.3.303 2021-06-02 Update documentation and align all charts to release 0.3.303
0.3.301 2021-06-03 Stable basic chart aligned to 0.3.301
0.3.305 2021-06-04 publish stable update for the full repository
0.3.343 2021-06-06 publish stable update for the full repository
0.3.381 2021-06-10 Align example and cluster charts dependencies to basic chart version 0.3.377
0.3.390 2021-06-12 Prepare 0.4.0 release
0.3.423 2021-06-17 Prepare the v0.4 release. Stable aligned version of all charts
0.3.431 2021-07-05 Move to dependencies 1.18.0
0.3.480 2021-08-03 publish stable update for the full repository
0.3.998 2021-08-04 publish stable update for the full repository
0.3.999 2021-08-04 Release stable version 0.3.999 align with ocp 4.7.13
7.22.1 2021-08-04 Move to release 7.22.1 to align versionning with ocp release cycle
7.22.2 2021-08-04 Move helm dependencies to a 7.x.x release model
7.22.3 2021-08-05 publish stable update for the full repository
7.22.5 2021-08-05 publish stable update for the full repository
7.22.6 2021-08-05 Stable version for chart dependencies
7.22.7 2021-08-05 Stable for OCP version 4.7.22
7.22.12 2021-09-23 publish stable update for the full repository
7.22.15 2021-10-05 Align core charts to release 7.22.15
7.22.21 2021-10-05 ServiceAccount and ImagePullSecrets managed by project chart
7.22.23 2021-10-06 Align basic charts to version 7.22.23
7.22.25 2021-10-06 publish stable update for the full repository
7.22.27 2021-10-06 publish stable update for the full repository
8.13.1 2021-10-06 Stable release for OCP 4.8.13 version
8.13.3 2021-10-08 Improve code execution, syntax and introduce the ACS helm-chart
8.13.5 2021-10-21 publish stable update for the full repository
8.13.7 2021-10-21 publish stable update for the full repository
8.13.8 2021-10-21 Adding first draft of json schema