Skip to content

Commit d19c9b5

Browse files
committed
Override ws-manager ConfigMap StorageClass and VolumeSnapshotClass name
Signed-off-by: JenTing Hsiao <[email protected]>
1 parent 00fb2a9 commit d19c9b5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.werft/jobs/build/installer/post-process.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,12 @@ while [ "$documentIndex" -le "$DOCS" ]; do
189189
WS_URL_TEMP_EXPR="s|\"urlTemplate\": \"https://{{ .Prefix }}.$CURRENT_WS_HOST_NAME\"|\"urlTemplate\": \"https://{{ .Prefix }}.$NEW_WS_HOST_NAME\"|"
190190
sed -i "$WS_URL_TEMP_EXPR" /tmp/"$NAME"overrides.yaml
191191

192+
WS_SC_TEMP_EXPR="s|\"storageClass\": \"\"|\"storageClass\": \"rook-ceph-block\"|"
193+
sed -i "$WS_SC_TEMP_EXPR" /tmp/"$NAME"overrides.yaml
194+
195+
WS_SC_TEMP_EXPR="s|\"snapshotClass\": \"\"|\"snapshotClass\": \"csi-rbdplugin-snapclass\"|"
196+
sed -i "$WS_SC_TEMP_EXPR" /tmp/"$NAME"overrides.yaml
197+
192198
# Change the port we use to connect to registry-facade
193199
# is expected to be reg.<branch-name-with-dashes>.staging.gitpod-dev.com:$REG_DAEMON_PORT
194200
# Change the port we use to connect to ws-daemon

0 commit comments

Comments
 (0)