Skip to content

Commit 7207449

Browse files
committed
chore: update fixtures
1 parent cd3d9d8 commit 7207449

File tree

3 files changed

+32
-2
lines changed

3 files changed

+32
-2
lines changed

fixtures/minimal/_setup.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
apiVersion: v1
3+
kind: Secret
4+
metadata:
5+
name: httpbin-secret
6+
stringData:
7+
username: hello
8+
password: world

fixtures/minimal/http_auth.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ spec:
1111
endpoint: https://httpbin.demo.aws.flanksource.com/basic-auth/hello/world
1212
responseCodes: [200]
1313
username:
14-
value: hello
14+
valueFrom:
15+
secretKeyRef:
16+
name: httpbin-secret
17+
key: username
1518
password:
16-
value: world
19+
valueFrom:
20+
secretKeyRef:
21+
name: httpbin-secret
22+
key: password
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
apiVersion: canaries.flanksource.com/v1
2+
kind: Canary
3+
metadata:
4+
name: http-basic-auth-static
5+
spec:
6+
http:
7+
- name: "basic auth fail"
8+
endpoint: https://httpbin.demo.aws.flanksource.com/basic-auth/hello/world
9+
responseCodes: [401]
10+
- name: "basic auth pass"
11+
endpoint: https://httpbin.demo.aws.flanksource.com/basic-auth/hello/world
12+
responseCodes: [200]
13+
username:
14+
value: hello
15+
password:
16+
value: world

0 commit comments

Comments
 (0)