what even is this
This commit is contained in:
10
apps/production/traefik/kustomization.yaml
Normal file
10
apps/production/traefik/kustomization.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: traefik-production
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- ../../base/traefik
|
||||
|
||||
patchesStrategicMerge:
|
||||
- traefik-patch.yaml
|
5
apps/production/traefik/namespace.yaml
Normal file
5
apps/production/traefik/namespace.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: traefik-production
|
22
apps/production/traefik/traefik-patch.yaml
Normal file
22
apps/production/traefik/traefik-patch.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: traefik
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: traefik
|
||||
args:
|
||||
- "--entryPoints.web.address=:8000/tcp"
|
||||
- "--entryPoints.websecure.address=:8443/tcp"
|
||||
- "--entryPoints.traefik.address=:9000/tcp"
|
||||
- "--api=true"
|
||||
- "--api.dashboard=true"
|
||||
- "--ping=true"
|
||||
- "--providers.kubernetescrd"
|
||||
- "--providers.kubernetescrd.allowCrossNamespace=true"
|
||||
- "--certificatesresolvers.myresolver.acme.storage=/data/acme.json"
|
||||
- "--certificatesresolvers.myresolver.acme.tlschallenge=true"
|
||||
- "--certificatesresolvers.myresolver.acme.email=jakub.hajek+webinar@traefik.io"
|
Reference in New Issue
Block a user