Skip to content

Commit

Permalink
up users
Browse files Browse the repository at this point in the history
  • Loading branch information
portelagabriel committed Sep 15, 2024
1 parent c79bdee commit ec9780b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Installed Plugins
- Github Auth
- Github Actions

#How to add new user?
- Create a user entity to match with the github user

To start the app, run:

```sh
Expand Down
10 changes: 8 additions & 2 deletions k8s/postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
apiVersion: apps/v1
kind: Deployment
metadata:
name: postgres
name: postgresdb
namespace: backstage
spec:
replicas: 1
Expand All @@ -38,6 +38,13 @@ spec:
labels:
app: postgres
spec:
initContainers:
- name: init-postgres
image: busybox
command: ["sh", "-c", "rm -rf /var/lib/postgres/data/*"]
volumeMounts:
- name: postgresdb
mountPath: /var/lib/postgres/data
containers:
- name: postgres
image: postgres:13.2-alpine
Expand All @@ -50,7 +57,6 @@ spec:
volumeMounts:
- mountPath: /var/lib/postgresql/data
name: postgresdb
subPath: data
volumes:
- name: postgresdb
persistentVolumeClaim:
Expand Down

0 comments on commit ec9780b

Please sign in to comment.