-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from edenlabllc/release/v1.22.0
Release/v1.22.0
- Loading branch information
Showing
15 changed files
with
358 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
# DEPRECATED: removed in favour of secrets-sync-operator | ||
|
||
set -e | ||
|
||
NAMESPACE=${1:-dagster} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
"$(dirname "${BASH_SOURCE}")/../run-tests.sh" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
export PATH="${HOME}/.local/bin:${PATH}" | ||
|
||
echo "Initializing cluster configuration..." | ||
rmk update | ||
rmk config init | ||
rmk cluster switch -f | ||
|
||
echo | ||
"$(dirname "${BASH_SOURCE}")/upgrade-releases.sh" | ||
|
||
echo | ||
"$(dirname "${BASH_SOURCE}")/upgrade-cluster.sh" | ||
|
||
echo | ||
"$(dirname "${BASH_SOURCE}")/upgrade-nodes.sh" | ||
|
||
echo | ||
"$(dirname "${BASH_SOURCE}")/run-tests.sh" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
source "$(dirname "${BASH_SOURCE}")/../upgrade-cluster.sh" | ||
|
||
echo "Upgrading K8S cluster iteratively..." | ||
upgrade_cluster "1.28" "v1.28.12-eksbuild.2" "v1.10.1-eksbuild.13" | ||
upgrade_cluster "1.29" "v1.29.0-minimal-eksbuild.1" "v1.11.1-eksbuild.4" | ||
|
||
echo | ||
echo "Provisioning latest AMI IDs and K8S version..." | ||
rmk cluster provision |
22 changes: 22 additions & 0 deletions
22
bin/k8s-upgrade/1.29/upgrade-ebs-csi-snapshot-scheduler.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
export PATH="${HOME}/.local/bin:${PATH}" | ||
|
||
readonly NAMESPACE="kube-system" | ||
readonly RELEASE_NAME="ebs-csi-snapshot-scheduler" | ||
|
||
readonly CRD_NAME="snapshotschedules.snapscheduler.backube" | ||
readonly CRD_ANNOTATIONS="meta.helm.sh/release-namespace=${NAMESPACE} meta.helm.sh/release-name=${RELEASE_NAME}" | ||
readonly CRD_LABELS="app.kubernetes.io/managed-by=Helm" | ||
|
||
echo "Checking whether ${RELEASE_NAME} release installed..." | ||
if [[ "$(rmk --log-level error release list -l "app=${RELEASE_NAME}" --output json | yq '.[0].installed')" != "true" ]]; then | ||
echo "Skipped." | ||
exit | ||
fi | ||
|
||
echo "Fixing annotations and labels of ${CRD_NAME} CRD of ${RELEASE_NAME} release..." | ||
kubectl -n "${NAMESPACE}" annotate --overwrite customresourcedefinition "${CRD_NAME}" ${CRD_ANNOTATIONS} | ||
kubectl -n "${NAMESPACE}" label --overwrite customresourcedefinition "${CRD_NAME}" ${CRD_LABELS} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
"$(dirname "${BASH_SOURCE}")/../upgrade-nodes.sh" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
export PATH="${HOME}/.local/bin:${PATH}" | ||
|
||
"$(dirname "${BASH_SOURCE}")/upgrade-ebs-csi-snapshot-scheduler.sh" | ||
|
||
echo | ||
echo "Synchronizing all releases..." | ||
rmk release sync |
File renamed without changes.
Oops, something went wrong.