Skip to content

Commit

Permalink
chore: update fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
adityathebe committed Oct 1, 2024
1 parent 12f69b6 commit 46f76f5
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
8 changes: 8 additions & 0 deletions fixtures/minimal/_setup.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
apiVersion: v1
kind: Secret
metadata:
name: httpbin-secret
stringData:
username: hello
password: world
10 changes: 8 additions & 2 deletions fixtures/minimal/http_auth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ spec:
endpoint: https://httpbin.demo.aws.flanksource.com/basic-auth/hello/world
responseCodes: [200]
username:
value: hello
valueFrom:
secretKeyRef:
name: httpbin-secret
key: username
password:
value: world
valueFrom:
secretKeyRef:
name: httpbin-secret
key: password
16 changes: 16 additions & 0 deletions fixtures/minimal/http_auth_static.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: http-basic-auth-static
spec:
http:
- name: "basic auth fail"
endpoint: https://httpbin.demo.aws.flanksource.com/basic-auth/hello/world
responseCodes: [401]
- name: "basic auth pass"
endpoint: https://httpbin.demo.aws.flanksource.com/basic-auth/hello/world
responseCodes: [200]
username:
value: hello
password:
value: world

0 comments on commit 46f76f5

Please sign in to comment.