From 0d83d6a98280384b2e184e503da6fb1d9703655a Mon Sep 17 00:00:00 2001 From: James Andariese Date: Wed, 19 Jul 2023 16:27:41 -0500 Subject: [PATCH] change git to istio --- budibase/application.yaml | 51 ++++++++++++++++++++++++++++++++++++++ external-services/git.yaml | 6 ++++- 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 budibase/application.yaml diff --git a/budibase/application.yaml b/budibase/application.yaml new file mode 100644 index 0000000..011ca02 --- /dev/null +++ b/budibase/application.yaml @@ -0,0 +1,51 @@ +--- +apiVersion: v1 +kind: Namespace +metadata: + labels: + wildcard-tls.kn8v.com/copy: "true" + name: budibase +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: budibase + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + destination: + server: "https://kubernetes.default.svc" + namespace: budibase + syncPolicy: + automated: + prune: true + selfHeal: true + source: + chart: budibase + repoURL: https://budibase.github.io/budibase/ + targetRevision: 2.8.10 + helm: + values: |- + globals: + appVersion: v2.8.10 + ingress: + nginx: false + className: haproxy + annotations: + haproxy-ingress.github.io/ssl-redirect: "true" + hosts: + - host: bb.strudelline.net + paths: + - path: / + pathType: Prefix + backend: + service: + name: proxy-service + port: + number: 10000 + tls: + - hosts: + - bb.strudelline.net + secretName: wildcard-tls diff --git a/external-services/git.yaml b/external-services/git.yaml index 52901eb..eb86770 100644 --- a/external-services/git.yaml +++ b/external-services/git.yaml @@ -6,6 +6,10 @@ metadata: spec: externalName: noctowl.cascade.strudelline.net type: ExternalName + ports: + - name: http + protocol: TCP + port: 57924 --- apiVersion: networking.k8s.io/v1 kind: Ingress @@ -16,7 +20,7 @@ metadata: haproxy-ingress.github.io/ssl-redirect: "true" #haproxy-ingress.github.io/backend-protocol: "h1-ssl" spec: - ingressClassName: haproxy + ingressClassName: istio rules: - host: git.strudelline.net http: