Skip to content

Commit

Permalink
Pgadmin
Browse files Browse the repository at this point in the history
  • Loading branch information
olevitt committed May 9, 2023
1 parent 0a8604c commit c30c583
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kubernetes/bonus/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Bonus

TODO
21 changes: 21 additions & 0 deletions kubernetes/bonus/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: pgadmin
spec:
selector:
matchLabels:
app: pgadmin
template:
metadata:
labels:
app: pgadmin
spec:
containers:
- name: pgadmin
image: dpage/pgadmin4
env:
- name: PGADMIN_DEFAULT_EMAIL
value: "[email protected]"
- name: PGADMIN_DEFAULT_PASSWORD
value: "admin"
19 changes: 19 additions & 0 deletions kubernetes/bonus/ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: pgadmin
labels:
name: pgadmin
spec:
ingressClassName: nginx
rules:
- host: pgadmin.intech.insee.io
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: pgadmin
port:
number: 80
10 changes: 10 additions & 0 deletions kubernetes/bonus/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: v1
kind: Service
metadata:
name: pgadmin
spec:
selector:
app: pgadmin
ports:
- port: 80
targetPort: 80

0 comments on commit c30c583

Please sign in to comment.