UNCLASSIFIED

Commit 0fd42958 authored by Grant Duncklee's avatar Grant Duncklee
Browse files

add imagePullSecrets to saml. add monitoring

parent 021fc9f5
Pipeline #238323 passed with stages
in 2 minutes and 25 seconds
......@@ -11,6 +11,11 @@ spec:
metadata:
creationTimestamp: null
spec:
activeDeadlineSeconds: 90
{{- with .Values.nexus.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8}}
{{- end }}
containers:
- image: registry1.dso.mil/ironbank/redhat/ubi/ubi8-minimal:latest
name: saml
......
......@@ -12,4 +12,5 @@ metadata:
{{- end }}
data:
admin.password: {{ randAlphaNum 12 | b64enc | quote }}
admin.username: YWRtaW4K
{{- end}}
{{- if .Values.monitoring.enabled }}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ template "nexus.fullname" . }}
labels:
release: monitoring
spec:
selector:
matchLabels:
name: {{ include "nexus.fullname" . }}
namespaceSelector:
matchNames:
- {{ .Release.Namespace }}
endpoints:
- interval: 30s
path: /service/metrics/data
port: nexus-ui
scheme: http
basicAuth:
password:
name: {{ template "nexus.name" . }}-secret
key: admin.password
username:
name: {{ template "nexus.name" . }}-secret
key: admin.user
jobLabel: {{ template "nexus.fullname" . }}-metrics
{{- end }}
......@@ -6,7 +6,7 @@ istio:
nexus:
gateways:
- "istio-system/main"
monioring:
monitoring:
enabled: false
license_key: ""
license:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment