patch fix for missing configmap
This commit is contained in:
53
apps/kubernetes-dashboard/env/k3s-cluster/configmap.yaml
vendored
Normal file
53
apps/kubernetes-dashboard/env/k3s-cluster/configmap.yaml
vendored
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
"app.kubernetes.io/instance": "kubernetes-dashboard"
|
||||||
|
"app.kubernetes.io/managed-by": "Helm"
|
||||||
|
"app.kubernetes.io/part-of": "kubernetes-dashboard"
|
||||||
|
"argocd.argoproj.io/instance": "kubernetes-dashboard"
|
||||||
|
"helm.sh/chart": "kubernetes-dashboard-7.5.0"
|
||||||
|
name: kong-dbless-config
|
||||||
|
data:
|
||||||
|
kong.yml: |
|
||||||
|
_format_version: "3.0"
|
||||||
|
services:
|
||||||
|
- name: auth
|
||||||
|
host: kubernetes-dashboard-auth
|
||||||
|
port: 8000
|
||||||
|
protocol: http
|
||||||
|
routes:
|
||||||
|
- name: authLogin
|
||||||
|
paths:
|
||||||
|
- /api/v1/login
|
||||||
|
strip_path: false
|
||||||
|
- name: authCsrf
|
||||||
|
paths:
|
||||||
|
- /api/v1/csrftoken/login
|
||||||
|
strip_path: false
|
||||||
|
- name: authMe
|
||||||
|
paths:
|
||||||
|
- /api/v1/me
|
||||||
|
strip_path: false
|
||||||
|
- name: api
|
||||||
|
host: kubernetes-dashboard-api
|
||||||
|
port: 8000
|
||||||
|
protocol: http
|
||||||
|
routes:
|
||||||
|
- name: api
|
||||||
|
paths:
|
||||||
|
- /api
|
||||||
|
strip_path: false
|
||||||
|
- name: metrics
|
||||||
|
paths:
|
||||||
|
- /metrics
|
||||||
|
strip_path: false
|
||||||
|
- name: web
|
||||||
|
host: kubernetes-dashboard-web
|
||||||
|
port: 8000
|
||||||
|
protocol: http
|
||||||
|
routes:
|
||||||
|
- name: root
|
||||||
|
paths:
|
||||||
|
- /
|
||||||
|
strip_path: false
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
|
- ./configmap.yaml
|
||||||
- ../../base
|
- ../../base
|
||||||
- ./ingress.yaml
|
- ./ingress.yaml
|
||||||
Reference in New Issue
Block a user