Skip to content

Commit

Permalink
feat(common): Initial commit for v3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bjw-s committed Jun 27, 2024
1 parent 25a79e2 commit b46faa9
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 15 deletions.
16 changes: 2 additions & 14 deletions charts/library/common/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v2
name: common
description: Function library for Helm charts
type: library
version: 3.2.1
version: 3.3.0
kubeVersion: ">=1.22.0-0"
keywords:
- common
Expand All @@ -16,16 +16,4 @@ annotations:
artifacthub.io/changes: |-
- kind: added
description: |-
Support templating in annotation and label values for all objects (fixed in v3.2.1)
- kind: added
description: |-
Support activeDeadlineSeconds field on CronJobs and Jobs
- kind: added
description: |-
Support excluding secrets and configMaps from pod checksum annotation
- kind: fixed
description: |-
Fixed failing ServiceMonitor test
- kind: fixed
description: |-
Fixed networkPolicies not rendering correctly
# TODO: Update
33 changes: 33 additions & 0 deletions charts/library/common/schemas/rawResource.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"instance": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean",
"default": true
},
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"annotations": {
"$ref": "definitions.json#/annotations"
},
"labels": {
"$ref": "definitions.json#/labels"
},
"nameOverride": {
"type": "string"
},
"rootKey": {
"type": "string",
"default": "spec"
},
"spec": {}
},
"required": ["apiVersion", "kind", "spec"]
}
}
7 changes: 6 additions & 1 deletion charts/library/common/values.schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/bjw-s/helm-charts/common-3.2.1/charts/library/common/values.schema.json",
"$id": "https://raw.githubusercontent.com/bjw-s/helm-charts/common-3.3.0/charts/library/common/values.schema.json",

"type": "object",
"properties": {
Expand Down Expand Up @@ -71,6 +71,11 @@
"additionalProperties": {
"$ref": "schemas/persistence.json#/item"
}
},
"rawResources": {
"additionalProperties": {
"$ref": "schemas/rawResource.json#/instance"
}
}
}
}

0 comments on commit b46faa9

Please sign in to comment.