Skip to content

Commit 0dc417e

Browse files
authored
Configure LinkedIn in preview environments (#17110)
1 parent e001690 commit 0dc417e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

dev/preview/workflow/preview/deploy-gitpod.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,17 @@ yq d -i stripe-api-keys.secret.yaml metadata.resourceVersion
377377
diff-apply "${PREVIEW_K3S_KUBE_CONTEXT}" stripe-api-keys.secret.yaml
378378
rm -f stripe-api-keys.secret.yaml
379379

380+
#
381+
# configureLinkedIn
382+
#
383+
kubectl --kubeconfig "${DEV_KUBE_PATH}" --context "${DEV_KUBE_CONTEXT}" -n werft get secret linked-in -o yaml > linked-in.secret.yaml
384+
yq w -i linked-in.secret.yaml metadata.namespace "default"
385+
yq d -i linked-in.secret.yaml metadata.creationTimestamp
386+
yq d -i linked-in.secret.yaml metadata.uid
387+
yq d -i linked-in.secret.yaml metadata.resourceVersion
388+
diff-apply "${PREVIEW_K3S_KUBE_CONTEXT}" linked-in.secret.yaml
389+
rm -f linked-in.secret.yaml
390+
380391
#
381392
# configureSSHGateway
382393
#

0 commit comments

Comments
 (0)