change argo1 from haproxy-ingress to istiod
This commit is contained in:
parent
bafc474a64
commit
3c573e0558
|
@ -1,25 +1,25 @@
|
|||
# {{ if (index .Values "haproxy-ingress").enabled }}
|
||||
# {{ if (index .Values "istio-base").enabled }}
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: "{{ .Release.Name }}-haproxy-ingress"
|
||||
name: "{{ .Release.Name }}-istio-base"
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
chart: haproxy-ingress
|
||||
repoURL: https://haproxy-ingress.github.io/charts
|
||||
targetRevision: 0.14.2
|
||||
chart: base
|
||||
repoURL: https://istio-release.storage.googleapis.com/charts
|
||||
targetRevision: 1.18.1
|
||||
helm:
|
||||
values: |-
|
||||
{{ (index .Values "haproxy-ingress").values | nindent 8 }}
|
||||
releaseName: haproxy-ingress
|
||||
{{ (index .Values "istio-base").values | default "{}" | nindent 8 }}
|
||||
releaseName: istio-base
|
||||
destination:
|
||||
server: "https://kubernetes.default.svc"
|
||||
namespace: haproxy-ingress
|
||||
namespace: istio-system
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
35
argo1/templates/istiod.yaml
Normal file
35
argo1/templates/istiod.yaml
Normal file
|
@ -0,0 +1,35 @@
|
|||
# {{ if (index .Values "istiod").enabled }}
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: "{{ .Release.Name }}-istiod"
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
chart: istiod
|
||||
repoURL: https://istio-release.storage.googleapis.com/charts
|
||||
targetRevision: 1.18.1
|
||||
helm:
|
||||
values: |-
|
||||
{{ (index .Values "istiod").values | default "{}" | nindent 8 }}
|
||||
releaseName: istiod
|
||||
destination:
|
||||
server: "https://kubernetes.default.svc"
|
||||
namespace: istio-system
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
retry:
|
||||
limit: 10
|
||||
backoff:
|
||||
duration: 5s
|
||||
factor: 2
|
||||
maxDuration: 3m0s
|
||||
# {{- end }}
|
|
@ -13,36 +13,6 @@ cert-manager:
|
|||
ingressShim.defaultIssuerName: zerossl
|
||||
installCRDs: "true"
|
||||
|
||||
haproxy-ingress:
|
||||
enabled: true
|
||||
values: |-
|
||||
controller:
|
||||
config:
|
||||
fronting-proxy-port: "81"
|
||||
use-proxy-protocol: "true"
|
||||
extraArgs:
|
||||
watch-ingress-without-class: ""
|
||||
ingressClass: haproxy
|
||||
ingressClassResource:
|
||||
default: true
|
||||
enabled: true
|
||||
parameters: {}
|
||||
logs:
|
||||
enabled: true
|
||||
metrics:
|
||||
enabled: true
|
||||
service:
|
||||
annotations:
|
||||
metallb.universe.tf/allow-shared-ip: 172.16.17.81
|
||||
metallb.universe.tf/loadBalancerIPs: 172.16.17.81
|
||||
type: LoadBalancer
|
||||
stats:
|
||||
enabled: true
|
||||
tcp:
|
||||
"81": ""
|
||||
serviceAccount:
|
||||
create: true
|
||||
|
||||
argo-cd:
|
||||
crds:
|
||||
install: false
|
||||
|
@ -161,10 +131,12 @@ external-secrets:
|
|||
timeoutSeconds: 1
|
||||
periodSeconds: 5
|
||||
|
||||
istio-base: {enabled: true}
|
||||
istiod: {enabled: true}
|
||||
metallb: {enabled: true}
|
||||
pgo: {enabled: true}
|
||||
secrets: {enabled: true}
|
||||
sealed-secrets: {enabled: true}
|
||||
template-operator: {enabled: true}
|
||||
stakater-reloader: {enabled: true}
|
||||
template-operator: {enabled: true}
|
||||
trust-manager: {enabled: true}
|
||||
|
|
Loading…
Reference in New Issue
Block a user