Skip to content

Commit

Permalink
chore: fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop committed Dec 23, 2024
1 parent 3c644a7 commit 34f2e4d
Show file tree
Hide file tree
Showing 7 changed files with 129 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chart/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package.json
package-lock.json
node_modules/
6 changes: 6 additions & 0 deletions chart/ci/namespaced.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# yaml-language-server: $schema=../values.schema.json

canaryNamespace: default
serviceAccount:
rbac:
clusterRole: false
48 changes: 48 additions & 0 deletions config/deploy/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4943,6 +4943,8 @@ spec:
tenantID:
type: string
type: object
fromConfigItem:
type: string
gcp:
properties:
connection:
Expand Down Expand Up @@ -4995,6 +4997,52 @@ spec:
description: Skip TLS verify
type: boolean
type: object
kubernetes:
properties:
connection:
type: string
kubeconfig:
properties:
name:
type: string
value:
type: string
valueFrom:
properties:
configMapKeyRef:
properties:
key:
type: string
name:
type: string
required:
- key
type: object
helmRef:
properties:
key:
description: Key is a JSONPath expression used to fetch the key from the merged JSON.
type: string
name:
type: string
required:
- key
type: object
secretKeyRef:
properties:
key:
type: string
name:
type: string
required:
- key
type: object
serviceAccount:
description: ServiceAccount specifies the service account whose token should be fetched
type: string
type: object
type: object
type: object
type: object
description:
description: Description for the check
Expand Down
18 changes: 18 additions & 0 deletions config/schemas/canary.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1456,6 +1456,12 @@
},
"ExecConnections": {
"properties": {
"fromConfigItem": {
"type": "string"
},
"kubernetes": {
"$ref": "#/$defs/KubernetesConnection"
},
"aws": {
"$ref": "#/$defs/AWSConnection"
},
Expand Down Expand Up @@ -2221,6 +2227,18 @@
"kind"
]
},
"KubernetesConnection": {
"properties": {
"connection": {
"type": "string"
},
"kubeconfig": {
"$ref": "#/$defs/EnvVar"
}
},
"additionalProperties": false,
"type": "object"
},
"KubernetesResourceCheck": {
"properties": {
"description": {
Expand Down
18 changes: 18 additions & 0 deletions config/schemas/component.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1711,6 +1711,12 @@
},
"ExecConnections": {
"properties": {
"fromConfigItem": {
"type": "string"
},
"kubernetes": {
"$ref": "#/$defs/KubernetesConnection"
},
"aws": {
"$ref": "#/$defs/AWSConnection"
},
Expand Down Expand Up @@ -2515,6 +2521,18 @@
"kind"
]
},
"KubernetesConnection": {
"properties": {
"connection": {
"type": "string"
},
"kubeconfig": {
"$ref": "#/$defs/EnvVar"
}
},
"additionalProperties": false,
"type": "object"
},
"KubernetesResourceCheck": {
"properties": {
"description": {
Expand Down
18 changes: 18 additions & 0 deletions config/schemas/health_exec.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,12 @@
},
"ExecConnections": {
"properties": {
"fromConfigItem": {
"type": "string"
},
"kubernetes": {
"$ref": "#/$defs/KubernetesConnection"
},
"aws": {
"$ref": "#/$defs/AWSConnection"
},
Expand Down Expand Up @@ -274,6 +280,18 @@
"key"
]
},
"KubernetesConnection": {
"properties": {
"connection": {
"type": "string"
},
"kubeconfig": {
"$ref": "#/$defs/EnvVar"
}
},
"additionalProperties": false,
"type": "object"
},
"Labels": {
"additionalProperties": {
"type": "string"
Expand Down
18 changes: 18 additions & 0 deletions config/schemas/topology.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1681,6 +1681,12 @@
},
"ExecConnections": {
"properties": {
"fromConfigItem": {
"type": "string"
},
"kubernetes": {
"$ref": "#/$defs/KubernetesConnection"
},
"aws": {
"$ref": "#/$defs/AWSConnection"
},
Expand Down Expand Up @@ -2521,6 +2527,18 @@
"kind"
]
},
"KubernetesConnection": {
"properties": {
"connection": {
"type": "string"
},
"kubeconfig": {
"$ref": "#/$defs/EnvVar"
}
},
"additionalProperties": false,
"type": "object"
},
"KubernetesResourceCheck": {
"properties": {
"description": {
Expand Down

0 comments on commit 34f2e4d

Please sign in to comment.