File tree Expand file tree Collapse file tree 3 files changed +32
-2
lines changed Expand file tree Collapse file tree 3 files changed +32
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : v1
3
+ kind : Secret
4
+ metadata :
5
+ name : httpbin-secret
6
+ stringData :
7
+ username : hello
8
+ password : world
Original file line number Diff line number Diff line change 11
11
endpoint : https://httpbin.demo.aws.flanksource.com/basic-auth/hello/world
12
12
responseCodes : [200]
13
13
username :
14
- value : hello
14
+ valueFrom :
15
+ secretKeyRef :
16
+ name : httpbin-secret
17
+ key : username
15
18
password :
16
- value : world
19
+ valueFrom :
20
+ secretKeyRef :
21
+ name : httpbin-secret
22
+ key : password
Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments