We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 031e074 commit b3f8ac9Copy full SHA for b3f8ac9
build-tools/cncluster
@@ -2175,6 +2175,8 @@ EOF
2175
_update_cluster_config "$deployment_config" "operatorDeployment"
2176
}
2177
2178
+###
2179
+
2180
subcommand_whitelist[psql]=""
2181
function subcmd_psql() {
2182
_cluster_must_exist
@@ -2268,7 +2270,7 @@ function subcmd_psql() {
2268
2270
local PASSWORD_REF
2269
2271
PASSWORD_REF=$(
2272
kubectl get deployment \
- --namespace sv-1 \
2273
+ --namespace "${NAMESPACE}" \
2274
--output 'jsonpath={.spec.template.spec.initContainers[].env[?(@.name == "PGPASSWORD")].valueFrom.secretKeyRef}' \
2275
"${APPLICATION}"
2276
)
0 commit comments