Skip to content

Commit

Permalink
feat: add helmRef envvar source
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop committed Dec 20, 2023
1 parent aae663f commit ed60779
Show file tree
Hide file tree
Showing 37 changed files with 1,331 additions and 4 deletions.
741 changes: 740 additions & 1 deletion config/deploy/crd.yaml

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions config/schemas/canary.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1434,6 +1434,9 @@
"serviceAccount": {
"type": "string"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
Expand Down Expand Up @@ -1897,6 +1900,21 @@
"name"
]
},
"HelmRefKeySelector": {
"properties": {
"name": {
"type": "string"
},
"key": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"key"
]
},
"ICMPCheck": {
"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 @@ -1610,6 +1610,9 @@
"serviceAccount": {
"type": "string"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
Expand Down Expand Up @@ -2106,6 +2109,21 @@
"name"
]
},
"HelmRefKeySelector": {
"properties": {
"name": {
"type": "string"
},
"key": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"key"
]
},
"ICMPCheck": {
"properties": {
"description": {
Expand Down
18 changes: 18 additions & 0 deletions config/schemas/health_alertmanager.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@
"serviceAccount": {
"type": "string"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
Expand All @@ -151,6 +154,21 @@
"additionalProperties": false,
"type": "object"
},
"HelmRefKeySelector": {
"properties": {
"name": {
"type": "string"
},
"key": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"key"
]
},
"Labels": {
"patternProperties": {
".*": {
Expand Down
18 changes: 18 additions & 0 deletions config/schemas/health_awsconfig.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@
"serviceAccount": {
"type": "string"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
Expand All @@ -124,6 +127,21 @@
"additionalProperties": false,
"type": "object"
},
"HelmRefKeySelector": {
"properties": {
"name": {
"type": "string"
},
"key": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"key"
]
},
"Labels": {
"patternProperties": {
".*": {
Expand Down
18 changes: 18 additions & 0 deletions config/schemas/health_awsconfigrule.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@
"serviceAccount": {
"type": "string"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
Expand All @@ -135,6 +138,21 @@
"additionalProperties": false,
"type": "object"
},
"HelmRefKeySelector": {
"properties": {
"name": {
"type": "string"
},
"key": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"key"
]
},
"Labels": {
"patternProperties": {
".*": {
Expand Down
18 changes: 18 additions & 0 deletions config/schemas/health_azuredevops.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@
"serviceAccount": {
"type": "string"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
Expand All @@ -129,6 +132,21 @@
"additionalProperties": false,
"type": "object"
},
"HelmRefKeySelector": {
"properties": {
"name": {
"type": "string"
},
"key": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"key"
]
},
"Labels": {
"patternProperties": {
".*": {
Expand Down
18 changes: 18 additions & 0 deletions config/schemas/health_cloudwatch.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@
"serviceAccount": {
"type": "string"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
Expand All @@ -132,6 +135,21 @@
"additionalProperties": false,
"type": "object"
},
"HelmRefKeySelector": {
"properties": {
"name": {
"type": "string"
},
"key": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"key"
]
},
"Labels": {
"patternProperties": {
".*": {
Expand Down
18 changes: 18 additions & 0 deletions config/schemas/health_containerdPull.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@
"serviceAccount": {
"type": "string"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
Expand All @@ -106,6 +109,21 @@
"additionalProperties": false,
"type": "object"
},
"HelmRefKeySelector": {
"properties": {
"name": {
"type": "string"
},
"key": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"key"
]
},
"Labels": {
"patternProperties": {
".*": {
Expand Down
18 changes: 18 additions & 0 deletions config/schemas/health_databasebackupcheck.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@
"serviceAccount": {
"type": "string"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
Expand Down Expand Up @@ -130,6 +133,21 @@
"instance"
]
},
"HelmRefKeySelector": {
"properties": {
"name": {
"type": "string"
},
"key": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"key"
]
},
"Labels": {
"patternProperties": {
".*": {
Expand Down
18 changes: 18 additions & 0 deletions config/schemas/health_dockerPull.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@
"serviceAccount": {
"type": "string"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
Expand All @@ -106,6 +109,21 @@
"additionalProperties": false,
"type": "object"
},
"HelmRefKeySelector": {
"properties": {
"name": {
"type": "string"
},
"key": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"key"
]
},
"Labels": {
"patternProperties": {
".*": {
Expand Down
18 changes: 18 additions & 0 deletions config/schemas/health_dockerPush.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@
"serviceAccount": {
"type": "string"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
Expand All @@ -100,6 +103,21 @@
"additionalProperties": false,
"type": "object"
},
"HelmRefKeySelector": {
"properties": {
"name": {
"type": "string"
},
"key": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"key"
]
},
"Labels": {
"patternProperties": {
".*": {
Expand Down
18 changes: 18 additions & 0 deletions config/schemas/health_dynatrace.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@
"serviceAccount": {
"type": "string"
},
"helmRef": {
"$ref": "#/$defs/HelmRefKeySelector"
},
"configMapKeyRef": {
"$ref": "#/$defs/ConfigMapKeySelector"
},
Expand All @@ -102,6 +105,21 @@
"additionalProperties": false,
"type": "object"
},
"HelmRefKeySelector": {
"properties": {
"name": {
"type": "string"
},
"key": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"key"
]
},
"Labels": {
"patternProperties": {
".*": {
Expand Down
Loading

0 comments on commit ed60779

Please sign in to comment.