Revert "Switch ArgoCD installer from Kustomize to Helm"

This reverts commit 0f27c0b9e3.
This commit is contained in:
Khue Doan 2021-08-24 02:16:21 +07:00
parent d4c1d24d48
commit 6ac5cfe84b
6 changed files with 39 additions and 23 deletions

View File

@ -7,8 +7,7 @@ default: argocd root-app
.PHONY: argocd
argocd:
helm dependencies update ./argocd
helm template ./argocd | kubectl apply -f -
kustomize build ./argocd | kubectl apply -f -
# TODO wait for argocd
.PHONY: root-app

View File

@ -1,7 +0,0 @@
apiVersion: v2
name: argo-cd
version: 3.13.0
dependencies:
- name: argo-cd
version: 3.13.0
repository: https://argoproj.github.io/argo-helm

View File

@ -0,0 +1,24 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
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
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: argocd-server
port:
name: https
tls:
- hosts:
- argocd.khuedoan.com
secretName: argocd-secret

View File

@ -0,0 +1,10 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
- https://raw.githubusercontent.com/argoproj-labs/applicationset/stable/manifests/install.yaml
- ingress.yaml
namespace: argocd

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: argocd

View File

@ -1,14 +0,0 @@
argo-cd:
server:
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: "selfsigned-cluster-issuer"
hosts:
- argocd.khuedoan.com
tls:
- secretName: argocd-tls-certificate
hosts:
- argocd.khuedoan.com
extraArgs:
- --insecure