You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# In this, we only do a find replace on a given line if we find workspaceHostSuffixRegex on the line
211
213
sed -i -e "/workspaceHostSuffixRegex/s/$CURRENT_WS_SUFFIX_REGEX/$DEV_BRANCH\\\\\\\\.staging\\\\\\\\.gitpod-dev\\\\\\\\.com/g" /tmp/"$NAME"overrides.yaml
@@ -216,7 +218,10 @@ while [ "$i" -le "$DOCS" ]; do
216
218
if [[ "ws-proxy"=="$NAME" ]] && [[ "$KIND"=="Service" ]];then
217
219
WORK="overrides for $NAME$KIND"
218
220
echo"$WORK"
219
-
yq w -i k8s.yaml -d "$i""metadata.annotations[cloud.google.com/neg]"'{"exposed_ports": {"22":{}}}'
221
+
# notice that current we use array index
222
+
yq w -i k8s.yaml -d "$i""spec.ports.(name==http-proxy).port" 80
223
+
yq w -i k8s.yaml -d "$i""spec.ports.(name==https-proxy).port" 443
224
+
yq w -i k8s.yaml -d "$i""metadata.annotations[cloud.google.com/neg]"'{"exposed_ports": {"22":{},"80":{},"443":{}}}'
Copy file name to clipboardExpand all lines: .werft/util/certs.ts
+1
Original file line number
Diff line number
Diff line change
@@ -134,6 +134,7 @@ export async function installCertficate(werft, params: InstallCertificateParams,
134
134
}
135
135
if(!notReadyYet){
136
136
werft.log('certificate',`copied certificate from "${params.certNamespace}/${params.certName}" to "${params.destinationNamespace}/${params.certSecretName}"`);
137
+
werft.done('certificate')
137
138
}else{
138
139
werft.fail('certificate',`failed to copy certificate from "${params.certNamespace}/${params.certName}" to "${params.destinationNamespace}/${params.certSecretName}"`)
0 commit comments