mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 16:34:31 +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
|
# GKE CSI normalization: prefer standard-rwo if it exists on cluster
|
||||||
# or if the existing CR already uses it (avoiding drift loops).
|
# or if the existing CR already uses it (avoiding drift loops).
|
||||||
# This ensures that 'standard' and 'standard-rwo' are treated as equivalent.
|
# 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)
|
_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
|
if [[ -n "$_current_cr_sc" ]] && is_gke_standard_storage_equivalent "$_current_cr_sc" "standard"; then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user