mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-14 00:06:30 +00:00
Basic-Auth Secrets for ServiceMonitor used to be loaded from the prometheus'namespace. With this change, Prometheus will load the secret from the servicemonitor namespace. The commit also includes a basic-auth image for the integration test
23 lines
452 B
YAML
23 lines
452 B
YAML
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: basic-auth-test-app
|
|
labels:
|
|
group: test
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
group: test
|
|
template:
|
|
metadata:
|
|
labels:
|
|
group: test
|
|
spec:
|
|
containers:
|
|
- name: example-app
|
|
image: quay.io/coreos/basic-auth-test-app:0.1.0
|
|
imagePullPolicy: IfNotPresent
|
|
ports:
|
|
- name: web
|
|
containerPort: 8080
|