File tree 4 files changed +16
-12
lines changed
4 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ helm package deployment/kubernetes/backstage/helm/ --version $BUILD_TAG
19
19
helm -n backstage upgrade --install backstage backstage-$BUILD_TAG .tgz --set image.tag=$BUILD_TAG --create-namespace --wait
20
20
21
21
# Setup a port-forward from backstage:80 to localhost:8000
22
- kubectl -n backstage port-forward svc/backstage 8000:80
22
+ # kubectl -n backstage port-forward svc/backstage 8000:80
Original file line number Diff line number Diff line change @@ -7,4 +7,14 @@ metadata:
7
7
type : Opaque
8
8
stringData :
9
9
GITHUB_TOKEN : {{ .Values.secrets.ghToken }}
10
- BACKEND_URL : {{ .Values.secrets.backendUrl }}
10
+ BACKEND_URL : {{ .Values.secrets.backendUrl }}
11
+ ---
12
+ apiVersion : v1
13
+ kind : Secret
14
+ metadata :
15
+ name : {{ .Values.secrets.postgres }}
16
+ namespace : {{ .Values.namespace }}
17
+ type : Opaque
18
+ data :
19
+ POSTGRES_USER : {{ .Values.postgres.username }}
20
+ POSTGRES_PASSWORD : {{ .Values.postgres.password }}
Original file line number Diff line number Diff line change @@ -24,3 +24,7 @@ secrets:
24
24
postgres : ' postgres-secrets'
25
25
ghToken : ' dummy'
26
26
backendUrl : ' https://adityasinghal26-devcontainer-name-8000.preview.app.github.dev'
27
+
28
+ postgres :
29
+ username : ' YmFja3N0YWdl'
30
+ password : ' aHVudGVyMg=='
Original file line number Diff line number Diff line change @@ -4,16 +4,6 @@ metadata:
4
4
name : postgres-secrets
5
5
namespace : {{ .Values.namespace }}
6
6
type : Opaque
7
- data :
8
- POSTGRES_USER : {{ .Values.postgres.username }}
9
- POSTGRES_PASSWORD : {{ .Values.postgres.password }}
10
- ---
11
- apiVersion : v1
12
- kind : Secret
13
- metadata :
14
- name : postgres-secrets
15
- namespace : backstage
16
- type : Opaque
17
7
data :
18
8
POSTGRES_USER : {{ .Values.postgres.username }}
19
9
POSTGRES_PASSWORD : {{ .Values.postgres.password }}
You can’t perform that action at this time.
0 commit comments