Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump duty to v1.0.800 #1726

Merged
merged 2 commits into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions config/crds/mission-control.flanksource.com_incidentrules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ spec:
type: string
fieldSelector:
type: string
healths:
description: Healths filter resources by the health
items:
type: string
type: array
health:
description: |-
Health filters resources by the health.
Multiple healths can be provided separated by comma.
type: string
id:
type: string
includeDeleted:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ spec:
type: string
fieldSelector:
type: string
healths:
description: Healths filter resources by the health
items:
type: string
type: array
health:
description: |-
Health filters resources by the health.
Multiple healths can be provided separated by comma.
type: string
id:
type: string
includeDeleted:
Expand Down
30 changes: 15 additions & 15 deletions config/crds/mission-control.flanksource.com_permissions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ spec:
type: string
fieldSelector:
type: string
healths:
description: Healths filter resources by the health
items:
type: string
type: array
health:
description: |-
Health filters resources by the health.
Multiple healths can be provided separated by comma.
type: string
id:
type: string
includeDeleted:
Expand Down Expand Up @@ -142,11 +142,11 @@ spec:
type: string
fieldSelector:
type: string
healths:
description: Healths filter resources by the health
items:
type: string
type: array
health:
description: |-
Health filters resources by the health.
Multiple healths can be provided separated by comma.
type: string
id:
type: string
includeDeleted:
Expand Down Expand Up @@ -202,11 +202,11 @@ spec:
type: string
fieldSelector:
type: string
healths:
description: Healths filter resources by the health
items:
type: string
type: array
health:
description: |-
Health filters resources by the health.
Multiple healths can be provided separated by comma.
type: string
id:
type: string
includeDeleted:
Expand Down
30 changes: 15 additions & 15 deletions config/crds/mission-control.flanksource.com_playbooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1419,11 +1419,11 @@ spec:
type: string
fieldSelector:
type: string
healths:
description: Healths filter resources by the health
items:
type: string
type: array
health:
description: |-
Health filters resources by the health.
Multiple healths can be provided separated by comma.
type: string
id:
type: string
includeDeleted:
Expand Down Expand Up @@ -1480,11 +1480,11 @@ spec:
type: string
fieldSelector:
type: string
healths:
description: Healths filter resources by the health
items:
type: string
type: array
health:
description: |-
Health filters resources by the health.
Multiple healths can be provided separated by comma.
type: string
id:
type: string
includeDeleted:
Expand Down Expand Up @@ -1541,11 +1541,11 @@ spec:
type: string
fieldSelector:
type: string
healths:
description: Healths filter resources by the health
items:
type: string
type: array
health:
description: |-
Health filters resources by the health.
Multiple healths can be provided separated by comma.
type: string
id:
type: string
includeDeleted:
Expand Down
6 changes: 3 additions & 3 deletions config/schemas/incident-rules.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -479,14 +479,14 @@
"fieldSelector": {
"type": "string"
},
"health": {
"type": "string"
},
"types": {
"$ref": "#/$defs/Items"
},
"statuses": {
"$ref": "#/$defs/Items"
},
"healths": {
"$ref": "#/$defs/Items"
}
},
"additionalProperties": false,
Expand Down
6 changes: 3 additions & 3 deletions config/schemas/notificationsilence.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,14 +228,14 @@
"fieldSelector": {
"type": "string"
},
"health": {
"type": "string"
},
"types": {
"$ref": "#/$defs/Items"
},
"statuses": {
"$ref": "#/$defs/Items"
},
"healths": {
"$ref": "#/$defs/Items"
}
},
"additionalProperties": false,
Expand Down
6 changes: 3 additions & 3 deletions config/schemas/permission.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -281,14 +281,14 @@
"fieldSelector": {
"type": "string"
},
"health": {
"type": "string"
},
"types": {
"$ref": "#/$defs/Items"
},
"statuses": {
"$ref": "#/$defs/Items"
},
"healths": {
"$ref": "#/$defs/Items"
}
},
"additionalProperties": false,
Expand Down
6 changes: 3 additions & 3 deletions config/schemas/playbook-spec.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1028,14 +1028,14 @@
"fieldSelector": {
"type": "string"
},
"health": {
"type": "string"
},
"types": {
"$ref": "#/$defs/Items"
},
"statuses": {
"$ref": "#/$defs/Items"
},
"healths": {
"$ref": "#/$defs/Items"
}
},
"additionalProperties": false,
Expand Down
6 changes: 3 additions & 3 deletions config/schemas/playbook.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1182,14 +1182,14 @@
"fieldSelector": {
"type": "string"
},
"health": {
"type": "string"
},
"types": {
"$ref": "#/$defs/Items"
},
"statuses": {
"$ref": "#/$defs/Items"
},
"healths": {
"$ref": "#/$defs/Items"
}
},
"additionalProperties": false,
Expand Down
4 changes: 1 addition & 3 deletions fixtures/playbooks/ai-diagnose-slack-notification.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ metadata:
spec:
description: Use AI to diagnose unhealthy config items and send a notification slack
configs:
- healths:
- unhealthy
- warning
- health: unhealthy,warning
parameters:
- name: prompt
label: Prompt
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ require (
github.com/containrrr/shoutrrr v0.8.0
github.com/fergusstrange/embedded-postgres v1.29.0 // indirect
github.com/flanksource/commons v1.35.3
github.com/flanksource/duty v1.0.795
github.com/flanksource/gomplate/v3 v3.24.49
github.com/flanksource/duty v1.0.800
github.com/flanksource/gomplate/v3 v3.24.50
github.com/flanksource/kopper v1.0.11
github.com/gomarkdown/markdown v0.0.0-20240419095408-642f0ee99ae2
github.com/google/cel-go v0.22.1
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -468,10 +468,10 @@ github.com/flanksource/artifacts v1.0.14 h1:Vv70bccsae0MwGaf/uSPp34J5V1/PyKfct9z
github.com/flanksource/artifacts v1.0.14/go.mod h1:qHVCnQu5k50aWNJ5UhpcAKEl7pAzqUrFFKGSm147G70=
github.com/flanksource/commons v1.35.3 h1:EG46iWodmSQQbXywjvEAgK56ZH26jYtMv0RiPM3eKDE=
github.com/flanksource/commons v1.35.3/go.mod h1:cLZURmvF0dw3wR5VyPuibRl/7h+NEiyMdo70WhJFB9Y=
github.com/flanksource/duty v1.0.795 h1:BLKwuSrw2BTdxTu8es+MAXzzukMTuQVEjPaSMQvKBCk=
github.com/flanksource/duty v1.0.795/go.mod h1:BwIY9DGWJM2uSpI8Sh64IQvbtjseVmaj0D7Ml1Ull6o=
github.com/flanksource/gomplate/v3 v3.24.49 h1:j28zhFoyL4wOC4uIRk6RMV1LzW/UtcG2sjR+P8zE7BA=
github.com/flanksource/gomplate/v3 v3.24.49/go.mod h1:2qqMPYn/4SJUpeqTP/LChqvEPT5hd/7bQhDVBET4ZKY=
github.com/flanksource/duty v1.0.800 h1:tf9JdPKmpYXHlm/y1BAcnJev1aJfuv+eKLXf0ALuBs4=
github.com/flanksource/duty v1.0.800/go.mod h1:SUJg5MSfqt0UUM2l2hP/pPAsipS0Px5L8btRD7fLwM8=
github.com/flanksource/gomplate/v3 v3.24.50 h1:z8wKtFqp6yqKf2aiNfKeiG57/JlvYmpGULApQI+4rM4=
github.com/flanksource/gomplate/v3 v3.24.50/go.mod h1:N8lVd8fnm6gS0l3JWlcJgso2Ol9P2L7CW00gvuIHEk0=
github.com/flanksource/is-healthy v1.0.57 h1:y9lyxu4GxWcghmT8uWAkg0gaC8bAUdJ4aOUGDpe4oQo=
github.com/flanksource/is-healthy v1.0.57/go.mod h1:5MUvkRbq78aPVIpwGjpn+k89n5+1thBLIRdhfcozUcQ=
github.com/flanksource/kopper v1.0.11 h1:PrOLEGqLYooocr/PIEsAcfMHNVcJI+qUT0r7inHeIC8=
Expand Down
Loading