From c0c0526cdea520afd8d61f7415d8de4e5370449e Mon Sep 17 00:00:00 2001 From: Sebastian Eriksson Date: Fri, 8 Nov 2024 00:42:33 +0100 Subject: [PATCH] init --- ingress.yaml | 20 ++++++++++++++++++++ kustomization copy.yaml | 11 +++++++++++ kustomization.yaml | 10 ++++++++++ namespace.yaml | 6 ++++++ 4 files changed, 47 insertions(+) create mode 100644 ingress.yaml create mode 100644 kustomization copy.yaml create mode 100644 kustomization.yaml create mode 100644 namespace.yaml diff --git a/ingress.yaml b/ingress.yaml new file mode 100644 index 0000000..b892211 --- /dev/null +++ b/ingress.yaml @@ -0,0 +1,20 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: external-ingress + namespace: external-ingress + annotations: + nginx.ingress.kubernetes.io/rewrite-target: / + argocd.argoproj.io/sync-wave: "0" +spec: + rules: + - host: gitea.atlas.com + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: gitea + port: + number: 80 \ No newline at end of file diff --git a/kustomization copy.yaml b/kustomization copy.yaml new file mode 100644 index 0000000..cdb9821 --- /dev/null +++ b/kustomization copy.yaml @@ -0,0 +1,11 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: + - renovate + - gitea + - pihole + +generatorOptions: + annotations: + argocd.argoproj.io/sync-wave: "0" \ No newline at end of file diff --git a/kustomization.yaml b/kustomization.yaml new file mode 100644 index 0000000..54daeb8 --- /dev/null +++ b/kustomization.yaml @@ -0,0 +1,10 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: + - namespace.yaml + - ingress.yaml + +generatorOptions: + annotations: + argocd.argoproj.io/sync-wave: "0" \ No newline at end of file diff --git a/namespace.yaml b/namespace.yaml new file mode 100644 index 0000000..e081bae --- /dev/null +++ b/namespace.yaml @@ -0,0 +1,6 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: external-ingress + annotations: + argocd.argoproj.io/sync-wave: "0"