Initial commit with the existing deployment files
Validate, publish, and deploy Brave Sync / validate (push) Failing after 15s
Validate, publish, and deploy Brave Sync / image (push) Skipped
Validate, publish, and deploy Brave Sync / chart (push) Skipped
Validate, publish, and deploy Brave Sync / deploy (push) Skipped
Validate, publish, and deploy Brave Sync / validate (push) Failing after 15s
Validate, publish, and deploy Brave Sync / image (push) Skipped
Validate, publish, and deploy Brave Sync / chart (push) Skipped
Validate, publish, and deploy Brave Sync / deploy (push) Skipped
This commit is contained in:
1 parent
199a9900ae
commit
ea50a260fa
24 files changed
+830
-2
No files matched your search
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
project_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)
|
||||
[[ "$(kubectl config current-context)" == kubernetes-admin@kubernetes ]] || {
|
||||
echo "Expected homelab context kubernetes-admin@kubernetes" >&2
|
||||
exit 1
|
||||
}
|
||||
kubectl apply --filename "${project_dir}/namespace.yaml"
|
||||
kubectl --namespace default get secret quay-pull-secret --output=json \
|
||||
| jq 'del(.metadata.uid, .metadata.resourceVersion, .metadata.creationTimestamp, .metadata.managedFields, .metadata.annotations, .metadata.ownerReferences) | .metadata.namespace = "brave-sync"' \
|
||||
| kubectl apply --filename - >/dev/null
|
||||
echo "brave-sync namespace and Quay pull secret are ready"
|
||||
Reference in new issue
Block a user