Skip to content

Commit

Permalink
feat: apisix dashbboard ingressroute
Browse files Browse the repository at this point in the history
  • Loading branch information
incubator4 committed Oct 25, 2023
1 parent fa8564b commit acad025
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
4 changes: 4 additions & 0 deletions apisix/dev/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- route.yaml
14 changes: 14 additions & 0 deletions apisix/dev/route.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: apisix-dashboard
namespace: guardian
spec:
entryPoints:
- websecure
routes:
- match: Host(`apisix-dashboard.dev.nsl.xyz`)
kind: Rule
services:
- name: apisix-dashboard
port: 80
10 changes: 5 additions & 5 deletions application_set.tf
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,11 @@ resource "argocd_application_set" "apisix" {
ref = "values"
}

# source {
# repo_url = var.repo_url
# target_revision = "HEAD"
# path = "apisix/{{cluster}}"
# }
source {
repo_url = var.repo_url
target_revision = "HEAD"
path = "apisix/{{cluster}}"
}

destination {
server = "{{url}}"
Expand Down

0 comments on commit acad025

Please sign in to comment.