1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-14 00:06:30 +00:00
prometheus-operator/test/framework/ressources/basic-auth-app-deployment.yaml
Huy Le 982277b0f2 prometheus: Load basic-auth secrets from ServiceMonitor namespace (#1619)
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
2018-07-23 19:50:12 +02:00

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