diff --git a/bootstrap/argocd/argocd-server-deployment-patch.yaml b/bootstrap/argocd/argocd-server-deployment-patch.yaml new file mode 100644 index 00000000..434535de --- /dev/null +++ b/bootstrap/argocd/argocd-server-deployment-patch.yaml @@ -0,0 +1,12 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: argocd-server +spec: + template: + spec: + containers: + - name: argocd-server + command: + - argocd-server + - --insecure diff --git a/bootstrap/argocd/ingress.yaml b/bootstrap/argocd/ingress.yaml index 1adff434..1d4f2133 100644 --- a/bootstrap/argocd/ingress.yaml +++ b/bootstrap/argocd/ingress.yaml @@ -4,8 +4,6 @@ metadata: name: argocd-server labels: cert-manager.io/cluster-issuer: "selfsigned-cluster-issuer" - nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" - nginx.ingress.kubernetes.io/ssl-passthrough: "true" spec: rules: - host: argocd.khuedoan.com @@ -17,7 +15,7 @@ spec: service: name: argocd-server port: - name: https + name: http tls: - hosts: - argocd.khuedoan.com diff --git a/bootstrap/argocd/kustomization.yaml b/bootstrap/argocd/kustomization.yaml index 7c880552..75121835 100644 --- a/bootstrap/argocd/kustomization.yaml +++ b/bootstrap/argocd/kustomization.yaml @@ -7,4 +7,7 @@ resources: - https://raw.githubusercontent.com/argoproj-labs/applicationset/stable/manifests/install.yaml - ingress.yaml +patches: +- path: argocd-server-deployment-patch.yaml + namespace: argocd