mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-05 21:11:52 +07:00
Switch ArgoCD installer from Kustomize to Helm
This commit is contained in:
parent
3493f85e33
commit
0f27c0b9e3
@ -7,7 +7,8 @@ default: argocd root-app
|
|||||||
|
|
||||||
.PHONY: argocd
|
.PHONY: argocd
|
||||||
argocd:
|
argocd:
|
||||||
kustomize build ./argocd | kubectl apply -f -
|
helm dependencies update ./argocd
|
||||||
|
helm template ./argocd | kubectl apply -f -
|
||||||
# TODO wait for argocd
|
# TODO wait for argocd
|
||||||
|
|
||||||
.PHONY: root-app
|
.PHONY: root-app
|
||||||
|
7
bootstrap/argocd/Chart.yaml
Normal file
7
bootstrap/argocd/Chart.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: argo-cd
|
||||||
|
version: 3.13.0
|
||||||
|
dependencies:
|
||||||
|
- name: argo-cd
|
||||||
|
version: 3.13.0
|
||||||
|
repository: https://argoproj.github.io/argo-helm
|
@ -1,24 +0,0 @@
|
|||||||
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
|
|
@ -1,10 +0,0 @@
|
|||||||
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
|
|
@ -1,4 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: argocd
|
|
14
bootstrap/argocd/values.yaml
Normal file
14
bootstrap/argocd/values.yaml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
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
|
Loading…
Reference in New Issue
Block a user