Skip to content

Commit

Permalink
add 'single-node-production-edge' annotations to CVO manifests.
Browse files Browse the repository at this point in the history
This adds annotations for the single-node-production-edge cluster profile. There's a growing requirement from several customers to enable creation of single-node (not high-available) Openshift clusters.
In stage one (following openshift/enhancements#504) there should be no implication on components logic.
In the next stage, the component's behavior will match a non high-availability profile if the customer is specifically interested in one.
This PR is separate from the 'single-node-developer' work, which will implement a different behavior and is currently on another stage of implementation.

For more info, please refer to the enhancement link and participate in the discussion.
  • Loading branch information
osherdp committed Dec 6, 2020
1 parent 3a7d2f5 commit 98d652f
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
openshift.io/node-selector: ""
include.release.openshift.io/single-node-production-edge: "true"
labels:
openshift.io/cluster-monitoring: "true"
name: openshift-cluster-storage-operator
1 change: 1 addition & 0 deletions manifests/02_csi_driver_operators_namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ metadata:
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
openshift.io/node-selector: ""
include.release.openshift.io/single-node-production-edge: "true"
1 change: 1 addition & 0 deletions manifests/03_credentials_request_aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
namespace: openshift-cloud-credential-operator
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
include.release.openshift.io/single-node-production-edge: "true"
spec:
secretRef:
name: ebs-cloud-credentials
Expand Down
1 change: 1 addition & 0 deletions manifests/03_credentials_request_cinder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
namespace: openshift-cloud-credential-operator
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
include.release.openshift.io/single-node-production-edge: "true"
spec:
secretRef:
name: openstack-cloud-credentials
Expand Down
1 change: 1 addition & 0 deletions manifests/03_credentials_request_gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
namespace: openshift-cloud-credential-operator
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
include.release.openshift.io/single-node-production-edge: "true"
spec:
secretRef:
name: gcp-pd-cloud-credentials
Expand Down
1 change: 1 addition & 0 deletions manifests/03_credentials_request_manila.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
namespace: openshift-cloud-credential-operator
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
include.release.openshift.io/single-node-production-edge: "true"
spec:
secretRef:
name: manila-cloud-credentials
Expand Down
1 change: 1 addition & 0 deletions manifests/03_credentials_request_ovirt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
namespace: openshift-cloud-credential-operator
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
include.release.openshift.io/single-node-production-edge: "true"
spec:
providerSpec:
apiVersion: cloudcredential.openshift.io/v1
Expand Down
1 change: 1 addition & 0 deletions manifests/06_operator_cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
release.openshift.io/create-only: "true"
include.release.openshift.io/single-node-production-edge: "true"
spec:
managementState: Managed
logLevel: Normal
1 change: 1 addition & 0 deletions manifests/07_service_account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ metadata:
namespace: openshift-cluster-storage-operator
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
include.release.openshift.io/single-node-production-edge: "true"
1 change: 1 addition & 0 deletions manifests/08_operator_rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ metadata:
addonmanager.kubernetes.io/mode: Reconcile
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
include.release.openshift.io/single-node-production-edge: "true"
subjects:
- kind: ServiceAccount
name: cluster-storage-operator
Expand Down
1 change: 1 addition & 0 deletions manifests/09_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
namespace: openshift-cluster-storage-operator
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
include.release.openshift.io/single-node-production-edge: "true"
spec:
replicas: 1
selector:
Expand Down
1 change: 1 addition & 0 deletions manifests/10_cluster_operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
name: storage
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
include.release.openshift.io/single-node-production-edge: "true"
spec:
managementState: Managed
status:
Expand Down

0 comments on commit 98d652f

Please sign in to comment.