diff --git a/argocd-settings/base/ingress.yaml b/argocd-settings/base/ingress.yaml new file mode 100644 index 0000000..1f0928d --- /dev/null +++ b/argocd-settings/base/ingress.yaml @@ -0,0 +1,22 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: argocd-server-ingress + namespace: argocd +spec: + ingressClassName: nginx + rules: + - host: argocd.honahuku.com + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: argocd-server + port: + number: 80 + tls: + - hosts: + - argocd.honahuku.com + secretName: argocd-server-tls diff --git a/argocd-settings/base/kustomization.yaml b/argocd-settings/base/kustomization.yaml index 9eefd1e..bfc2479 100644 --- a/argocd-settings/base/kustomization.yaml +++ b/argocd-settings/base/kustomization.yaml @@ -5,3 +5,4 @@ namespace: argocd resources: - configmap.yaml + - ingress.yaml