mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 12:03:59 +00:00
chore: remove unused variable in init_gitlab.sh
This commit is contained in:
parent
14edd3038c
commit
20efd6de14
@ -1611,7 +1611,6 @@ if [[ "$MODE" == "k8s" ]]; then
|
||||
# GKE CSI normalization: prefer standard-rwo if it exists on cluster
|
||||
# or if the existing CR already uses it (avoiding drift loops).
|
||||
# This ensures that 'standard' and 'standard-rwo' are treated as equivalent.
|
||||
local _current_cr_sc
|
||||
_current_cr_sc=$(kubectl -n "$NAMESPACE" get gitlab "$GITLAB_RELEASE" -o jsonpath='{.spec.chart.values.global.persistence.storageClass}' 2>/dev/null || true)
|
||||
|
||||
if [[ -n "$_current_cr_sc" ]] && is_gke_standard_storage_equivalent "$_current_cr_sc" "standard"; then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user