Skip to content

Commit

Permalink
finish prepping ci namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jspaleta committed Nov 21, 2020
1 parent 6ec70c2 commit d542c3a
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ api_version: core/v2
metadata:
name: cpu
labels:
sensu.io/workflow: sensu_flow
sensu.io/workflow: ci_action
spec:
check_hooks: null
command: check-cpu.rb
Expand Down Expand Up @@ -41,7 +41,7 @@ metadata:
io.sensu.bonsai.version: 4.1.0
name: sensu-plugins/sensu-plugins-cpu-checks:4.1.0
labels:
sensu.io/workflow: sensu_flow
sensu.io/workflow: ci_action
spec:
builds:
- filters:
Expand Down Expand Up @@ -104,7 +104,7 @@ metadata:
io.sensu.bonsai.version: 0.0.10
name: sensu/sensu-ruby-runtime:0.0.10
labels:
sensu.io/workflow: sensu_flow
sensu.io/workflow: ci_action
spec:
builds:
- filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ api_version: core/v2
metadata:
name: echo
labels:
sensu.io/workflow: sensu_flow
sensu.io/workflow: ci_action
spec:
check_hooks: null
command: echo "this is a check prune should delete"
Expand Down Expand Up @@ -41,7 +41,7 @@ metadata:
io.sensu.bonsai.version: 4.1.0
name: sensu-plugins/sensu-plugins-cpu-checks:4.1.0
labels:
sensu.io/workflow: sensu_flow
sensu.io/workflow: ci_action
spec:
builds:
- filters:
Expand Down Expand Up @@ -104,7 +104,7 @@ metadata:
io.sensu.bonsai.version: 0.0.10
name: sensu/sensu-ruby-runtime:0.0.10
labels:
sensu.io/workflow: sensu_flow
sensu.io/workflow: ci_action
spec:
builds:
- filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ api_version: core/v2
metadata:
name: nginx
labels:
sensu.io/workflow: sensu_flow
sensu.io/workflow: ci_action
spec:
check_hooks: null
command: check-http.rb -u http://localhost -q 'Welcome to CentOS'
Expand Down Expand Up @@ -41,7 +41,7 @@ metadata:
io.sensu.bonsai.version: 6.0.0
name: sensu-plugins/sensu-plugins-http:6.0.0
labels:
sensu.io/workflow: sensu_flow
sensu.io/workflow: ci_action
spec:
builds:
- filters:
Expand Down Expand Up @@ -96,7 +96,7 @@ metadata:
io.sensu.bonsai.version: 0.0.10
name: sensu/sensu-ruby-runtime:0.0.10
labels:
sensu.io/workflow: sensu_flow
sensu.io/workflow: ci_action
spec:
builds:
- filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ api_version: core/v2
metadata:
name: test_false
labels:
sensu.io/workflow: sensu_flow
sensu.io/workflow: ci_action
spec:
command: /usr/bin/false
env_vars: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ api_version: core/v2
metadata:
name: test_true
labels:
sensu.io/workflow: sensu_flow
sensu.io/workflow: ci_action
spec:
command: /usr/bin/true
env_vars: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ api_version: core/v2
metadata:
name: aws-sns
labels:
sensu.io/workflow: sensu_flow
sensu.io/workflow: ci_action
spec:
command: sensu-aws-sns-handler
env_vars: null
Expand All @@ -31,7 +31,7 @@ api_version: secrets/v1
metadata:
name: aws_secret_access_key
labels:
sensu.io/workflow: sensu_flow
sensu.io/workflow: ci_action
spec:
provider: env
id: AWS_SECRET_ACCESS_KEY
Expand All @@ -41,7 +41,7 @@ api_version: secrets/v1
metadata:
name: aws_access_key_id
labels:
sensu.io/workflow: sensu_flow
sensu.io/workflow: ci_action
spec:
provider: env
id: AWS_ACCESS_KEY_ID
Expand All @@ -51,7 +51,7 @@ api_version: secrets/v1
metadata:
name: aws_region
labels:
sensu.io/workflow: sensu_flow
sensu.io/workflow: ci_action
spec:
provider: env
id: AWS_REGION
Expand All @@ -61,7 +61,7 @@ api_version: secrets/v1
metadata:
name: sns_topic_arn
labels:
sensu.io/workflow: sensu_flow
sensu.io/workflow: ci_action
spec:
provider: env
id: SNS_TOPIC_ARN
Expand All @@ -71,7 +71,7 @@ api_version: core/v2
metadata:
name: sensu-aws-sns-handler:0.1.0
labels:
sensu.io/workflow: sensu_flow
sensu.io/workflow: ci_action
annotations:
io.sensu.bonsai.url: https://bonsai.sensu.io/assets/nixwiz/sensu-aws-sns-handler
io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/nixwiz/sensu-aws-sns-handler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ api_version: core/v2
metadata:
name: pushover
labels:
sensu.io/workflow: sensu_flow
sensu.io/workflow: ci_action
spec:
command: sensu-go-pushover-handler --pushoverToken $PUSHOVER_TOKEN --pushoverUserKey $PUSHOVER_USERKEY
env_vars: null
Expand All @@ -27,7 +27,7 @@ api_version: secrets/v1
metadata:
name: pushover_token
labels:
sensu.io/workflow: sensu_flow
sensu.io/workflow: ci_action
spec:
provider: env
id: SENSU_PUSHOVER_TOKEN
Expand All @@ -37,7 +37,7 @@ api_version: secrets/v1
metadata:
name: pushover_userkey
labels:
sensu.io/workflow: sensu_flow
sensu.io/workflow: ci_action
spec:
provider: env
id: SENSU_PUSHOVER_USERKEY
Expand All @@ -47,7 +47,7 @@ api_version: core/v2
metadata:
name: nixwiz/sensu-go-pushover-handler:0.8.0
labels:
sensu.io/workflow: sensu_flow
sensu.io/workflow: ci_action
annotations:
io.sensu.bonsai.url: https://bonsai.sensu.io/assets/nixwiz/sensu-go-pushover-handler
io.sensu.bonsai.api_url: https://bonsai.sensu.io/api/v1/assets/nixwiz/sensu-go-pushover-handler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ api_version: core/v2
metadata:
name: alert
labels:
sensu.io/workflow: sensu_flow
sensu.io/workflow: ci_action
spec:
handlers:
- pushover
Expand Down
5 changes: 5 additions & 0 deletions namespaces.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ type: Namespace
api_version: core/v2
spec:
name: test-namespace
---
type: Namespace
api_version: core/v2
spec:
name: ci-namespace

0 comments on commit d542c3a

Please sign in to comment.