change argo1 from haproxy-ingress to istiod

This commit is contained in:
James Andariese 2023-07-21 10:25:04 -05:00
parent bafc474a64
commit 3c573e0558
3 changed files with 46 additions and 39 deletions

View File

@ -1,25 +1,25 @@
# {{ if (index .Values "haproxy-ingress").enabled }} # {{ if (index .Values "istio-base").enabled }}
--- ---
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: "{{ .Release.Name }}-haproxy-ingress" name: "{{ .Release.Name }}-istio-base"
namespace: argocd namespace: argocd
finalizers: finalizers:
- resources-finalizer.argocd.argoproj.io - resources-finalizer.argocd.argoproj.io
spec: spec:
project: default project: default
source: source:
chart: haproxy-ingress chart: base
repoURL: https://haproxy-ingress.github.io/charts repoURL: https://istio-release.storage.googleapis.com/charts
targetRevision: 0.14.2 targetRevision: 1.18.1
helm: helm:
values: |- values: |-
{{ (index .Values "haproxy-ingress").values | nindent 8 }} {{ (index .Values "istio-base").values | default "{}" | nindent 8 }}
releaseName: haproxy-ingress releaseName: istio-base
destination: destination:
server: "https://kubernetes.default.svc" server: "https://kubernetes.default.svc"
namespace: haproxy-ingress namespace: istio-system
syncPolicy: syncPolicy:
automated: automated:
prune: true prune: true

View 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 }}

View File

@ -13,36 +13,6 @@ cert-manager:
ingressShim.defaultIssuerName: zerossl ingressShim.defaultIssuerName: zerossl
installCRDs: "true" 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: argo-cd:
crds: crds:
install: false install: false
@ -161,10 +131,12 @@ external-secrets:
timeoutSeconds: 1 timeoutSeconds: 1
periodSeconds: 5 periodSeconds: 5
istio-base: {enabled: true}
istiod: {enabled: true}
metallb: {enabled: true} metallb: {enabled: true}
pgo: {enabled: true} pgo: {enabled: true}
secrets: {enabled: true} secrets: {enabled: true}
sealed-secrets: {enabled: true} sealed-secrets: {enabled: true}
template-operator: {enabled: true}
stakater-reloader: {enabled: true} stakater-reloader: {enabled: true}
template-operator: {enabled: true}
trust-manager: {enabled: true} trust-manager: {enabled: true}