add adminer
This commit is contained in:
parent
450560d28d
commit
75ee6d9344
21
clusters/my-cluster/flux-system/adminer/deployment.yaml
Normal file
21
clusters/my-cluster/flux-system/adminer/deployment.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: adminer
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: adminer
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: adminer
|
||||
spec:
|
||||
containers:
|
||||
- name: adminer
|
||||
image: adminer
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 8080
|
18
clusters/my-cluster/flux-system/adminer/ingress.yaml
Normal file
18
clusters/my-cluster/flux-system/adminer/ingress.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: adminer
|
||||
annotations:
|
||||
ingress.kubernetes.io/ssl-redirect: "false"
|
||||
spec:
|
||||
rules:
|
||||
- host: adminer.kube.fr
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: adminer
|
||||
port:
|
||||
number: 80
|
@ -0,0 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: adminer
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- deployment.yaml
|
||||
- ingress.yaml
|
||||
- service.yaml
|
4
clusters/my-cluster/flux-system/adminer/namespace.yaml
Normal file
4
clusters/my-cluster/flux-system/adminer/namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
kind: Namespace
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: adminer
|
12
clusters/my-cluster/flux-system/adminer/service.yaml
Normal file
12
clusters/my-cluster/flux-system/adminer/service.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: adminer
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app: adminer
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
targetPort: 1080
|
@ -3,3 +3,4 @@ kind: Kustomization
|
||||
resources:
|
||||
- gotk-components.yaml
|
||||
- gotk-sync.yaml
|
||||
- adminer
|
||||
|
Loading…
Reference in New Issue
Block a user