-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add new fixture for namespace creation
- Loading branch information
1 parent
c725fb7
commit 8bed8b9
Showing
3 changed files
with
41 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
apiVersion: canaries.flanksource.com/v1 | ||
kind: Canary | ||
metadata: | ||
name: namespace-creation | ||
namespace: default | ||
labels: | ||
"Expected-Fail": "false" | ||
spec: | ||
schedule: "@every 5m" | ||
kubernetesResource: | ||
- name: "namespace creation" | ||
namespace: "default" | ||
description: "create a namespace and pod in it" | ||
waitFor: | ||
timeout: 3m | ||
delete: true | ||
staticResources: | ||
- apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: test | ||
resources: | ||
- apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: httpbin | ||
namespace: test | ||
labels: | ||
app: httpbin | ||
spec: | ||
containers: | ||
- name: httpbin | ||
image: "kennethreitz/httpbin:latest" | ||
ports: | ||
- containerPort: 80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters