diff --git a/agent-chart/values.yaml b/agent-chart/values.yaml index be7baf2f..3d2a8b54 100644 --- a/agent-chart/values.yaml +++ b/agent-chart/values.yaml @@ -2,7 +2,7 @@ image: repository: docker.io/flanksource/incident-commander pullPolicy: IfNotPresent - tag: "v0.0.955" + tag: "v0.0.956" global: # -v, -vv, -vvv logLevel: "" diff --git a/chart/crds/mission-control.flanksource.com_notificationsilences.yaml b/chart/crds/mission-control.flanksource.com_notificationsilences.yaml new file mode 100644 index 00000000..8e0b7440 --- /dev/null +++ b/chart/crds/mission-control.flanksource.com_notificationsilences.yaml @@ -0,0 +1,120 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.14.0 + name: notificationsilences.mission-control.flanksource.com +spec: + group: mission-control.flanksource.com + names: + kind: NotificationSilence + listKind: NotificationSilenceList + plural: notificationsilences + singular: notificationsilence + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + description: NotificationSilence is the Schema for the managed Notification + Silences + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + properties: + description: + type: string + filter: + description: Filter evaluates whether to apply the silence. When provided, + silence is applied only if filter evaluates to true + type: string + from: + description: From time in RFC3339 format or just datetime + type: string + recursive: + type: boolean + selectors: + description: List of resource selectors + items: + properties: + agent: + description: |- + Agent can be the agent id or the name of the agent. + Additionally, the special "self" value can be used to select resources without an agent. + type: string + cache: + description: |- + Cache directives + 'no-cache' (should not fetch from cache but can be cached) + 'no-store' (should not cache) + 'max-age=X' (cache for X duration) + type: string + fieldSelector: + type: string + id: + type: string + includeDeleted: + type: boolean + labelSelector: + type: string + limit: + type: integer + name: + type: string + namespace: + type: string + scope: + description: |- + Scope is the reference for parent of the resource to select. + For config items, the scope is the scraper id + For checks, it's canaries and + For components, it's topology. + It can either be a uuid or namespace/name + type: string + search: + description: Search query that applies to the resource name, + tag & labels. + type: string + statuses: + description: Statuses filter resources by the status + items: + type: string + type: array + tagSelector: + type: string + types: + description: Types filter resources by the type + items: + type: string + type: array + type: object + type: array + until: + description: Until time in RFC3339 format or just datetime + type: string + type: object + status: + description: NotificationStatus defines the observed state of Notification + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/chart/values.yaml b/chart/values.yaml index d4cd5d76..e39b160d 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -4,7 +4,7 @@ nameOverride: "" image: repository: docker.io/flanksource/incident-commander pullPolicy: IfNotPresent - tag: "v0.0.955" + tag: "v0.0.956" global: # -v, -vv, -vvv logLevel: ""