Skip to content

Commit

Permalink
Fix local test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
motoki317 committed Jul 27, 2024
1 parent 445d8f4 commit 8c3ae1b
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 25 deletions.
4 changes: 4 additions & 0 deletions .local-dev/config/ns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ components:
type: traefik
traefik:
priorityOffset: 0
service:
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
tls:
type: traefik
traefik:
Expand Down
16 changes: 8 additions & 8 deletions .local-manifest/traefik/dashboard-ingress-route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ spec:
- websecure
routes:
- kind: Rule
match: Host(`traefik-dashboard.local.trapti.tech`)
match: Host(`traefik.local.trapti.tech`)
services:
- namespace: traefik
kind: Service
name: dashboard
port: dashboard
scheme: http
strategy: RoundRobin
weight: 1
- kind: TraefikService
name: dashboard@internal
- kind: Rule
match: Host(`traefik.local.trapti.tech`) && PathPrefix(`/api`)
services:
- kind: TraefikService
name: api@internal
13 changes: 0 additions & 13 deletions .local-manifest/traefik/dashboard-service.yaml

This file was deleted.

1 change: 0 additions & 1 deletion .local-manifest/traefik/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ resources:
- traefik-role-binding.yaml
- traefik-stateful-set.yaml
- traefik-service.yaml
- dashboard-service.yaml
- dashboard-ingress-route.yaml
10 changes: 8 additions & 2 deletions .local-manifest/traefik/traefik-cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ rules:
- ""
resources:
- services
- endpoints
- secrets
- nodes
verbs:
- get
- list
Expand All @@ -33,7 +33,6 @@ rules:
- update
- apiGroups:
- traefik.io
- traefik.containo.us
resources:
- middlewares
- middlewaretcps
Expand All @@ -49,3 +48,10 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- list
- watch
2 changes: 1 addition & 1 deletion .local-manifest/traefik/traefik-stateful-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:

containers:
- name: traefik
image: traefik:2.10
image: traefik:3.1
args:
- --api.insecure
- --providers.kubernetescrd
Expand Down

0 comments on commit 8c3ae1b

Please sign in to comment.