UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 7d3e07ab authored by Micah Nagel's avatar Micah Nagel
Browse files

Merge branch 'argocd-metrics-mtls' into 'master'

Argocd metrics mtls

Closes platform-one/big-bang/apps/core/argocd#57

See merge request platform-one/big-bang/bigbang!2221
parents 270042f7 76894d73
No related branches found
No related tags found
1 merge request!2221Argocd metrics mtls
Pipeline #1063580 passed with warnings
...@@ -26,6 +26,17 @@ controller: ...@@ -26,6 +26,17 @@ controller:
imagePullPolicy: {{ .Values.imagePullPolicy }} imagePullPolicy: {{ .Values.imagePullPolicy }}
imagePullSecrets: imagePullSecrets:
- name: private-registry - name: private-registry
# conditional passes only for default istio: enabled, mTLS: SCRICT, istio injection: enabled
{{- if and $istioInjection (eq (dig "istio" "mtls" "mode" "STRICT" .Values.addons.argocd.values) "STRICT") }}
metrics:
serviceMonitor:
scheme: https
tlsConfig:
caFile: /etc/prom-certs/root-cert.pem
certFile: /etc/prom-certs/cert-chain.pem
keyFile: /etc/prom-certs/key.pem
insecureSkipVerify: true
{{- end }}
dex: dex:
image: image:
...@@ -61,6 +72,16 @@ redis-bb: ...@@ -61,6 +72,16 @@ redis-bb:
selector: selector:
app.kubernetes.io/name: redis-bb app.kubernetes.io/name: redis-bb
app.kubernetes.io/instance: argocd-argocd app.kubernetes.io/instance: argocd-argocd
# conditional passes only for default istio: enabled, mTLS: SCRICT, istio injection: enabled
{{- if and $istioInjection (eq (dig "istio" "mtls" "mode" "STRICT" .Values.addons.argocd.values) "STRICT") }}
scheme: https
tlsConfig:
caFile: /etc/prom-certs/root-cert.pem
certFile: /etc/prom-certs/cert-chain.pem
keyFile: /etc/prom-certs/key.pem
insecureSkipVerify: true
{{- end }}
prometheusRule: prometheusRule:
enabled: true enabled: true
namespace: monitoring namespace: monitoring
...@@ -80,10 +101,32 @@ server: ...@@ -80,10 +101,32 @@ server:
config: config:
# Must be enabled for plugins included in PlatformOne image. # Must be enabled for plugins included in PlatformOne image.
kustomize.buildOptions: "--enable-alpha-plugins" kustomize.buildOptions: "--enable-alpha-plugins"
# conditional passes only for default istio: enabled, mTLS: SCRICT, istio injection: enabled
{{- if and $istioInjection (eq (dig "istio" "mtls" "mode" "STRICT" .Values.addons.argocd.values) "STRICT") }}
metrics:
serviceMonitor:
scheme: https
tlsConfig:
caFile: /etc/prom-certs/root-cert.pem
certFile: /etc/prom-certs/cert-chain.pem
keyFile: /etc/prom-certs/key.pem
insecureSkipVerify: true
{{- end }}
repoServer: repoServer:
image: image:
imagePullPolicy: {{ .Values.imagePullPolicy }} imagePullPolicy: {{ .Values.imagePullPolicy }}
# conditional passes only for default istio: enabled, mTLS: SCRICT, istio injection: enabled
{{- if and $istioInjection (eq (dig "istio" "mtls" "mode" "STRICT" .Values.addons.argocd.values) "STRICT") }}
metrics:
serviceMonitor:
scheme: https
tlsConfig:
caFile: /etc/prom-certs/root-cert.pem
certFile: /etc/prom-certs/cert-chain.pem
keyFile: /etc/prom-certs/key.pem
insecureSkipVerify: true
{{- end }}
istio: istio:
enabled: {{ .Values.istio.enabled }} enabled: {{ .Values.istio.enabled }}
......
...@@ -745,7 +745,7 @@ addons: ...@@ -745,7 +745,7 @@ addons:
git: git:
repo: https://repo1.dso.mil/platform-one/big-bang/apps/core/argocd.git repo: https://repo1.dso.mil/platform-one/big-bang/apps/core/argocd.git
path: "./chart" path: "./chart"
tag: "5.5.7-bb.1" tag: "5.5.7-bb.2"
# -- Flux reconciliation overrides specifically for the ArgoCD Package # -- Flux reconciliation overrides specifically for the ArgoCD Package
flux: {} flux: {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment