feat: add bootstrap/argo-cd kustomize
This commit is contained in:
parent
c7d899a628
commit
3363ccd115
2 changed files with 32 additions and 0 deletions
26
bootstrap/argo-cd/ingress.yaml
Normal file
26
bootstrap/argo-cd/ingress.yaml
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
nginx.ingress.kubernetes.io/server-snippet: |
|
||||||
|
proxy_ssl_verify off;
|
||||||
|
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
|
||||||
|
name: argocd
|
||||||
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
|
rules:
|
||||||
|
- host: argocd.ops.mareshq.com
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: argocd-server
|
||||||
|
port:
|
||||||
|
number: 443
|
||||||
|
pathType: Prefix
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- argocd.ops.mareshq.com
|
||||||
|
secretName: argocd-ingress-tls
|
||||||
6
bootstrap/argo-cd/kustomization.yaml
Normal file
6
bootstrap/argo-cd/kustomization.yaml
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: argocd
|
||||||
|
resources:
|
||||||
|
- github.com/argoproj/argo-cd/manifests/ha/cluster-install?ref=v2.9.1
|
||||||
|
- ./ingress.yaml
|
||||||
Reference in a new issue