Skip to content

Commit

Permalink
Update workspace namespace default value for CR. (#42)
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
  • Loading branch information
AndrienkoAleksandr authored and nickboldt committed Feb 9, 2021
1 parent 9413bb1 commit c82f698
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/scripts/sync-che-olm-to-crw-olm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ for CSVFILE in ${TARGETDIR}/manifests/codeready-workspaces.csv.yaml; do
-e 's|"devfileRegistryImage":.".+"|"devfileRegistryImage": ""|' \
-e 's|"pluginRegistryImage":.".+"|"pluginRegistryImage": ""|' \
-e 's|"identityProviderImage":.".+"|"identityProviderImage": ""|' \
-e 's|"workspaceNamespaceDefault":.".*"|"workspaceNamespaceDefault": "<username>-codeready"|' \
\
-e "s|quay.io/eclipse/codeready-operator:${CHE_VERSION}|registry.redhat.io/codeready-workspaces/crw-2-rhel8-operator:${CRW_VERSION}|" \
-e "s|quay.io/eclipse/che-server:.+|registry.redhat.io/codeready-workspaces/server-rhel8:${CRW_VERSION}|" \
Expand Down
1 change: 1 addition & 0 deletions build/scripts/sync-che-operator-to-crw-operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ yq -y --arg updateName "${updateName}" --arg updateVal "${operator_insertions[$u
changed="$(cat "${TARGETDIR}/${d}" | \
yq -y '.spec.server.devfileRegistryImage=""|.spec.server.pluginRegistryImage=""' | \
yq -y '.spec.server.cheFlavor="codeready"' | \
yq -y '.spec.server.workspaceNamespaceDefault="<username>-codeready"' | \
yq -y '.spec.storage.pvcStrategy="per-workspace"' | \
yq -y '.spec.auth.identityProviderAdminUserName="admin"|.spec.auth.identityProviderImage=""' | \
yq -y 'del(.spec.k8s)')" && \
Expand Down

0 comments on commit c82f698

Please sign in to comment.