Added psql
This commit is contained in:
15
k8s/core/kubernetes-dashboard/kustomization.yaml
Normal file
15
k8s/core/kubernetes-dashboard/kustomization.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- service-account.yaml
|
||||
|
||||
helmCharts:
|
||||
- name: kubernetes-dashboard
|
||||
repo: https://kubernetes.github.io/dashboard
|
||||
version: 7.11.1
|
||||
releaseName: authentik
|
||||
namespace: authentik
|
||||
valuesFile: values.yaml
|
||||
includeCRDs: true
|
||||
|
20
k8s/core/kubernetes-dashboard/service-account.yaml
Normal file
20
k8s/core/kubernetes-dashboard/service-account.yaml
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: kubernetes-dashboard
|
||||
namespace: kubernetes-dashboard
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: kubernetes-dashboard
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: cluster-admin
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: kubernetes-dashboard
|
||||
namespace: kubernetes-dashboard
|
||||
|
22
k8s/core/kubernetes-dashboard/values.yaml
Normal file
22
k8s/core/kubernetes-dashboard/values.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
kong:
|
||||
proxy:
|
||||
http:
|
||||
enabled: true
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: traefik
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt
|
||||
acme.cert-manager.io/http01-edit-in-place: "true"
|
||||
traefik.ingress.kubernetes.io/router.middlewares: kube-system-https-redirect@kubernetescrd
|
||||
hosts:
|
||||
- host: master.hexor.cy
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
tls:
|
||||
- secretName: dashboard-tls
|
||||
hosts:
|
||||
- master.hexor.cy
|
||||
service:
|
||||
externalPort: 80
|
Reference in New Issue
Block a user