Skip to content

Commit f054616

Browse files
Merge pull request #19366 from Danil-Grigorev/pre-create-fg-ccm
Step addition: Pre-create CCM feature gate during cluster install
2 parents 874a54b + dd63219 commit f054616

File tree

4 files changed

+66
-0
lines changed

4 files changed

+66
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
approvers:
2+
- danil-grigorev
3+
- elmiko
4+
- fedosin
5+
- joelspeed
6+
- mandre
7+
- mdbooth
8+
reviewers:
9+
- danil-grigorev
10+
- elmiko
11+
- fedosin
12+
- joelspeed
13+
- mandre
14+
- mdbooth
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
set -euo pipefail
3+
4+
cat <<EOF > ${SHARED_DIR}/manifest_feature_gate.yaml
5+
---
6+
apiVersion: config.openshift.io/v1
7+
kind: FeatureGate
8+
metadata:
9+
annotations:
10+
include.release.openshift.io/self-managed-high-availability: "true"
11+
include.release.openshift.io/single-node-developer: "true"
12+
release.openshift.io/create-only: "true"
13+
name: cluster
14+
spec:
15+
customNoUpgrade:
16+
enabled:
17+
- ExternalCloudProvider
18+
- CSIMigrationAWS
19+
- CSIMigrationOpenStack
20+
featureSet: CustomNoUpgrade
21+
EOF
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"path": "ccm/conf/pre-create-feature-gate/ccm-conf-pre-create-feature-gate-ref.yaml",
3+
"owners": {
4+
"approvers": [
5+
"danil-grigorev",
6+
"elmiko",
7+
"fedosin",
8+
"joelspeed",
9+
"mandre",
10+
"mdbooth"
11+
],
12+
"reviewers": [
13+
"danil-grigorev",
14+
"elmiko",
15+
"fedosin",
16+
"joelspeed",
17+
"mandre",
18+
"mdbooth"
19+
]
20+
}
21+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
ref:
2+
as: ccm-conf-pre-create-feature-gate
3+
commands: ccm-conf-pre-create-feature-gate-commands.sh
4+
from: cli
5+
resources:
6+
requests:
7+
cpu: 10m
8+
memory: 100Mi
9+
documentation: |-
10+
Apply custom featureGate configuration to cluster to enable CCM + CSI functionality

0 commit comments

Comments
 (0)