diff --git a/argocd-apps/extra-resources.yaml b/argocd-apps/extra-resources.yaml new file mode 100644 index 0000000..6b2ba61 --- /dev/null +++ b/argocd-apps/extra-resources.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: extra-resources + namespace: argocd +spec: + project: infra + source: + repoURL: https://gitea.dvirlabs.com/infra.git + targetRevision: HEAD + path: manifests/extra-resources + directory: + recurse: true + destination: + server: https://kubernetes.default.svc + namespace: infra + syncPolicy: + automated: + prune: true + selfHeal: true diff --git a/manifests/extra-resources/minio/ingress-api.yaml b/manifests/extra-resources/minio/ingress-api.yaml new file mode 100644 index 0000000..65b06f7 --- /dev/null +++ b/manifests/extra-resources/minio/ingress-api.yaml @@ -0,0 +1,24 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: minio-api + namespace: infra + annotations: + traefik.ingress.kubernetes.io/router.entrypoints: websecure + traefik.ingress.kubernetes.io/router.tls: "true" +spec: + ingressClassName: traefik + rules: + - host: s3.dvirlabs.com + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: minio + port: + number: 9000 + tls: + - hosts: + - s3.dvirlabs.com