From 99eb03aa5fb6ce332994097a44a92b6c335252d2 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Mon, 5 Apr 2021 08:16:14 +0100 Subject: [PATCH] Added inlet for photos --- manifests/_apps/photos.yaml | 24 ++++++++++++++++++++++++ manifests/photos/photos.yaml | 25 +++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 manifests/_apps/photos.yaml create mode 100644 manifests/photos/photos.yaml diff --git a/manifests/_apps/photos.yaml b/manifests/_apps/photos.yaml new file mode 100644 index 0000000..88e5bf6 --- /dev/null +++ b/manifests/_apps/photos.yaml @@ -0,0 +1,24 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: photos + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: cluster.fun + destination: + namespace: photos + name: cluster-fun (scaleway) + source: + path: manifests/photos + repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" + targetRevision: HEAD + syncPolicy: + automated: {} + syncOptions: + - CreateNamespace=true + ignoreDifferences: + - kind: Secret + jsonPointers: + - /data diff --git a/manifests/photos/photos.yaml b/manifests/photos/photos.yaml new file mode 100644 index 0000000..7699574 --- /dev/null +++ b/manifests/photos/photos.yaml @@ -0,0 +1,25 @@ +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: photos + namespace: inlets + labels: + app: photos + annotations: + cert-manager.io/cluster-issuer: letsencrypt + traefik.ingress.kubernetes.io/frontend-entry-points: http,https + traefik.ingress.kubernetes.io/redirect-entry-point: https + traefik.ingress.kubernetes.io/redirect-permanent: "true" +spec: + tls: + - hosts: + - photos.cluster.fun + secretName: photos-ingress + rules: + - host: photos.cluster.fun + http: + paths: + - path: / + backend: + serviceName: auth-proxy + servicePort: 80