Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
geosphere-deploy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cspp_geo
geosphere
geosphere-deploy
Commits
dc1068dd
Verified
Commit
dc1068dd
authored
4 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Add admin password handling to postgres distribution
parent
4bc7bd29
No related branches found
Branches containing commit
Tags
r20210101_0326
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
helpers/deploy_postgis.sh
+2
-1
2 additions, 1 deletion
helpers/deploy_postgis.sh
with
2 additions
and
1 deletion
helpers/deploy_postgis.sh
+
2
−
1
View file @
dc1068dd
...
...
@@ -34,7 +34,8 @@ echo $sec_info
auth_sec
=
"
${
release_name
}
-postgresql"
if
[[
"
$sec_info
"
!=
""
]]
;
then
pw
=
$(
kubectl get secret
--namespace
$ns
$auth_sec
-o
jsonpath
=
"{.data.postgresql-password}"
|
base64
-d
)
;
EXTRA_ARGS
=
"--set postgresqlPassword=
$pw
"
;
admin_pw
=
$(
kubectl get secret
--namespace
$ns
$auth_sec
-o
jsonpath
=
"{.data.postgresql-postgres-password}"
|
base64
-d
)
;
EXTRA_ARGS
=
"--set postgresqlPassword=
$pw
--set postgresqlPostgresPassword=
$admin_pw
"
;
fi
echo
"Adding extra arguments:
$EXTRA_ARGS
"
helm repo add bitnami
"https://charts.bitnami.com/bitnami"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment