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: ...@@ -11,6 +11,11 @@ spec:
metadata: metadata:
creationTimestamp: null creationTimestamp: null
spec: spec:
activeDeadlineSeconds: 90
{{- with .Values.nexus.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8}}
{{- end }}
containers: containers:
- image: registry1.dso.mil/ironbank/redhat/ubi/ubi8-minimal:latest - image: registry1.dso.mil/ironbank/redhat/ubi/ubi8-minimal:latest
name: saml name: saml
......
...@@ -12,4 +12,5 @@ metadata: ...@@ -12,4 +12,5 @@ metadata:
{{- end }} {{- end }}
data: data:
admin.password: {{ randAlphaNum 12 | b64enc | quote }} admin.password: {{ randAlphaNum 12 | b64enc | quote }}
admin.username: YWRtaW4K
{{- end}} {{- 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: ...@@ -6,7 +6,7 @@ istio:
nexus: nexus:
gateways: gateways:
- "istio-system/main" - "istio-system/main"
monioring: monitoring:
enabled: false enabled: false
license_key: "" license_key: ""
license: 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