Skip to content

Configure LinkedIn in preview environments #17110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions dev/preview/workflow/preview/deploy-gitpod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,17 @@ yq d -i stripe-api-keys.secret.yaml metadata.resourceVersion
diff-apply "${PREVIEW_K3S_KUBE_CONTEXT}" stripe-api-keys.secret.yaml
rm -f stripe-api-keys.secret.yaml

#
# configureLinkedIn
#
kubectl --kubeconfig "${DEV_KUBE_PATH}" --context "${DEV_KUBE_CONTEXT}" -n werft get secret linked-in -o yaml > linked-in.secret.yaml
yq w -i linked-in.secret.yaml metadata.namespace "default"
yq d -i linked-in.secret.yaml metadata.creationTimestamp
yq d -i linked-in.secret.yaml metadata.uid
yq d -i linked-in.secret.yaml metadata.resourceVersion
diff-apply "${PREVIEW_K3S_KUBE_CONTEXT}" linked-in.secret.yaml
rm -f linked-in.secret.yaml

#
# configureSSHGateway
#
Expand Down