diff --git a/charts/partners/axual/axual-governance-core/0.5.0/axual-governance-core-0.5.0.tgz b/charts/partners/axual/axual-governance-core/0.5.0/axual-governance-core-0.5.0.tgz new file mode 100644 index 00000000000..0e5c2ac73c4 Binary files /dev/null and b/charts/partners/axual/axual-governance-core/0.5.0/axual-governance-core-0.5.0.tgz differ diff --git a/charts/partners/axual/axual-governance-core/0.5.0/report.yaml b/charts/partners/axual/axual-governance-core/0.5.0/report.yaml new file mode 100644 index 00000000000..a79fad3e927 --- /dev/null +++ b/charts/partners/axual/axual-governance-core/0.5.0/report.yaml @@ -0,0 +1,150 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.13.2 + profile: + VendorType: partner + version: v1.2 + reportDigest: uint64:2562313529723412053 + chart-uri: /charts/axual-governance-core-0.5.0.tgz + digests: + chart: sha256:24882b398a331fa848e852e34d5be0f3ed283183e1687be095f7b3b18b4ad480 + package: 41a3e0d4d6be052c62434ef9c6c5179d9893edd6daa097d6124aec7ca93881f0 + lastCertifiedTimestamp: "2024-10-11T15:04:06.413163+00:00" + testedOpenShiftVersion: "4.14" + supportedOpenShiftVersions: '>=4.11' + webCatalogOnly: false + chart: + name: axual-governance-core + home: https://axual.com + sources: [] + version: 0.5.0 + description: Axual Governance core which installs core Axual components defining the control plane. + keywords: + - axual + - kafka + - messaging + - integration + - streaming + maintainers: [] + icon: https://media.licdn.com/dms/image/C560BAQGNVRrjMGHmxQ/company-logo_200_200/0/1630600168205/axual_logo?e=2147483647&v=beta&t=NlepYScz7uLBwI1tawUVoq-wo1-qZdvA4LCzvH8mf5c + apiversion: v2 + condition: "" + tags: "" + appversion: "2024.3" + deprecated: false + annotations: + charts.openshift.io/name: Axual Governance + kubeversion: '>= 1.24.0' + dependencies: + - name: platform-manager + version: 9.0.0 + repository: oci://registry.axual.io/axual-charts + condition: global.platform-manager.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: organization-mgmt + version: 0.3.1 + repository: oci://registry.axual.io/axual-charts + condition: global.organization-mgmt.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: platform-ui + version: 10.0.0 + repository: oci://registry.axual.io/axual-charts + condition: global.platform-ui.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: api-gateway + version: 0.5.0 + repository: oci://registry.axual.io/axual-charts + condition: global.api-gateway.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: topic-browse + version: 0.4.2 + repository: oci://registry.axual.io/axual-charts + condition: global.topic-browse.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: metrics-exposer + version: 1.2.2 + repository: oci://registry.axual.io/axual-charts + condition: global.metrics-exposer.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + type: application + chart-overrides: "" +results: + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: |- + Image is Red Hat certified : registry.axual.io/axual/axual-organization-mgmt:0.3.1 + Image is Red Hat certified : registry.axual.io/axual/axual-api:9.0.0 + Image is Red Hat certified : registry.axual.io/axual/axual-frontend:10.0.0 + Image is Red Hat certified : registry.axual.io/axual/topic-browse:0.4.2 + Image is Red Hat certified : registry.access.redhat.com/ubi9-minimal:latest + Image is Red Hat certified : registry.axual.io/axual/api-gateway:0.5.0 + Image is Red Hat certified : registry.axual.io/axual/metrics-exposer:1.2.2 + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' diff --git a/charts/partners/axual/axual-governance-core/OWNERS b/charts/partners/axual/axual-governance-core/OWNERS index 352f679ac56..ace86a60159 100644 --- a/charts/partners/axual/axual-governance-core/OWNERS +++ b/charts/partners/axual/axual-governance-core/OWNERS @@ -6,6 +6,7 @@ publicPgpKey: unknown users: - githubUsername: richard-axual - githubUsername: xsreality +- githubUsername: DarioAxual vendor: label: axual name: Axual B.V. diff --git a/charts/partners/cloudera/csm-operator/OWNERS b/charts/partners/cloudera/csm-operator/OWNERS new file mode 100644 index 00000000000..f7ca7ffe069 --- /dev/null +++ b/charts/partners/cloudera/csm-operator/OWNERS @@ -0,0 +1,9 @@ +chart: + name: csm-operator + shortDescription: unknown +providerDelivery: true +publicPgpKey: unknown +users: [] +vendor: + label: cloudera + name: Cloudera diff --git a/charts/partners/gigamon2/uctc/1.6.0/report.yaml b/charts/partners/gigamon2/uctc/1.6.0/report.yaml new file mode 100644 index 00000000000..50d9d98a8f8 --- /dev/null +++ b/charts/partners/gigamon2/uctc/1.6.0/report.yaml @@ -0,0 +1,91 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.13.3 + profile: + VendorType: partner + version: v1.2 + reportDigest: uint64:1485902540400279043 + chart-uri: uctc-1.6.0.tgz + digests: + chart: sha256:9baeb2decaf6a0e3c4318068794c4ffc540a36bb1d4d265fdb4824d6944c9639 + package: 91d419515680af974caa83cea70a0bc12b89e070c07a527b2a8c4b27f504fdf3 + lastCertifiedTimestamp: "2024-10-30T12:27:40.678631+05:30" + testedOpenShiftVersion: "4.14" + supportedOpenShiftVersions: '>=4.11' + webCatalogOnly: false + chart: + name: uctc + home: "" + sources: [] + version: 1.6.0 + description: A Helm chart for Gigamon UCT-C + keywords: [] + maintainers: [] + icon: data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NjguNTQgOTcuMjEiPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDojZjI2NzIyO308L3N0eWxlPjwvZGVmcz48dGl0bGU+UHJpbnQtR2lnYW1vbi1PcmFuZ2UtTG9nbzwvdGl0bGU+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNODUsODcuMTJINjZWNzNoNDAuMzJ2MzguMzJhMTIzLjgxLDEyMy44MSwwLDAsMS0zNi43NSw1LjE1Yy0zMi4xMywwLTQ4LjI5LTEyLjkxLTQ4LjI5LTM4LjQzLDAtMjUuMTksMTYuMzktMzkuMzcsNDYuMDktMzkuMzcsMjUsMCwzNy44OSw4LjMsMzksMjUuMDlIODMuMTdjLS4zMi02LjkyLTYuNC0xMS4yNC0xNi40OS0xMS4yNC0xNC45LDAtMjMuMTksOC43My0yMy4xOSwyNC4zNywwLDE2LjU5LDguNTEsMjUsMjUuMzksMjVBNjMuNTksNjMuNTksMCwwLDAsODUsOTkuNjFaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjEuMjMgLTM4LjYyKSIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTExNy4zOSwzOS41NmgyMS43M1Y1NC4zN0gxMTcuMzlabS44NCwyMi44OWgyMC4xNnY1Mi43SDExOC4yM1oiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMS4yMyAtMzguNjIpIi8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMTk4LjY1LDYyLjQ1aDE5LjcyYTk0LjgxLDk0LjgxLDAsMCwwLS43MywxMlYxMDEuM2MwLDEwLjE3LS40MSwxNy41My00LjgzLDIzLjQxLTUuODgsNy42NS0xNi4zOCwxMS4xMi0zMi4yMiwxMS4xMi0xOS43NCwwLTI5LjcyLTYuMDktMjkuOTItMTguNTdoMTkuOTRjLjIxLDQuNzMsMy43OCw3LjEzLDEwLjYsNy4xMywxMS4xNCwwLDE2LjI3LTUsMTYuMjctMTUuNzR2LTQuNDFjLTUuMjUsNi0xMi44MSw4LjkxLTIyLjQ1LDguOTEtMTYuNTksMC0yNy4xOS0xMC44LTI3LjE5LTI1LjYxLDAtMTYuMjcsMTAuNDktMjYuMzQsMjguMTItMjYuMzRxMTIuNDUsMCwyMiw5LjEyQTQxLjc3LDQxLjc3LDAsMCwxLDE5OC42NSw2Mi40NVpNMTgyLjksMTAxLjVjOS42NSwwLDE0LjgtNS4xNCwxNC44LTE0LjU5LDAtOS01LjM1LTE0LjI4LTE0LjU5LTE0LjI4cy0xNC42LDUuNDYtMTQuNiwxNUMxNjguNTEsOTUuOTQsMTc0LjA3LDEwMS41LDE4Mi45LDEwMS41WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxLjIzIC0zOC42MikiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0yNDYuMDgsMTE2LjQyYy0xMy41MywwLTIwLjg3LTYtMjAuODctMTZhMTYuNTIsMTYuNTIsMCwwLDEsOC4xOC0xNC44MWM1LjI0LTMuMjUsMTQuMTctMy42NywyNy0zLjY3aDkuNzdjMC0uNTMuMTEtMSwuMTEtMS40NiwwLTUuNzctMy40Ny04LjgzLTkuODgtOC44My03LDAtMTAuNiwxLjY4LTExLjM0LDYuNEgyMjguNTZjMS4zNi0xMS43NCwxMS43NS0xNi44OSwzMi4xMi0xNi44OSwxOS42NCwwLDI5LDYuMTgsMjksMjAuMTR2MjYuODlhMTguNzEsMTguNzEsMCwwLDAsMS4wNSw2LjkySDI3MS45MWExNi42MywxNi42MywwLDAsMS0xLjI2LTYuODF2LTFDMjY2LjQ2LDExMy4wNiwyNTguMDUsMTE2LjQyLDI0Ni4wOCwxMTYuNDJabTIyLjQ3LTI0Ljc4Yy0xNS4zMywwLTIyLjM2LDEuNTYtMjIuMzYsNy40NSwwLDMuODksMy4zNiw1Ljg4LDEwLjA5LDUuODgsOC45MSwwLDEzLjg1LTQuMywxMy44NS0xMi4xOFY5MS42NFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMS4yMyAtMzguNjIpIi8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMjk5LjMxLDc0Ljg0YTk3LjkzLDk3LjkzLDAsMCwwLS42My0xMi4zOWgxOS44NHEuNjMsNC4yNy45NCw4LjVBMjguMzcsMjguMzcsMCwwLDEsMzQxLjMsNjEuMmM5Ljc2LDAsMTYuMTYsMy43NiwxOC45LDEwLjkxLDUtNy4yNCwxMi4zOC0xMC45MSwyMS41MS0xMC45MSwxNC44LDAsMjMuMSw3Ljc1LDIzLjEsMjIuMzZ2MzEuNTlIMzg0Ljc2VjgzYzAtNi40MS0zLjc4LTEwLTEwLjE5LTEwLTguNywwLTEyLjcsNS0xMi43LDE1LjMydjI2Ljc4SDM0MlY4M2MwLTYuMy0zLjc4LTEwLTEwLTEwLTguOTMsMC0xMi45MSw1LTEyLjkxLDE1LjMydjI2Ljc4SDI5OS4zMVoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMS4yMyAtMzguNjIpIi8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNDEyLjY4LDg4LjdjMC0xNy42MywxMi4yOC0yNy42MiwzNS43LTI3LjYyczM1LjgsMTAsMzUuOCwyNy44M2MwLDE4LjE2LTEyLjI5LDI3LjUxLTM2LjY1LDI3LjUxQzQyNC42NSwxMTYuNDIsNDEyLjY4LDEwNi40NCw0MTIuNjgsODguN1ptNTAuMzgtLjQyYzAtMTAuMjktNS42Ni0xNi41OS0xNC41OC0xNi41OS05LjI0LDAtMTQuNTksNS44OC0xNC41OSwxNi40OXM1LjE1LDE2LjQ3LDE0LjY5LDE2LjQ3QzQ1Ny41LDEwNC42NSw0NjMuMDYsOTguNDUsNDYzLjA2LDg4LjI4WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxLjIzIC0zOC42MikiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik00OTAuNzksNzQuODRhOTQuMzQsOTQuMzQsMCwwLDAtLjY1LTEyLjM5aDIwLjI4YTcwLjg2LDcwLjg2LDAsMCwxLC41Miw4LjRjNS44Ny02LjE5LDEyLjgxLTkuNjUsMjIuNjctOS42NSwxNC4yOCwwLDIyLjg4LDgsMjIuODgsMjEuNzN2MzIuMjJINTM2LjI0VjgzLjg3YzAtNy4xNC0zLjg4LTEwLjgyLTExLjEzLTEwLjgyLTkuNjcsMC0xNC4xNyw1LTE0LjE3LDE1LjMydjI2Ljc4SDQ5MC43OVoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMS4yMyAtMzguNjIpIi8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNTc1LjA3LDM4LjYyYTE1LDE1LDAsMCwxLDcuMjMsMS45QTEzLjQ3LDEzLjQ3LDAsMCwxLDU4Ny44LDQ2YTE0Ljc5LDE0Ljc5LDAsMCwxLDAsMTQuNywxMy42NSwxMy42NSwwLDAsMS01LjQ0LDUuNDUsMTQuNzMsMTQuNzMsMCwwLDEtMTQuNjUsMCwxMy42OCwxMy42OCwwLDAsMS01LjQ1LTUuNDUsMTQuNzMsMTQuNzMsMCwwLDEsMC0xNC43LDEzLjU1LDEzLjU1LDAsMCwxLDUuNTEtNS40NEExNSwxNSwwLDAsMSw1NzUuMDcsMzguNjJabTAsMi40NGExMi41MSwxMi41MSwwLDAsMC02LDEuNTksMTEuNDIsMTEuNDIsMCwwLDAtNC42LDQuNTQsMTIuMjMsMTIuMjMsMCwwLDAsMCwxMi4yNUExMS42LDExLjYsMCwwLDAsNTY5LDY0YTEyLjI1LDEyLjI1LDAsMCwwLDEyLjIxLDAsMTEuNTEsMTEuNTEsMCwwLDAsNC41NS00LjU1LDEyLjI5LDEyLjI5LDAsMCwwLDAtMTIuMjUsMTEuMywxMS4zLDAsMCwwLTQuNi00LjU0QTEyLjUyLDEyLjUyLDAsMCwwLDU3NS4wNyw0MS4wNlptLTYuNDYsMjAuNDJWNDUuNjRoNS40NGExMy4zOSwxMy4zOSwwLDAsMSw0LC40NCwzLjkyLDMuOTIsMCwwLDEsMiwxLjUzLDQuMDksNC4wOSwwLDAsMSwuNzQsMi4zMiw0LjIyLDQuMjIsMCwwLDEtMS4yNCwzLDQuOTIsNC45MiwwLDAsMS0zLjI5LDEuNDQsNC4yMSw0LjIxLDAsMCwxLDEuMzUuODRBMTcuNjIsMTcuNjIsMCwwLDEsNTgwLDU4LjM4bDEuOTMsMy4xaC0zLjEyTDU3Ny4zOSw1OWExMi42NCwxMi42NCwwLDAsMC0yLjY4LTMuNjksMy4yMywzLjIzLDAsMCwwLTIuMDUtLjU1aC0xLjV2Ni43M1ptMi41NS04LjkxaDMuMTFhNSw1LDAsMCwwLDMtLjY3LDIuMjcsMi4yNywwLDAsMCwuNDItMywyLjMsMi4zLDAsMCwwLTEuMDktLjgzLDguMDcsOC4wNywwLDAsMC0yLjU2LS4yN2gtMi45MVoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMS4yMyAtMzguNjIpIi8+PC9zdmc+ + apiversion: v2 + condition: "" + tags: "" + appversion: 6.8.00 + deprecated: false + annotations: + charts.openshift.io/name: gigamon-uctc + kubeversion: '>= 1.24.0-0' + dependencies: [] + type: application + chart-overrides: "" +results: + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: No images to certify + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + diff --git a/charts/partners/gigamon2/uctc/1.6.0/uctc-1.6.0.tgz b/charts/partners/gigamon2/uctc/1.6.0/uctc-1.6.0.tgz new file mode 100644 index 00000000000..1ffb9c24720 Binary files /dev/null and b/charts/partners/gigamon2/uctc/1.6.0/uctc-1.6.0.tgz differ diff --git a/charts/partners/hashicorp/vault/0.29.0/src/.helmignore b/charts/partners/hashicorp/vault/0.29.0/src/.helmignore new file mode 100644 index 00000000000..18dbc2bcdb2 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/.helmignore @@ -0,0 +1,29 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.terraform/ +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*~ +# Various IDEs +.project +.idea/ +*.tmproj + +# CI and test +.circleci/ +.github/ +.gitlab-ci.yml +test/ +scratch/ diff --git a/charts/partners/hashicorp/vault/0.29.0/src/CHANGELOG.md b/charts/partners/hashicorp/vault/0.29.0/src/CHANGELOG.md new file mode 100644 index 00000000000..55750a234b4 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/CHANGELOG.md @@ -0,0 +1,577 @@ +## Unreleased + +## 0.29.0 (November 7, 2024) + +Changes: + +* Default `vault` version updated to 1.18.1 +* Default `vault-k8s` version updated to 1.5.0 +* Default `vault-csi-provider` version updated to 1.5.0 +* Tested with Kubernetes versions 1.28-1.31 + +Features: + +* csi: Allow modification of the hostNetwork parameter on the DaemonSet [GH-1046](https://github.com/hashicorp/vault-helm/pull/1046) + +Bugs: + +* Properly handle JSON formatted server config [GH-1049](https://github.com/hashicorp/vault-helm/pull/1049) + +## 0.28.1 (July 11, 2024) + +Changes: + +* Default `vault` version updated to 1.17.2 +* Default `vault-k8s` version updated to 1.4.2 +* Default `vault-csi-provider` version updated to 1.4.3 +* Tested with Kubernetes versions 1.26-1.30 + +Improvements: + +* Configurable `tlsConfig` and `authorization` for Prometheus ServiceMonitor [GH-1025](https://github.com/hashicorp/vault-helm/pull/1025) +* Remove UPDATE from injector-mutating-webhook [GH-783](https://github.com/hashicorp/vault-helm/pull/783) +* Add scope to mutating webhook [GH-1037](https://github.com/hashicorp/vault-helm/pull/1037) + +## 0.28.0 (April 8, 2024) + +Changes: + +* Default `vault` version updated to 1.16.1 +* Default `vault-k8s` version updated to 1.4.1 +* Default `vault-csi-provider` version updated to 1.4.2 +* Tested with Kubernetes versions 1.25-1.29 + +Features: + +* server: Add annotation on config change [GH-1001](https://github.com/hashicorp/vault-helm/pull/1001) + +Bugs: + +* injector: add missing `get` `nodes` permission to ClusterRole [GH-1005](https://github.com/hashicorp/vault-helm/pull/1005) + +## 0.27.0 (November 16, 2023) + +Changes: + +* Default `vault` version updated to 1.15.2 + +Features: + +* server: Support setting `persistentVolumeClaimRetentionPolicy` on the StatefulSet [GH-965](https://github.com/hashicorp/vault-helm/pull/965) +* server: Support setting labels on PVCs [GH-969](https://github.com/hashicorp/vault-helm/pull/969) +* server: Support setting ingress rules for networkPolicy [GH-877](https://github.com/hashicorp/vault-helm/pull/877) + +Improvements: + +* Support exec in the server liveness probe [GH-971](https://github.com/hashicorp/vault-helm/pull/971) + +## 0.26.1 (October 30, 2023) + +Bugs: +* Fix templating of `server.ha.replicas` when set via override file. The `0.26.0` chart would ignore `server.ha.replicas` and always deploy 3 server replicas when `server.ha.enabled=true` unless overridden by command line when issuing the helm command: `--set server.ha.replicas=`. Fixed in [GH-961](https://github.com/hashicorp/vault-helm/pull/961) + +## 0.26.0 (October 27, 2023) + +Changes: +* Default `vault` version updated to 1.15.1 +* Default `vault-k8s` version updated to 1.3.1 +* Default `vault-csi-provider` version updated to 1.4.1 +* Tested with Kubernetes versions 1.24-1.28 +* server: OpenShift default readiness probe returns 204 when uninitialized [GH-966](https://github.com/hashicorp/vault-helm/pull/966) + +Features: +* server: Add support for dual stack clusters [GH-833](https://github.com/hashicorp/vault-helm/pull/833) +* server: Support `hostAliases` for the StatefulSet pods [GH-955](https://github.com/hashicorp/vault-helm/pull/955) +* server: Add `server.service.active.annotations` and `server.service.standby.annotations` [GH-896](https://github.com/hashicorp/vault-helm/pull/896) +* server: Add long-lived service account token option [GH-923](https://github.com/hashicorp/vault-helm/pull/923) + +Bugs: +* csi: Add namespace field to `csi-role` and `csi-rolebindings`. [GH-909](https://github.com/hashicorp/vault-helm/pull/909) + +Improvements: +* global: Add `global.namespace` to override the helm installation namespace. [GH-909](https://github.com/hashicorp/vault-helm/pull/909) +* server: use vault.fullname in Helm test [GH-912](https://github.com/hashicorp/vault-helm/pull/912) +* server: Allow scaling HA replicas to zero [GH-943](https://github.com/hashicorp/vault-helm/pull/943) + +## 0.25.0 (June 26, 2023) + +Changes: +* Latest Kubernetes version tested is now 1.27 +* server: Headless service ignores `server.service.publishNotReadyAddresses` setting and always sets it as `true` [GH-902](https://github.com/hashicorp/vault-helm/pull/902) +* `vault` updated to 1.14.0 [GH-916](https://github.com/hashicorp/vault-helm/pull/916) +* `vault-csi-provider` updated to 1.4.0 [GH-916](https://github.com/hashicorp/vault-helm/pull/916) + +Improvements: +* CSI: Make `nodeSelector` and `affinity` configurable for CSI daemonset's pods [GH-862](https://github.com/hashicorp/vault-helm/pull/862) +* injector: Add `ephemeralLimit` and `ephemeralRequest` as options for configuring Agent's ephemeral storage resources [GH-798](https://github.com/hashicorp/vault-helm/pull/798) +* Minimum kubernetes version for chart reverted to 1.20.0 to allow installation on clusters older than the oldest tested version [GH-916](https://github.com/hashicorp/vault-helm/pull/916) + +Bugs: +* server: Set the default for `prometheusRules.rules` to an empty list [GH-886](https://github.com/hashicorp/vault-helm/pull/886) + +## 0.24.1 (April 17, 2023) + +Bugs: +* csi: Add RBAC required by v1.3.0 to create secret for HMAC key used to generate secret versions [GH-872](https://github.com/hashicorp/vault-helm/pull/872) + +## 0.24.0 (April 6, 2023) + +Changes: +* Earliest Kubernetes version tested is now 1.22 +* `vault` updated to 1.13.1 [GH-863](https://github.com/hashicorp/vault-helm/pull/863) +* `vault-k8s` updated to 1.2.1 [GH-868](https://github.com/hashicorp/vault-helm/pull/868) +* `vault-csi-provider` updated to 1.3.0 [GH-749](https://github.com/hashicorp/vault-helm/pull/749) + +Features: +* server: New `extraPorts` option for adding ports to the Vault server statefulset [GH-841](https://github.com/hashicorp/vault-helm/pull/841) +* server: Add configurable Port Number in readinessProbe and livenessProbe for the server-statefulset [GH-831](https://github.com/hashicorp/vault-helm/pull/831) +* injector: Make livenessProbe and readinessProbe configurable and add configurable startupProbe [GH-852](https://github.com/hashicorp/vault-helm/pull/852) +* csi: Add an Agent sidecar to Vault CSI Provider pods to provide lease caching and renewals [GH-749](https://github.com/hashicorp/vault-helm/pull/749) + +## 0.23.0 (November 28th, 2022) + +Changes: +* `vault` updated to 1.12.1 [GH-814](https://github.com/hashicorp/vault-helm/pull/814) +* `vault-k8s` updated to 1.1.0 [GH-814](https://github.com/hashicorp/vault-helm/pull/814) +* `vault-csi-provider` updated to 1.2.1 [GH-814](https://github.com/hashicorp/vault-helm/pull/814) + +Features: +* server: Add `extraLabels` for Vault server serviceAccount [GH-806](https://github.com/hashicorp/vault-helm/pull/806) +* server: Add `server.service.active.enabled` and `server.service.standby.enabled` options to selectively disable additional services [GH-811](https://github.com/hashicorp/vault-helm/pull/811) +* server: Add `server.serviceAccount.serviceDiscovery.enabled` option to selectively disable a Vault service discovery role and role binding [GH-811](https://github.com/hashicorp/vault-helm/pull/811) +* server: Add `server.service.instanceSelector.enabled` option to allow selecting pods outside the helm chart deployment [GH-813](https://github.com/hashicorp/vault-helm/pull/813) + +Bugs: +* server: Quote `.server.ha.clusterAddr` value [GH-810](https://github.com/hashicorp/vault-helm/pull/810) + +## 0.22.1 (October 26th, 2022) + +Changes: +* `vault` updated to 1.12.0 [GH-803](https://github.com/hashicorp/vault-helm/pull/803) +* `vault-k8s` updated to 1.0.1 [GH-803](https://github.com/hashicorp/vault-helm/pull/803) + +## 0.22.0 (September 8th, 2022) + +Features: +* Add PrometheusOperator support for collecting Vault server metrics. [GH-772](https://github.com/hashicorp/vault-helm/pull/772) + +Changes: +* `vault-k8s` to 1.0.0 [GH-784](https://github.com/hashicorp/vault-helm/pull/784) +* Test against Kubernetes 1.25 [GH-784](https://github.com/hashicorp/vault-helm/pull/784) +* `vault` updated to 1.11.3 [GH-785](https://github.com/hashicorp/vault-helm/pull/785) + +## 0.21.0 (August 10th, 2022) + +CHANGES: +* `vault-k8s` updated to 0.17.0. [GH-771](https://github.com/hashicorp/vault-helm/pull/771) +* `vault-csi-provider` updated to 1.2.0 [GH-771](https://github.com/hashicorp/vault-helm/pull/771) +* `vault` updated to 1.11.2 [GH-771](https://github.com/hashicorp/vault-helm/pull/771) +* Start testing against Kubernetes 1.24. [GH-744](https://github.com/hashicorp/vault-helm/pull/744) +* Deprecated `injector.externalVaultAddr`. Added `global.externalVaultAddr`, which applies to both the Injector and the CSI Provider. [GH-745](https://github.com/hashicorp/vault-helm/pull/745) +* CSI Provider pods now set the `VAULT_ADDR` environment variable to either the internal Vault service or the configured external address. [GH-745](https://github.com/hashicorp/vault-helm/pull/745) + +Features: +* server: Add `server.statefulSet.securityContext` to override pod and container `securityContext`. [GH-767](https://github.com/hashicorp/vault-helm/pull/767) +* csi: Add `csi.daemonSet.securityContext` to override pod and container `securityContext`. [GH-767](https://github.com/hashicorp/vault-helm/pull/767) +* injector: Add `injector.securityContext` to override pod and container `securityContext`. [GH-750](https://github.com/hashicorp/vault-helm/pull/750) and [GH-767](https://github.com/hashicorp/vault-helm/pull/767) +* Add `server.service.activeNodePort` and `server.service.standbyNodePort` to specify the `nodePort` for active and standby services. [GH-610](https://github.com/hashicorp/vault-helm/pull/610) +* Support for setting annotations on the injector's serviceAccount [GH-753](https://github.com/hashicorp/vault-helm/pull/753) + +## 0.20.1 (May 25th, 2022) +CHANGES: +* `vault-k8s` updated to 0.16.1 [GH-739](https://github.com/hashicorp/vault-helm/pull/739) + +Improvements: +* Mutating webhook will no longer target the agent injector pod [GH-736](https://github.com/hashicorp/vault-helm/pull/736) + +Bugs: +* `vault` service account is now created even if the server is set to disabled, as per before 0.20.0 [GH-737](https://github.com/hashicorp/vault-helm/pull/737) + +## 0.20.0 (May 16th, 2022) + +CHANGES: +* `global.enabled` now works as documented, that is, setting `global.enabled` to false will disable everything, with individual components able to be turned on individually [GH-703](https://github.com/hashicorp/vault-helm/pull/703) +* Default value of `-` used for injector and server to indicate that they follow `global.enabled`. [GH-703](https://github.com/hashicorp/vault-helm/pull/703) +* Vault default image to 1.10.3 +* CSI provider default image to 1.1.0 +* Vault K8s default image to 0.16.0 +* Earliest Kubernetes version tested is now 1.16 +* Helm 3.6+ now required + +Features: +* Support topologySpreadConstraints in server and injector. [GH-652](https://github.com/hashicorp/vault-helm/pull/652) + +Improvements: +* CSI: Set `extraLabels` for daemonset, pods, and service account [GH-690](https://github.com/hashicorp/vault-helm/pull/690) +* Add namespace to injector-leader-elector role, rolebinding and secret [GH-683](https://github.com/hashicorp/vault-helm/pull/683) +* Support policy/v1 PodDisruptionBudget in Kubernetes 1.21+ for server and injector [GH-710](https://github.com/hashicorp/vault-helm/pull/710) +* Make the Cluster Address (CLUSTER_ADDR) configurable [GH-629](https://github.com/hashicorp/vault-helm/pull/709) +* server: Make `publishNotReadyAddresses` configurable for services [GH-694](https://github.com/hashicorp/vault-helm/pull/694) +* server: Allow config to be defined as a YAML object in the values file [GH-684](https://github.com/hashicorp/vault-helm/pull/684) +* Maintain default MutatingWebhookConfiguration values from `v1beta1` [GH-692](https://github.com/hashicorp/vault-helm/pull/692) + +## 0.19.0 (January 20th, 2022) + +CHANGES: +* Vault image default 1.9.2 +* Vault K8s image default 0.14.2 + +Features: +* Added configurable podDisruptionBudget for injector [GH-653](https://github.com/hashicorp/vault-helm/pull/653) +* Make terminationGracePeriodSeconds configurable for server [GH-659](https://github.com/hashicorp/vault-helm/pull/659) +* Added configurable update strategy for injector [GH-661](https://github.com/hashicorp/vault-helm/pull/661) +* csi: ability to set priorityClassName for CSI daemonset pods [GH-670](https://github.com/hashicorp/vault-helm/pull/670) + +Improvements: +* Set the namespace on the OpenShift Route [GH-679](https://github.com/hashicorp/vault-helm/pull/679) +* Add volumes and env vars to helm hook test pod [GH-673](https://github.com/hashicorp/vault-helm/pull/673) +* Make TLS configurable for OpenShift routes [GH-686](https://github.com/hashicorp/vault-helm/pull/686) + +## 0.18.0 (November 17th, 2021) + +CHANGES: +* Removed support for deploying a leader-elector container with the [vault-k8s injector](https://github.com/hashicorp/vault-k8s) injector since vault-k8s now uses an internal mechanism to determine leadership [GH-649](https://github.com/hashicorp/vault-helm/pull/649) +* Vault image default 1.9.0 +* Vault K8s image default 0.14.1 + +Improvements: +* Added templateConfig.staticSecretRenderInterval chart option for the injector [GH-621](https://github.com/hashicorp/vault-helm/pull/621) + +## 0.17.1 (October 25th, 2021) + +Improvements: + * Add option for Ingress PathType [GH-634](https://github.com/hashicorp/vault-helm/pull/634) + +## 0.17.0 (October 21st, 2021) + +KNOWN ISSUES: +* The chart will fail to deploy on Kubernetes 1.19+ with `server.ingress.enabled=true` because no `pathType` is set + +CHANGES: +* Vault image default 1.8.4 +* Vault K8s image default 0.14.0 + +Improvements: +* Support Ingress stable networking API [GH-590](https://github.com/hashicorp/vault-helm/pull/590) +* Support setting the `externalTrafficPolicy` for `LoadBalancer` and `NodePort` service types [GH-626](https://github.com/hashicorp/vault-helm/pull/626) +* Support setting ingressClassName on server Ingress [GH-630](https://github.com/hashicorp/vault-helm/pull/630) + +Bugs: +* Ensure `kubeletRootDir` volume path and mounts are the same when `csi.daemonSet.kubeletRootDir` is overridden [GH-628](https://github.com/hashicorp/vault-helm/pull/628) + +## 0.16.1 (September 29th, 2021) + +CHANGES: +* Vault image default 1.8.3 +* Vault K8s image default 0.13.1 + +## 0.16.0 (September 16th, 2021) + +CHANGES: +* Support for deploying a leader-elector container with the [vault-k8s injector](https://github.com/hashicorp/vault-k8s) injector will be removed in version 0.18.0 of this chart since vault-k8s now uses an internal mechanism to determine leadership. To enable the deployment of the leader-elector container for use with vault-k8s 0.12.0 and earlier, set `useContainer=true`. + +Improvements: + * Make CSI provider `hostPaths` configurable via `csi.daemonSet.providersDir` and `csi.daemonSet.kubeletRootDir` [GH-603](https://github.com/hashicorp/vault-helm/pull/603) + * Support vault-k8s internal leader election [GH-568](https://github.com/hashicorp/vault-helm/pull/568) [GH-607](https://github.com/hashicorp/vault-helm/pull/607) + +## 0.15.0 (August 23rd, 2021) + +Improvements: +* Add imagePullSecrets on server test [GH-572](https://github.com/hashicorp/vault-helm/pull/572) +* Add injector.webhookAnnotations chart option [GH-584](https://github.com/hashicorp/vault-helm/pull/584) + +## 0.14.0 (July 28th, 2021) + +Features: +* Added templateConfig.exitOnRetryFailure chart option for the injector [GH-560](https://github.com/hashicorp/vault-helm/pull/560) + +Improvements: +* Support configuring pod tolerations, pod affinity, and node selectors as YAML [GH-565](https://github.com/hashicorp/vault-helm/pull/565) +* Set the default vault image to come from the hashicorp organization [GH-567](https://github.com/hashicorp/vault-helm/pull/567) +* Add support for running the acceptance tests against a local `kind` cluster [GH-567](https://github.com/hashicorp/vault-helm/pull/567) +* Add `server.ingress.activeService` to configure if the ingress should use the active service [GH-570](https://github.com/hashicorp/vault-helm/pull/570) +* Add `server.route.activeService` to configure if the route should use the active service [GH-570](https://github.com/hashicorp/vault-helm/pull/570) +* Support configuring `global.imagePullSecrets` from a string array [GH-576](https://github.com/hashicorp/vault-helm/pull/576) + + +## 0.13.0 (June 17th, 2021) + +Improvements: +* Added a helm test for vault server [GH-531](https://github.com/hashicorp/vault-helm/pull/531) +* Added server.enterpriseLicense option [GH-547](https://github.com/hashicorp/vault-helm/pull/547) +* Added OpenShift overrides [GH-549](https://github.com/hashicorp/vault-helm/pull/549) + +Bugs: +* Fix ui.serviceNodePort schema [GH-537](https://github.com/hashicorp/vault-helm/pull/537) +* Fix server.ha.disruptionBudget.maxUnavailable schema [GH-535](https://github.com/hashicorp/vault-helm/pull/535) +* Added webhook-certs volume mount to sidecar injector [GH-545](https://github.com/hashicorp/vault-helm/pull/545) + +## 0.12.0 (May 25th, 2021) + +Features: +* Pass additional arguments to `vault-csi-provider` using `csi.extraArgs` [GH-526](https://github.com/hashicorp/vault-helm/pull/526) + +Improvements: +* Set chart kubeVersion and added chart-verifier tests [GH-510](https://github.com/hashicorp/vault-helm/pull/510) +* Added values json schema [GH-513](https://github.com/hashicorp/vault-helm/pull/513) +* Ability to set tolerations for CSI daemonset pods [GH-521](https://github.com/hashicorp/vault-helm/pull/521) +* UI target port is now configurable [GH-437](https://github.com/hashicorp/vault-helm/pull/437) + +Bugs: +* CSI: `global.imagePullSecrets` are now also used for CSI daemonset [GH-519](https://github.com/hashicorp/vault-helm/pull/519) + +## 0.11.0 (April 14th, 2021) + +Features: +* Added `server.enabled` to explicitly skip installing a Vault server [GH-486](https://github.com/hashicorp/vault-helm/pull/486) +* Injector now supports enabling host network [GH-471](https://github.com/hashicorp/vault-helm/pull/471) +* Injector port is now configurable [GH-489](https://github.com/hashicorp/vault-helm/pull/489) +* Injector Vault Agent resource defaults are now configurable [GH-493](https://github.com/hashicorp/vault-helm/pull/493) +* Extra paths can now be added to the Vault ingress service [GH-460](https://github.com/hashicorp/vault-helm/pull/460) +* Log level and format can now be set directly using `server.logFormat` and `server.logLevel` [GH-488](https://github.com/hashicorp/vault-helm/pull/488) + +Improvements: +* Added `https` name to injector service port [GH-495](https://github.com/hashicorp/vault-helm/pull/495) + +Bugs: +* CSI: Fix ClusterRole name and DaemonSet's service account to properly match deployment name [GH-486](https://github.com/hashicorp/vault-helm/pull/486) + +## 0.10.0 (March 25th, 2021) + +Features: +* Add support for [Vault CSI provider](https://github.com/hashicorp/vault-csi-provider) [GH-461](https://github.com/hashicorp/vault-helm/pull/461) + +Improvements: +* `objectSelector` can now be set on the mutating admission webhook [GH-456](https://github.com/hashicorp/vault-helm/pull/456) + +## 0.9.1 (February 2nd, 2021) + +Bugs: +* Injector: fix labels for default anti-affinity rule [GH-441](https://github.com/hashicorp/vault-helm/pull/441), [GH-442](https://github.com/hashicorp/vault-helm/pull/442) +* Set VAULT_DEV_LISTEN_ADDRESS in dev mode [GH-446](https://github.com/hashicorp/vault-helm/pull/446) + +## 0.9.0 (January 5th, 2021) + +Features: +* Injector now supports configurable number of replicas [GH-436](https://github.com/hashicorp/vault-helm/pull/436) +* Injector now supports auto TLS for multiple replicas using leader elections [GH-436](https://github.com/hashicorp/vault-helm/pull/436) + +Improvements: +* Dev mode now supports `server.extraArgs` [GH-421](https://github.com/hashicorp/vault-helm/pull/421) +* Dev mode root token is now configurable with `server.dev.devRootToken` [GH-415](https://github.com/hashicorp/vault-helm/pull/415) +* ClusterRoleBinding updated to `v1` [GH-395](https://github.com/hashicorp/vault-helm/pull/395) +* MutatingWebhook updated to `v1` [GH-408](https://github.com/hashicorp/vault-helm/pull/408) +* Injector service now supports `injector.service.annotations` [425](https://github.com/hashicorp/vault-helm/pull/425) +* Injector now supports `injector.extraLabels` [428](https://github.com/hashicorp/vault-helm/pull/428) +* Added `allowPrivilegeEscalation: false` to Vault and Injector containers [429](https://github.com/hashicorp/vault-helm/pull/429) +* Network Policy now supports `server.networkPolicy.egress` [389](https://github.com/hashicorp/vault-helm/pull/389) + +## 0.8.0 (October 20th, 2020) + +Improvements: +* Make server NetworkPolicy independent of OpenShift [GH-381](https://github.com/hashicorp/vault-helm/pull/381) +* Added configurables for all probe values [GH-387](https://github.com/hashicorp/vault-helm/pull/387) +* MountPath for audit and data storage is now configurable [GH-393](https://github.com/hashicorp/vault-helm/pull/393) +* Annotations can now be added to the Injector pods [GH-394](https://github.com/hashicorp/vault-helm/pull/394) +* The injector can now be configured with a failurePolicy [GH-400](https://github.com/hashicorp/vault-helm/pull/400) +* Added additional environment variables for rendering within Vault config [GH-398](https://github.com/hashicorp/vault-helm/pull/398) +* Service account for Vault K8s auth is automatically created when `injector.externalVaultAddr` is set [GH-392](https://github.com/hashicorp/vault-helm/pull/392) + +Bugs: +* Fixed install output using Helm V2 command [GH-378](https://github.com/hashicorp/vault-helm/pull/378) + +## 0.7.0 (August 24th, 2020) + +Features: +* Added `volumes` and `volumeMounts` for mounting _any_ type of volume [GH-314](https://github.com/hashicorp/vault-helm/pull/314). +* Added configurable to enable prometheus telemetery exporter for Vault Agent Injector [GH-372](https://github.com/hashicorp/vault-helm/pull/372) + +Improvements: +* Added `defaultMode` configurable to `extraVolumes`[GH-321](https://github.com/hashicorp/vault-helm/pull/321) +* Option to install and use PodSecurityPolicy's for vault server and injector [GH-177](https://github.com/hashicorp/vault-helm/pull/177) +* `VAULT_API_ADDR` is now configurable [GH-290](https://github.com/hashicorp/vault-helm/pull/290) +* Removed deprecated tolerate unready endpoint annotations [GH-363](https://github.com/hashicorp/vault-helm/pull/363) +* Add an option to set annotations on the StatefulSet [GH-199](https://github.com/hashicorp/vault-helm/pull/199) +* Make the vault server serviceAccount name a configuration option [GH-367](https://github.com/hashicorp/vault-helm/pull/367) +* Removed annotation striction from `dev` mode [GH-371](https://github.com/hashicorp/vault-helm/pull/371) +* Add an option to set annotations on PVCs [GH-364](https://github.com/hashicorp/vault-helm/pull/364) +* Added service configurables for UI [GH-285](https://github.com/hashicorp/vault-helm/pull/285) + +Bugs: +* Fix python dependency in test image [GH-337](https://github.com/hashicorp/vault-helm/pull/337) +* Fix caBundle not being quoted causing validation issues with Helm 3 [GH-352](https://github.com/hashicorp/vault-helm/pull/352) +* Fix injector network policy being rendered when injector is not enabled [GH-358](https://github.com/hashicorp/vault-helm/pull/358) + +## 0.6.0 (June 3rd, 2020) + +Features: +* Added `extraInitContainers` to define init containers for the Vault cluster [GH-258](https://github.com/hashicorp/vault-helm/pull/258) +* Added `postStart` lifecycle hook allowing users to configure commands to run on the Vault pods after they're ready [GH-315](https://github.com/hashicorp/vault-helm/pull/315) +* Beta: Added OpenShift support [GH-319](https://github.com/hashicorp/vault-helm/pull/319) + +Improvements: +* Server configs can now be defined in YAML. Multi-line string configs are still compatible [GH-213](https://github.com/hashicorp/vault-helm/pull/213) +* Removed IPC_LOCK privileges since swap is disabled on containers [[GH-198](https://github.com/hashicorp/vault-helm/pull/198)] +* Use port names that map to vault.scheme [[GH-223](https://github.com/hashicorp/vault-helm/pull/223)] +* Allow both yaml and multi-line string annotations [[GH-272](https://github.com/hashicorp/vault-helm/pull/272)] +* Added configurable to set the Raft node name to hostname [[GH-269](https://github.com/hashicorp/vault-helm/pull/269)] +* Support setting priorityClassName on pods [[GH-282](https://github.com/hashicorp/vault-helm/pull/282)] +* Added support for ingress apiVersion `networking.k8s.io/v1beta1` [[GH-310](https://github.com/hashicorp/vault-helm/pull/310)] +* Added configurable to change service type for the HA active service [GH-317](https://github.com/hashicorp/vault-helm/pull/317) + +Bugs: +* Fixed default ingress path [[GH-224](https://github.com/hashicorp/vault-helm/pull/224)] +* Fixed annotations for HA standby/active services [[GH-268](https://github.com/hashicorp/vault-helm/pull/268)] +* Updated some value defaults to match their use in templates [[GH-309](https://github.com/hashicorp/vault-helm/pull/309)] +* Use active service on ingress when ha [[GH-270](https://github.com/hashicorp/vault-helm/pull/270)] +* Fixed bug where pull secrets weren't being used for injector image [GH-298](https://github.com/hashicorp/vault-helm/pull/298) + +## 0.5.0 (April 9th, 2020) + +Features: + +* Added Raft support for HA mode [[GH-228](https://github.com/hashicorp/vault-helm/pull/229)] +* Now supports Vault Enterprise [[GH-250](https://github.com/hashicorp/vault-helm/pull/250)] +* Added K8s Service Registration for HA modes [[GH-250](https://github.com/hashicorp/vault-helm/pull/250)] + +* Option to set `AGENT_INJECT_VAULT_AUTH_PATH` for the injector [[GH-185](https://github.com/hashicorp/vault-helm/pull/185)] +* Added environment variables for logging and revocation on Vault Agent Injector [[GH-219](https://github.com/hashicorp/vault-helm/pull/219)] +* Option to set environment variables for the injector deployment [[GH-232](https://github.com/hashicorp/vault-helm/pull/232)] +* Added affinity, tolerations, and nodeSelector options for the injector deployment [[GH-234](https://github.com/hashicorp/vault-helm/pull/234)] +* Made all annotations multi-line strings [[GH-227](https://github.com/hashicorp/vault-helm/pull/227)] + +## 0.4.0 (February 21st, 2020) + +Improvements: + +* Allow process namespace sharing between Vault and sidecar containers [[GH-174](https://github.com/hashicorp/vault-helm/pull/174)] +* Added configurable to change updateStrategy [[GH-172](https://github.com/hashicorp/vault-helm/pull/172)] +* Added sleep in the preStop lifecycle step [[GH-188](https://github.com/hashicorp/vault-helm/pull/188)] +* Updated chart and tests to Helm 3 [[GH-195](https://github.com/hashicorp/vault-helm/pull/195)] +* Adds Values.injector.externalVaultAddr to use the injector with an external vault [[GH-207](https://github.com/hashicorp/vault-helm/pull/207)] + +Bugs: + +* Fix bug where Vault lifecycle was appended after extra containers. [[GH-179](https://github.com/hashicorp/vault-helm/pull/179)] + +## 0.3.3 (January 14th, 2020) + +Security: + +* Added `server.extraArgs` to allow loading of additional Vault configurations containing sensitive settings [GH-175](https://github.com/hashicorp/vault-helm/issues/175) + +Bugs: + +* Fixed injection bug where wrong environment variables were being used for manually mounted TLS files + +## 0.3.2 (January 8th, 2020) + +Bugs: + +* Fixed injection bug where TLS Skip Verify was true by default [VK8S-35] + +## 0.3.1 (January 2nd, 2020) + +Bugs: + +* Fixed injection bug causing kube-system pods to be rejected [VK8S-14] + +## 0.3.0 (December 19th, 2019) + +Features: + +* Extra containers can now be added to the Vault pods +* Added configurability of pod probes +* Added Vault Agent Injector + +Improvements: + +* Moved `global.image` to `server.image` +* Changed UI service template to route pods that aren't ready via `publishNotReadyAddresses: true` +* Added better HTTP/HTTPS scheme support to http probes +* Added configurable node port for Vault service +* `server.authDelegator` is now enabled by default + +Bugs: + +* Fixed upgrade bug by removing chart label which contained the version +* Fixed typo on `serviceAccount` (was `serviceaccount`) +* Fixed readiness/liveliness HTTP probe default to accept standbys + +## 0.2.1 (November 12th, 2019) + +Bugs: + +* Removed `readOnlyRootFilesystem` causing issues when validating deployments + +## 0.2.0 (October 29th, 2019) + +Features: + +* Added load balancer support +* Added ingress support +* Added configurable for service types (ClusterIP, NodePort, LoadBalancer, etc) +* Removed root requirements, now runs as Vault user + +Improvements: + +* Added namespace value to all rendered objects +* Made ports configurable in services +* Added the ability to add custom annotations to services +* Added docker image for running bats test in CircleCI +* Removed restrictions around `dev` mode such as annotations +* `readOnlyRootFilesystem` is now configurable +* Image Pull Policy is now configurable + +Bugs: + +* Fixed selector bugs related to Helm label updates (services, affinities, and pod disruption) +* Fixed bug where audit storage was not being mounted in HA mode +* Fixed bug where Vault pod wasn't receiving SIGTERM signals + + +## 0.1.2 (August 22nd, 2019) + +Features: + +* Added `extraSecretEnvironmentVars` to allow users to mount secrets as + environment variables +* Added `tlsDisable` configurable to change HTTP protocols from HTTP/HTTPS + depending on the value +* Added `serviceNodePort` to configure a NodePort value when setting `serviceType` + to "NodePort" + +Improvements: + +* Changed UI port to 8200 for better HTTP protocol support +* Added `path` to `extraVolumes` to define where the volume should be + mounted. Defaults to `/vault/userconfig` +* Upgraded Vault to 1.2.2 + +Bugs: + +* Fixed bug where upgrade would fail because immutable labels were being + changed (Helm Version label) +* Fixed bug where UI service used wrong selector after updating helm labels +* Added `VAULT_API_ADDR` env to Vault pod to fixed bug where Vault thinks + Consul is the active node +* Removed `step-down` preStop since it requires authentication. Shutdown signal + sent by Kube acts similar to `step-down` + + +## 0.1.1 (August 7th, 2019) + +Features: + +* Added `authDelegator` Cluster Role Binding to Vault service account for + bootstrapping Kube auth method + +Improvements: + +* Added `server.service.clusterIP` to `values.yml` so users can toggle + the Vault service to headless by using the value `None`. +* Upgraded Vault to 1.2.1 + +## 0.1.0 (August 6th, 2019) + +Initial release diff --git a/charts/partners/hashicorp/vault/0.29.0/src/CODEOWNERS b/charts/partners/hashicorp/vault/0.29.0/src/CODEOWNERS new file mode 100644 index 00000000000..a765f7ea915 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/CODEOWNERS @@ -0,0 +1 @@ +* @hashicorp/vault-ecosystem diff --git a/charts/partners/hashicorp/vault/0.29.0/src/CONTRIBUTING.md b/charts/partners/hashicorp/vault/0.29.0/src/CONTRIBUTING.md new file mode 100644 index 00000000000..ad31ac92d15 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/CONTRIBUTING.md @@ -0,0 +1,247 @@ +# Contributing to Vault Helm + +**Please note:** We take Vault's security and our users' trust very seriously. +If you believe you have found a security issue in Vault, please responsibly +disclose by contacting us at security@hashicorp.com. + +**First:** if you're unsure or afraid of _anything_, just ask or submit the +issue or pull request anyways. You won't be yelled at for giving it your best +effort. The worst that can happen is that you'll be politely asked to change +something. We appreciate any sort of contributions, and don't want a wall of +rules to get in the way of that. + +That said, if you want to ensure that a pull request is likely to be merged, +talk to us! You can find out our thoughts and ensure that your contribution +won't clash or be obviated by Vault's normal direction. A great way to do this +is via the [Vault Discussion Forum][1]. + +This document will cover what we're looking for in terms of reporting issues. +By addressing all the points we're looking for, it raises the chances we can +quickly merge or address your contributions. + +[1]: https://discuss.hashicorp.com/c/vault + +## Issues + +### Reporting an Issue + +* Make sure you test against the latest released version. It is possible + we already fixed the bug you're experiencing. Even better is if you can test + against `main`, as bugs are fixed regularly but new versions are only + released every few months. + +* Provide steps to reproduce the issue, and if possible include the expected + results as well as the actual results. Please provide text, not screen shots! + +* Respond as promptly as possible to any questions made by the Vault + team to your issue. Stale issues will be closed periodically. + +### Issue Lifecycle + +1. The issue is reported. + +2. The issue is verified and categorized by a Vault Helm collaborator. + Categorization is done via tags. For example, bugs are marked as "bugs". + +3. Unless it is critical, the issue may be left for a period of time (sometimes + many weeks), giving outside contributors -- maybe you!? -- a chance to + address the issue. + +4. The issue is addressed in a pull request or commit. The issue will be + referenced in the commit message so that the code that fixes it is clearly + linked. + +5. The issue is closed. Sometimes, valid issues will be closed to keep + the issue tracker clean. The issue is still indexed and available for + future viewers, or can be re-opened if necessary. + +## Testing + +The Helm chart ships with both unit and acceptance tests. + +The unit tests don't require any active Kubernetes cluster and complete +very quickly. These should be used for fast feedback during development. +The acceptance tests require a Kubernetes cluster with a configured `kubectl`. + +### Test Using Docker Container + +The following are the instructions for running bats tests using a Docker container. + +#### Prerequisites + +* Docker installed +* `vault-helm` checked out locally + +#### Test + +**Note:** the following commands should be run from the `vault-helm` directory. + +First, build the Docker image for running the tests: + +```shell +docker build -f ${PWD}/test/docker/Test.dockerfile ${PWD}/test/docker/ -t vault-helm-test +``` +Next, execute the tests with the following commands: +```shell +docker run -it --rm -v "${PWD}:/test" vault-helm-test bats /test/test/unit +``` +It's possible to only run specific bats tests using regular expressions. +For example, the following will run only tests with "injector" in the name: +```shell +docker run -it --rm -v "${PWD}:/test" vault-helm-test bats /test/test/unit -f "injector" +``` + +### Test Manually +The following are the instructions for running bats tests on your workstation. +#### Prerequisites +* [Bats](https://github.com/bats-core/bats-core) + ```bash + brew install bats-core + ``` +* [yq](https://pypi.org/project/yq/) + ```bash + brew install python-yq + ``` +* [helm](https://helm.sh) + ```bash + brew install kubernetes-helm + ``` + +#### Test + +To run the unit tests: + + bats ./test/unit + +To run the acceptance tests: + + bats ./test/acceptance + +If the acceptance tests fail, deployed resources in the Kubernetes cluster +may not be properly cleaned up. We recommend recycling the Kubernetes cluster to +start from a clean slate. + +**Note:** There is a Terraform configuration in the +[`test/terraform/`](https://github.com/hashicorp/vault-helm/tree/main/test/terraform) directory +that can be used to quickly bring up a GKE cluster and configure +`kubectl` and `helm` locally. This can be used to quickly spin up a test +cluster for acceptance tests. Unit tests _do not_ require a running Kubernetes +cluster. + +### Writing Unit Tests + +Changes to the Helm chart should be accompanied by appropriate unit tests. + +#### Formatting + +- Put tests in the test file in the same order as the variables appear in the `values.yaml`. +- Start tests for a chart value with a header that says what is being tested, like this: + ``` + #-------------------------------------------------------------------- + # annotations + ``` + +- Name the test based on what it's testing in the following format (this will be its first line): + ``` + @test "
: " { + ``` + + When adding tests to an existing file, the first section will be the same as the other tests in the file. + +#### Test Details + +[Bats](https://github.com/bats-core/bats-core) provides a way to run commands in a shell and inspect the output in an automated way. +In all of the tests in this repo, the base command being run is [helm template](https://docs.helm.sh/helm/#helm-template) which turns the templated files into straight yaml output. +In this way, we're able to test that the various conditionals in the templates render as we would expect. + +Each test defines the files that should be rendered using the `--show-only` flag, then it might adjust chart values by adding `--set` flags as well. +The output from this `helm template` command is then piped to [yq](https://pypi.org/project/yq/). +`yq` allows us to pull out just the information we're interested in, either by referencing its position in the yaml file directly or giving information about it (like its length). +The `-r` flag can be used with `yq` to return a raw string instead of a quoted one which is especially useful when looking for an exact match. + +The test passes or fails based on the conditional at the end that is in square brackets, which is a comparison of our expected value and the output of `helm template` piped to `yq`. + +The `| tee /dev/stderr ` pieces direct any terminal output of the `helm template` and `yq` commands to stderr so that it doesn't interfere with `bats`. + +#### Test Examples + +Here are some examples of common test patterns: + +- Check that a value is disabled by default + + ``` + @test "ui/Service: no type by default" { + cd `chart_dir` + local actual=$(helm template \ + --show-only templates/ui-service.yaml \ + . | tee /dev/stderr | + yq -r '.spec.type' | tee /dev/stderr) + [ "${actual}" = "null" ] + } + ``` + + In this example, nothing is changed from the default templates (no `--set` flags), then we use `yq` to retrieve the value we're checking, `.spec.type`. + This output is then compared against our expected value (`null` in this case) in the assertion `[ "${actual}" = "null" ]`. + + +- Check that a template value is rendered to a specific value + ``` + @test "ui/Service: specified type" { + cd `chart_dir` + local actual=$(helm template \ + --show-only templates/ui-service.yaml \ + --set 'ui.serviceType=LoadBalancer' \ + . | tee /dev/stderr | + yq -r '.spec.type' | tee /dev/stderr) + [ "${actual}" = "LoadBalancer" ] + } + ``` + + This is very similar to the last example, except we've changed a default value with the `--set` flag and correspondingly changed the expected value. + +- Check that a template value contains several values + ``` + @test "server/standalone-StatefulSet: custom resources" { + cd `chart_dir` + local actual=$(helm template \ + --show-only templates/server-statefulset.yaml \ + --set 'server.standalone.enabled=true' \ + --set 'server.resources.requests.memory=256Mi' \ + --set 'server.resources.requests.cpu=250m' \ + . | tee /dev/stderr | + yq -r '.spec.template.spec.containers[0].resources.requests.memory' | tee /dev/stderr) + [ "${actual}" = "256Mi" ] + + local actual=$(helm template \ + --show-only templates/server-statefulset.yaml \ + --set 'server.standalone.enabled=true' \ + --set 'server.resources.limits.memory=256Mi' \ + --set 'server.resources.limits.cpu=250m' \ + . | tee /dev/stderr | + yq -r '.spec.template.spec.containers[0].resources.limits.memory' | tee /dev/stderr) + [ "${actual}" = "256Mi" ] + ``` + + *Note:* If testing more than two conditions, it would be good to separate the `helm template` part of the command from the `yq` sections to reduce redundant work. + +- Check that an entire template file is not rendered + ``` + @test "syncCatalog/Deployment: disabled by default" { + cd `chart_dir` + local actual=$( (helm template \ + --show-only templates/server-statefulset.yaml \ + --set 'global.enabled=false' \ + . || echo "---") | tee /dev/stderr | + yq 'length > 0' | tee /dev/stderr) + [ "${actual}" = "false" ] + } + ``` + Here we are check the length of the command output to see if the anything is rendered. + This style can easily be switched to check that a file is rendered instead. + +## Contributor License Agreement + +We require that all contributors sign our Contributor License Agreement ("CLA") +before we can accept the contribution. + +[Learn more about why HashiCorp requires a CLA and what the CLA includes](https://www.hashicorp.com/cla) diff --git a/charts/partners/hashicorp/vault/0.29.0/src/Chart.yaml b/charts/partners/hashicorp/vault/0.29.0/src/Chart.yaml new file mode 100644 index 00000000000..98f633f44de --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/Chart.yaml @@ -0,0 +1,23 @@ +annotations: + charts.openshift.io/name: HashiCorp Vault +apiVersion: v2 +appVersion: 1.18.1 +description: Official HashiCorp Vault Chart +home: https://www.vaultproject.io +icon: https://github.com/hashicorp/vault/raw/f22d202cde2018f9455dec755118a9b84586e082/Vault_PrimaryLogo_Black.png +keywords: +- vault +- security +- encryption +- secrets +- management +- automation +- infrastructure +kubeVersion: '>= 1.20.0-0' +name: vault +sources: +- https://github.com/hashicorp/vault +- https://github.com/hashicorp/vault-helm +- https://github.com/hashicorp/vault-k8s +- https://github.com/hashicorp/vault-csi-provider +version: 0.29.0 diff --git a/charts/partners/hashicorp/vault/0.29.0/src/LICENSE b/charts/partners/hashicorp/vault/0.29.0/src/LICENSE new file mode 100644 index 00000000000..74f38c01038 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/LICENSE @@ -0,0 +1,355 @@ +Copyright (c) 2018 HashiCorp, Inc. + +Mozilla Public License, version 2.0 + +1. Definitions + +1.1. “Contributor” + + means each individual or legal entity that creates, contributes to the + creation of, or owns Covered Software. + +1.2. “Contributor Version” + + means the combination of the Contributions of others (if any) used by a + Contributor and that particular Contributor’s Contribution. + +1.3. “Contribution” + + means Covered Software of a particular Contributor. + +1.4. “Covered Software” + + means Source Code Form to which the initial Contributor has attached the + notice in Exhibit A, the Executable Form of such Source Code Form, and + Modifications of such Source Code Form, in each case including portions + thereof. + +1.5. “Incompatible With Secondary Licenses” + means + + a. that the initial Contributor has attached the notice described in + Exhibit B to the Covered Software; or + + b. that the Covered Software was made available under the terms of version + 1.1 or earlier of the License, but not also under the terms of a + Secondary License. + +1.6. “Executable Form” + + means any form of the work other than Source Code Form. + +1.7. “Larger Work” + + means a work that combines Covered Software with other material, in a separate + file or files, that is not Covered Software. + +1.8. “License” + + means this document. + +1.9. “Licensable” + + means having the right to grant, to the maximum extent possible, whether at the + time of the initial grant or subsequently, any and all of the rights conveyed by + this License. + +1.10. “Modifications” + + means any of the following: + + a. any file in Source Code Form that results from an addition to, deletion + from, or modification of the contents of Covered Software; or + + b. any new file in Source Code Form that contains any Covered Software. + +1.11. “Patent Claims” of a Contributor + + means any patent claim(s), including without limitation, method, process, + and apparatus claims, in any patent Licensable by such Contributor that + would be infringed, but for the grant of the License, by the making, + using, selling, offering for sale, having made, import, or transfer of + either its Contributions or its Contributor Version. + +1.12. “Secondary License” + + means either the GNU General Public License, Version 2.0, the GNU Lesser + General Public License, Version 2.1, the GNU Affero General Public + License, Version 3.0, or any later versions of those licenses. + +1.13. “Source Code Form” + + means the form of the work preferred for making modifications. + +1.14. “You” (or “Your”) + + means an individual or a legal entity exercising rights under this + License. For legal entities, “You” includes any entity that controls, is + controlled by, or is under common control with You. For purposes of this + definition, “control” means (a) the power, direct or indirect, to cause + the direction or management of such entity, whether by contract or + otherwise, or (b) ownership of more than fifty percent (50%) of the + outstanding shares or beneficial ownership of such entity. + + +2. License Grants and Conditions + +2.1. Grants + + Each Contributor hereby grants You a world-wide, royalty-free, + non-exclusive license: + + a. under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or as + part of a Larger Work; and + + b. under Patent Claims of such Contributor to make, use, sell, offer for + sale, have made, import, and otherwise transfer either its Contributions + or its Contributor Version. + +2.2. Effective Date + + The licenses granted in Section 2.1 with respect to any Contribution become + effective for each Contribution on the date the Contributor first distributes + such Contribution. + +2.3. Limitations on Grant Scope + + The licenses granted in this Section 2 are the only rights granted under this + License. No additional rights or licenses will be implied from the distribution + or licensing of Covered Software under this License. Notwithstanding Section + 2.1(b) above, no patent license is granted by a Contributor: + + a. for any code that a Contributor has removed from Covered Software; or + + b. for infringements caused by: (i) Your and any other third party’s + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + + c. under Patent Claims infringed by Covered Software in the absence of its + Contributions. + + This License does not grant any rights in the trademarks, service marks, or + logos of any Contributor (except as may be necessary to comply with the + notice requirements in Section 3.4). + +2.4. Subsequent Licenses + + No Contributor makes additional grants as a result of Your choice to + distribute the Covered Software under a subsequent version of this License + (see Section 10.2) or under the terms of a Secondary License (if permitted + under the terms of Section 3.3). + +2.5. Representation + + Each Contributor represents that the Contributor believes its Contributions + are its original creation(s) or it has sufficient rights to grant the + rights to its Contributions conveyed by this License. + +2.6. Fair Use + + This License is not intended to limit any rights You have under applicable + copyright doctrines of fair use, fair dealing, or other equivalents. + +2.7. Conditions + + Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in + Section 2.1. + + +3. Responsibilities + +3.1. Distribution of Source Form + + All distribution of Covered Software in Source Code Form, including any + Modifications that You create or to which You contribute, must be under the + terms of this License. You must inform recipients that the Source Code Form + of the Covered Software is governed by the terms of this License, and how + they can obtain a copy of this License. You may not attempt to alter or + restrict the recipients’ rights in the Source Code Form. + +3.2. Distribution of Executable Form + + If You distribute Covered Software in Executable Form then: + + a. such Covered Software must also be made available in Source Code Form, + as described in Section 3.1, and You must inform recipients of the + Executable Form how they can obtain a copy of such Source Code Form by + reasonable means in a timely manner, at a charge no more than the cost + of distribution to the recipient; and + + b. You may distribute such Executable Form under the terms of this License, + or sublicense it under different terms, provided that the license for + the Executable Form does not attempt to limit or alter the recipients’ + rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + + You may create and distribute a Larger Work under terms of Your choice, + provided that You also comply with the requirements of this License for the + Covered Software. If the Larger Work is a combination of Covered Software + with a work governed by one or more Secondary Licenses, and the Covered + Software is not Incompatible With Secondary Licenses, this License permits + You to additionally distribute such Covered Software under the terms of + such Secondary License(s), so that the recipient of the Larger Work may, at + their option, further distribute the Covered Software under the terms of + either this License or such Secondary License(s). + +3.4. Notices + + You may not remove or alter the substance of any license notices (including + copyright notices, patent notices, disclaimers of warranty, or limitations + of liability) contained within the Source Code Form of the Covered + Software, except that You may alter any license notices to the extent + required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + + You may choose to offer, and to charge a fee for, warranty, support, + indemnity or liability obligations to one or more recipients of Covered + Software. However, You may do so only on Your own behalf, and not on behalf + of any Contributor. You must make it absolutely clear that any such + warranty, support, indemnity, or liability obligation is offered by You + alone, and You hereby agree to indemnify every Contributor for any + liability incurred by such Contributor as a result of warranty, support, + indemnity or liability terms You offer. You may include additional + disclaimers of warranty and limitations of liability specific to any + jurisdiction. + +4. Inability to Comply Due to Statute or Regulation + + If it is impossible for You to comply with any of the terms of this License + with respect to some or all of the Covered Software due to statute, judicial + order, or regulation then You must: (a) comply with the terms of this License + to the maximum extent possible; and (b) describe the limitations and the code + they affect. Such description must be placed in a text file included with all + distributions of the Covered Software under this License. Except to the + extent prohibited by statute or regulation, such description must be + sufficiently detailed for a recipient of ordinary skill to be able to + understand it. + +5. Termination + +5.1. The rights granted under this License will terminate automatically if You + fail to comply with any of its terms. However, if You become compliant, + then the rights granted under this License from a particular Contributor + are reinstated (a) provisionally, unless and until such Contributor + explicitly and finally terminates Your grants, and (b) on an ongoing basis, + if such Contributor fails to notify You of the non-compliance by some + reasonable means prior to 60 days after You have come back into compliance. + Moreover, Your grants from a particular Contributor are reinstated on an + ongoing basis if such Contributor notifies You of the non-compliance by + some reasonable means, this is the first time You have received notice of + non-compliance with this License from such Contributor, and You become + compliant prior to 30 days after Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent + infringement claim (excluding declaratory judgment actions, counter-claims, + and cross-claims) alleging that a Contributor Version directly or + indirectly infringes any patent, then the rights granted to You by any and + all Contributors for the Covered Software under Section 2.1 of this License + shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user + license agreements (excluding distributors and resellers) which have been + validly granted by You or Your distributors under this License prior to + termination shall survive termination. + +6. Disclaimer of Warranty + + Covered Software is provided under this License on an “as is” basis, without + warranty of any kind, either expressed, implied, or statutory, including, + without limitation, warranties that the Covered Software is free of defects, + merchantable, fit for a particular purpose or non-infringing. The entire + risk as to the quality and performance of the Covered Software is with You. + Should any Covered Software prove defective in any respect, You (not any + Contributor) assume the cost of any necessary servicing, repair, or + correction. This disclaimer of warranty constitutes an essential part of this + License. No use of any Covered Software is authorized under this License + except under this disclaimer. + +7. Limitation of Liability + + Under no circumstances and under no legal theory, whether tort (including + negligence), contract, or otherwise, shall any Contributor, or anyone who + distributes Covered Software as permitted above, be liable to You for any + direct, indirect, special, incidental, or consequential damages of any + character including, without limitation, damages for lost profits, loss of + goodwill, work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses, even if such party shall have been + informed of the possibility of such damages. This limitation of liability + shall not apply to liability for death or personal injury resulting from such + party’s negligence to the extent applicable law prohibits such limitation. + Some jurisdictions do not allow the exclusion or limitation of incidental or + consequential damages, so this exclusion and limitation may not apply to You. + +8. Litigation + + Any litigation relating to this License may be brought only in the courts of + a jurisdiction where the defendant maintains its principal place of business + and such litigation shall be governed by laws of that jurisdiction, without + reference to its conflict-of-law provisions. Nothing in this Section shall + prevent a party’s ability to bring cross-claims or counter-claims. + +9. Miscellaneous + + This License represents the complete agreement concerning the subject matter + hereof. If any provision of this License is held to be unenforceable, such + provision shall be reformed only to the extent necessary to make it + enforceable. Any law or regulation which provides that the language of a + contract shall be construed against the drafter shall not be used to construe + this License against a Contributor. + + +10. Versions of the License + +10.1. New Versions + + Mozilla Foundation is the license steward. Except as provided in Section + 10.3, no one other than the license steward has the right to modify or + publish new versions of this License. Each version will be given a + distinguishing version number. + +10.2. Effect of New Versions + + You may distribute the Covered Software under the terms of the version of + the License under which You originally received the Covered Software, or + under the terms of any subsequent version published by the license + steward. + +10.3. Modified Versions + + If you create software not governed by this License, and you want to + create a new license for such software, you may create and use a modified + version of this License if you rename the license and remove any + references to the name of the license steward (except to note that such + modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses + If You choose to distribute Source Code Form that is Incompatible With + Secondary Licenses under the terms of this version of the License, the + notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice + + This Source Code Form is subject to the + terms of the Mozilla Public License, v. + 2.0. If a copy of the MPL was not + distributed with this file, You can + obtain one at + http://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular file, then +You may include the notice in a location (such as a LICENSE file in a relevant +directory) where a recipient would be likely to look for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - “Incompatible With Secondary Licenses” Notice + + This Source Code Form is “Incompatible + With Secondary Licenses”, as defined by + the Mozilla Public License, v. 2.0. diff --git a/charts/partners/hashicorp/vault/0.29.0/src/Makefile b/charts/partners/hashicorp/vault/0.29.0/src/Makefile new file mode 100644 index 00000000000..8d0b57c03f9 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/Makefile @@ -0,0 +1,101 @@ +TEST_IMAGE?=vault-helm-test +GOOGLE_CREDENTIALS?=vault-helm-test.json +CLOUDSDK_CORE_PROJECT?=vault-helm-dev-246514 +# set to run a single test - e.g acceptance/server-ha-enterprise-dr.bats +ACCEPTANCE_TESTS?=acceptance + +# filter bats unit tests to run. +UNIT_TESTS_FILTER?='.*' + +# set to 'true' to run acceptance tests locally in a kind cluster +LOCAL_ACCEPTANCE_TESTS?=false + +# kind cluster name +KIND_CLUSTER_NAME?=vault-helm + +# kind k8s version +KIND_K8S_VERSION?=v1.31.1 + +# Generate json schema for chart values. See test/README.md for more details. +values-schema: + helm schema-gen values.yaml > values.schema.json + +test-image: + @docker build --rm -t $(TEST_IMAGE) -f $(CURDIR)/test/docker/Test.dockerfile $(CURDIR) + +test-unit: + @docker run --rm -it -v ${PWD}:/helm-test $(TEST_IMAGE) bats -f $(UNIT_TESTS_FILTER) /helm-test/test/unit + +test-bats: test-unit test-acceptance + +test: test-image test-bats + +# run acceptance tests on GKE +# set google project/credential vars above +test-acceptance: +ifeq ($(LOCAL_ACCEPTANCE_TESTS),true) + make setup-kind acceptance +else + @docker run -it -v ${PWD}:/helm-test \ + -e GOOGLE_CREDENTIALS=${GOOGLE_CREDENTIALS} \ + -e CLOUDSDK_CORE_PROJECT=${CLOUDSDK_CORE_PROJECT} \ + -e KUBECONFIG=/helm-test/.kube/config \ + -e VAULT_LICENSE_CI=${VAULT_LICENSE_CI} \ + -w /helm-test \ + $(TEST_IMAGE) \ + make acceptance +endif + +# destroy GKE cluster using terraform +test-destroy: + @docker run -it -v ${PWD}:/helm-test \ + -e GOOGLE_CREDENTIALS=${GOOGLE_CREDENTIALS} \ + -e CLOUDSDK_CORE_PROJECT=${CLOUDSDK_CORE_PROJECT} \ + -w /helm-test \ + $(TEST_IMAGE) \ + make destroy-cluster + +# provision GKE cluster using terraform +test-provision: + @docker run -it -v ${PWD}:/helm-test \ + -e GOOGLE_CREDENTIALS=${GOOGLE_CREDENTIALS} \ + -e CLOUDSDK_CORE_PROJECT=${CLOUDSDK_CORE_PROJECT} \ + -e KUBECONFIG=/helm-test/.kube/config \ + -w /helm-test \ + $(TEST_IMAGE) \ + make provision-cluster + +# this target is for running the acceptance tests +# it is run in the docker container above when the test-acceptance target is invoked +acceptance: +ifneq ($(LOCAL_ACCEPTANCE_TESTS),true) + gcloud auth activate-service-account --key-file=${GOOGLE_CREDENTIALS} +endif + bats --tap --timing test/${ACCEPTANCE_TESTS} + +# this target is for provisioning the GKE cluster +# it is run in the docker container above when the test-provision target is invoked +provision-cluster: + gcloud auth activate-service-account --key-file=${GOOGLE_CREDENTIALS} + terraform init test/terraform + terraform apply -var project=${CLOUDSDK_CORE_PROJECT} -var init_cli=true -auto-approve test/terraform + +# this target is for removing the GKE cluster +# it is run in the docker container above when the test-destroy target is invoked +destroy-cluster: + terraform destroy -auto-approve + +# create a kind cluster for running the acceptance tests locally +setup-kind: + kind get clusters | grep -q "^${KIND_CLUSTER_NAME}$$" || \ + kind create cluster \ + --image kindest/node:${KIND_K8S_VERSION} \ + --name ${KIND_CLUSTER_NAME} \ + --config $(CURDIR)/test/kind/config.yaml + kubectl config use-context kind-${KIND_CLUSTER_NAME} + +# delete the kind cluster +delete-kind: + kind delete cluster --name ${KIND_CLUSTER_NAME} || : + +.PHONY: values-schema test-image test-unit test-bats test test-acceptance test-destroy test-provision acceptance provision-cluster destroy-cluster diff --git a/charts/partners/hashicorp/vault/0.29.0/src/README.md b/charts/partners/hashicorp/vault/0.29.0/src/README.md new file mode 100644 index 00000000000..2e58a67e92a --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/README.md @@ -0,0 +1,43 @@ +# Vault Helm Chart + +> :warning: **Please note**: We take Vault's security and our users' trust very seriously. If +you believe you have found a security issue in Vault Helm, _please responsibly disclose_ +by contacting us at [security@hashicorp.com](mailto:security@hashicorp.com). + +This repository contains the official HashiCorp Helm chart for installing +and configuring Vault on Kubernetes. This chart supports multiple use +cases of Vault on Kubernetes depending on the values provided. + +For full documentation on this Helm chart along with all the ways you can +use Vault with Kubernetes, please see the +[Vault and Kubernetes documentation](https://developer.hashicorp.com/vault/docs/platform/k8s). + +## Prerequisites + +To use the charts here, [Helm](https://helm.sh/) must be configured for your +Kubernetes cluster. Setting up Kubernetes and Helm is outside the scope of +this README. Please refer to the Kubernetes and Helm documentation. + +The versions required are: + + * **Helm 3.6+** + * **Kubernetes 1.28+** - This is the earliest version of Kubernetes tested. + It is possible that this chart works with earlier versions but it is + untested. + +## Usage + +To install the latest version of this chart, add the Hashicorp helm repository +and run `helm install`: + +```console +$ helm repo add hashicorp https://helm.releases.hashicorp.com +"hashicorp" has been added to your repositories + +$ helm install vault hashicorp/vault +``` + +Please see the many options supported in the `values.yaml` file. These are also +fully documented directly on the [Vault +website](https://developer.hashicorp.com/vault/docs/platform/k8s/helm) along with more +detailed installation instructions. diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/NOTES.txt b/charts/partners/hashicorp/vault/0.29.0/src/templates/NOTES.txt new file mode 100644 index 00000000000..60d99a4e56a --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/NOTES.txt @@ -0,0 +1,14 @@ + +Thank you for installing HashiCorp Vault! + +Now that you have deployed Vault, you should look over the docs on using +Vault with Kubernetes available here: + +https://developer.hashicorp.com/vault/docs + + +Your release is named {{ .Release.Name }}. To learn more about the release, try: + + $ helm status {{ .Release.Name }} + $ helm get manifest {{ .Release.Name }} + diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/_helpers.tpl b/charts/partners/hashicorp/vault/0.29.0/src/templates/_helpers.tpl new file mode 100644 index 00000000000..2f90ecbdc6a --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/_helpers.tpl @@ -0,0 +1,1114 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{/* +Create a default fully qualified app name. +We truncate at 63 chars because some Kubernetes name fields are limited to +this (by the DNS naming spec). If release name contains chart name it will +be used as a full name. +*/}} +{{- define "vault.fullname" -}} +{{- if .Values.fullnameOverride -}} +{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} +{{- else -}} +{{- $name := default .Chart.Name .Values.nameOverride -}} +{{- if contains $name .Release.Name -}} +{{- .Release.Name | trunc 63 | trimSuffix "-" -}} +{{- else -}} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} +{{- end -}} +{{- end -}} +{{- end -}} + +{{/* +Create chart name and version as used by the chart label. +*/}} +{{- define "vault.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} +{{- end -}} + +{{/* +Expand the name of the chart. +*/}} +{{- define "vault.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} +{{- end -}} + +{{/* +Allow the release namespace to be overridden +*/}} +{{- define "vault.namespace" -}} +{{- default .Release.Namespace .Values.global.namespace -}} +{{- end -}} + +{{/* +Compute if the csi driver is enabled. +*/}} +{{- define "vault.csiEnabled" -}} +{{- $_ := set . "csiEnabled" (or + (eq (.Values.csi.enabled | toString) "true") + (and (eq (.Values.csi.enabled | toString) "-") (eq (.Values.global.enabled | toString) "true"))) -}} +{{- end -}} + +{{/* +Compute if the injector is enabled. +*/}} +{{- define "vault.injectorEnabled" -}} +{{- $_ := set . "injectorEnabled" (or + (eq (.Values.injector.enabled | toString) "true") + (and (eq (.Values.injector.enabled | toString) "-") (eq (.Values.global.enabled | toString) "true"))) -}} +{{- end -}} + +{{/* +Compute if the server is enabled. +*/}} +{{- define "vault.serverEnabled" -}} +{{- $_ := set . "serverEnabled" (or + (eq (.Values.server.enabled | toString) "true") + (and (eq (.Values.server.enabled | toString) "-") (eq (.Values.global.enabled | toString) "true"))) -}} +{{- end -}} + +{{/* +Compute if the server serviceaccount is enabled. +*/}} +{{- define "vault.serverServiceAccountEnabled" -}} +{{- $_ := set . "serverServiceAccountEnabled" + (and + (eq (.Values.server.serviceAccount.create | toString) "true" ) + (or + (eq (.Values.server.enabled | toString) "true") + (eq (.Values.global.enabled | toString) "true"))) -}} +{{- end -}} + +{{/* +Compute if the server serviceaccount should have a token created and mounted to the serviceaccount. +*/}} +{{- define "vault.serverServiceAccountSecretCreationEnabled" -}} +{{- $_ := set . "serverServiceAccountSecretCreationEnabled" + (and + (eq (.Values.server.serviceAccount.create | toString) "true") + (eq (.Values.server.serviceAccount.createSecret | toString) "true")) -}} +{{- end -}} + + +{{/* +Compute if the server auth delegator serviceaccount is enabled. +*/}} +{{- define "vault.serverAuthDelegator" -}} +{{- $_ := set . "serverAuthDelegator" + (and + (eq (.Values.server.authDelegator.enabled | toString) "true" ) + (or (eq (.Values.server.serviceAccount.create | toString) "true") + (not (eq .Values.server.serviceAccount.name ""))) + (or + (eq (.Values.server.enabled | toString) "true") + (eq (.Values.global.enabled | toString) "true"))) -}} +{{- end -}} + +{{/* +Compute if the server service is enabled. +*/}} +{{- define "vault.serverServiceEnabled" -}} +{{- template "vault.serverEnabled" . -}} +{{- $_ := set . "serverServiceEnabled" (and .serverEnabled (eq (.Values.server.service.enabled | toString) "true")) -}} +{{- end -}} + +{{/* +Compute if the ui is enabled. +*/}} +{{- define "vault.uiEnabled" -}} +{{- $_ := set . "uiEnabled" (or + (eq (.Values.ui.enabled | toString) "true") + (and (eq (.Values.ui.enabled | toString) "-") (eq (.Values.global.enabled | toString) "true"))) -}} +{{- end -}} + +{{/* +Compute the maximum number of unavailable replicas for the PodDisruptionBudget. +This defaults to (n/2)-1 where n is the number of members of the server cluster. +Add a special case for replicas=1, where it should default to 0 as well. +*/}} +{{- define "vault.pdb.maxUnavailable" -}} +{{- if eq (int .Values.server.ha.replicas) 1 -}} +{{ 0 }} +{{- else if .Values.server.ha.disruptionBudget.maxUnavailable -}} +{{ .Values.server.ha.disruptionBudget.maxUnavailable -}} +{{- else -}} +{{- div (sub (div (mul (int .Values.server.ha.replicas) 10) 2) 1) 10 -}} +{{- end -}} +{{- end -}} + +{{/* +Set the variable 'mode' to the server mode requested by the user to simplify +template logic. +*/}} +{{- define "vault.mode" -}} + {{- template "vault.serverEnabled" . -}} + {{- if or (.Values.injector.externalVaultAddr) (.Values.global.externalVaultAddr) -}} + {{- $_ := set . "mode" "external" -}} + {{- else if not .serverEnabled -}} + {{- $_ := set . "mode" "external" -}} + {{- else if eq (.Values.server.dev.enabled | toString) "true" -}} + {{- $_ := set . "mode" "dev" -}} + {{- else if eq (.Values.server.ha.enabled | toString) "true" -}} + {{- $_ := set . "mode" "ha" -}} + {{- else if or (eq (.Values.server.standalone.enabled | toString) "true") (eq (.Values.server.standalone.enabled | toString) "-") -}} + {{- $_ := set . "mode" "standalone" -}} + {{- else -}} + {{- $_ := set . "mode" "" -}} + {{- end -}} +{{- end -}} + +{{/* +Set's the replica count based on the different modes configured by user +*/}} +{{- define "vault.replicas" -}} + {{ if eq .mode "standalone" }} + {{- default 1 -}} + {{ else if eq .mode "ha" }} + {{- if or (kindIs "int64" .Values.server.ha.replicas) (kindIs "float64" .Values.server.ha.replicas) -}} + {{- .Values.server.ha.replicas -}} + {{ else }} + {{- 3 -}} + {{- end -}} + {{ else }} + {{- default 1 -}} + {{ end }} +{{- end -}} + +{{/* +Set's up configmap mounts if this isn't a dev deployment and the user +defined a custom configuration. Additionally iterates over any +extra volumes the user may have specified (such as a secret with TLS). +*/}} +{{- define "vault.volumes" -}} + {{- if and (ne .mode "dev") (or (.Values.server.standalone.config) (.Values.server.ha.config) (.Values.server.ha.raft.config)) }} + - name: config + configMap: + name: {{ template "vault.fullname" . }}-config + {{ end }} + {{- range .Values.server.extraVolumes }} + - name: userconfig-{{ .name }} + {{ .type }}: + {{- if (eq .type "configMap") }} + name: {{ .name }} + {{- else if (eq .type "secret") }} + secretName: {{ .name }} + {{- end }} + defaultMode: {{ .defaultMode | default 420 }} + {{- end }} + {{- if .Values.server.volumes }} + {{- toYaml .Values.server.volumes | nindent 8}} + {{- end }} + {{- if (and .Values.server.enterpriseLicense.secretName .Values.server.enterpriseLicense.secretKey) }} + - name: vault-license + secret: + secretName: {{ .Values.server.enterpriseLicense.secretName }} + defaultMode: 0440 + {{- end }} +{{- end -}} + +{{/* +Set's the args for custom command to render the Vault configuration +file with IP addresses to make the out of box experience easier +for users looking to use this chart with Consul Helm. +*/}} +{{- define "vault.args" -}} + {{ if or (eq .mode "standalone") (eq .mode "ha") }} + - | + cp /vault/config/extraconfig-from-values.hcl /tmp/storageconfig.hcl; + [ -n "${HOST_IP}" ] && sed -Ei "s|HOST_IP|${HOST_IP?}|g" /tmp/storageconfig.hcl; + [ -n "${POD_IP}" ] && sed -Ei "s|POD_IP|${POD_IP?}|g" /tmp/storageconfig.hcl; + [ -n "${HOSTNAME}" ] && sed -Ei "s|HOSTNAME|${HOSTNAME?}|g" /tmp/storageconfig.hcl; + [ -n "${API_ADDR}" ] && sed -Ei "s|API_ADDR|${API_ADDR?}|g" /tmp/storageconfig.hcl; + [ -n "${TRANSIT_ADDR}" ] && sed -Ei "s|TRANSIT_ADDR|${TRANSIT_ADDR?}|g" /tmp/storageconfig.hcl; + [ -n "${RAFT_ADDR}" ] && sed -Ei "s|RAFT_ADDR|${RAFT_ADDR?}|g" /tmp/storageconfig.hcl; + /usr/local/bin/docker-entrypoint.sh vault server -config=/tmp/storageconfig.hcl {{ .Values.server.extraArgs }} + {{ else if eq .mode "dev" }} + - | + /usr/local/bin/docker-entrypoint.sh vault server -dev {{ .Values.server.extraArgs }} + {{ end }} +{{- end -}} + +{{/* +Set's additional environment variables based on the mode. +*/}} +{{- define "vault.envs" -}} + {{ if eq .mode "dev" }} + - name: VAULT_DEV_ROOT_TOKEN_ID + value: {{ .Values.server.dev.devRootToken }} + - name: VAULT_DEV_LISTEN_ADDRESS + value: "[::]:8200" + {{ end }} +{{- end -}} + +{{/* +Set's which additional volumes should be mounted to the container +based on the mode configured. +*/}} +{{- define "vault.mounts" -}} + {{ if eq (.Values.server.auditStorage.enabled | toString) "true" }} + - name: audit + mountPath: {{ .Values.server.auditStorage.mountPath }} + {{ end }} + {{ if or (eq .mode "standalone") (and (eq .mode "ha") (eq (.Values.server.ha.raft.enabled | toString) "true")) }} + {{ if eq (.Values.server.dataStorage.enabled | toString) "true" }} + - name: data + mountPath: {{ .Values.server.dataStorage.mountPath }} + {{ end }} + {{ end }} + {{ if and (ne .mode "dev") (or (.Values.server.standalone.config) (.Values.server.ha.config)) }} + - name: config + mountPath: /vault/config + {{ end }} + {{- range .Values.server.extraVolumes }} + - name: userconfig-{{ .name }} + readOnly: true + mountPath: {{ .path | default "/vault/userconfig" }}/{{ .name }} + {{- end }} + {{- if .Values.server.volumeMounts }} + {{- toYaml .Values.server.volumeMounts | nindent 12}} + {{- end }} + {{- if (and .Values.server.enterpriseLicense.secretName .Values.server.enterpriseLicense.secretKey) }} + - name: vault-license + mountPath: /vault/license + readOnly: true + {{- end }} +{{- end -}} + +{{/* +Set's up the volumeClaimTemplates when data or audit storage is required. HA +might not use data storage since Consul is likely it's backend, however, audit +storage might be desired by the user. +*/}} +{{- define "vault.volumeclaims" -}} + {{- if and (ne .mode "dev") (or .Values.server.dataStorage.enabled .Values.server.auditStorage.enabled) }} + volumeClaimTemplates: + {{- if and (eq (.Values.server.dataStorage.enabled | toString) "true") (or (eq .mode "standalone") (eq (.Values.server.ha.raft.enabled | toString ) "true" )) }} + - metadata: + name: data + {{- include "vault.dataVolumeClaim.annotations" . | nindent 6 }} + {{- include "vault.dataVolumeClaim.labels" . | nindent 6 }} + spec: + accessModes: + - {{ .Values.server.dataStorage.accessMode | default "ReadWriteOnce" }} + resources: + requests: + storage: {{ .Values.server.dataStorage.size }} + {{- if .Values.server.dataStorage.storageClass }} + storageClassName: {{ .Values.server.dataStorage.storageClass }} + {{- end }} + {{ end }} + {{- if eq (.Values.server.auditStorage.enabled | toString) "true" }} + - metadata: + name: audit + {{- include "vault.auditVolumeClaim.annotations" . | nindent 6 }} + {{- include "vault.auditVolumeClaim.labels" . | nindent 6 }} + spec: + accessModes: + - {{ .Values.server.auditStorage.accessMode | default "ReadWriteOnce" }} + resources: + requests: + storage: {{ .Values.server.auditStorage.size }} + {{- if .Values.server.auditStorage.storageClass }} + storageClassName: {{ .Values.server.auditStorage.storageClass }} + {{- end }} + {{ end }} + {{ end }} +{{- end -}} + +{{/* +Set's the affinity for pod placement when running in standalone and HA modes. +*/}} +{{- define "vault.affinity" -}} + {{- if and (ne .mode "dev") .Values.server.affinity }} + affinity: + {{ $tp := typeOf .Values.server.affinity }} + {{- if eq $tp "string" }} + {{- tpl .Values.server.affinity . | nindent 8 | trim }} + {{- else }} + {{- toYaml .Values.server.affinity | nindent 8 }} + {{- end }} + {{ end }} +{{- end -}} + +{{/* +Sets the injector affinity for pod placement +*/}} +{{- define "injector.affinity" -}} + {{- if .Values.injector.affinity }} + affinity: + {{ $tp := typeOf .Values.injector.affinity }} + {{- if eq $tp "string" }} + {{- tpl .Values.injector.affinity . | nindent 8 | trim }} + {{- else }} + {{- toYaml .Values.injector.affinity | nindent 8 }} + {{- end }} + {{ end }} +{{- end -}} + +{{/* +Sets the topologySpreadConstraints when running in standalone and HA modes. +*/}} +{{- define "vault.topologySpreadConstraints" -}} + {{- if and (ne .mode "dev") .Values.server.topologySpreadConstraints }} + topologySpreadConstraints: + {{ $tp := typeOf .Values.server.topologySpreadConstraints }} + {{- if eq $tp "string" }} + {{- tpl .Values.server.topologySpreadConstraints . | nindent 8 | trim }} + {{- else }} + {{- toYaml .Values.server.topologySpreadConstraints | nindent 8 }} + {{- end }} + {{ end }} +{{- end -}} + + +{{/* +Sets the injector topologySpreadConstraints for pod placement +*/}} +{{- define "injector.topologySpreadConstraints" -}} + {{- if .Values.injector.topologySpreadConstraints }} + topologySpreadConstraints: + {{ $tp := typeOf .Values.injector.topologySpreadConstraints }} + {{- if eq $tp "string" }} + {{- tpl .Values.injector.topologySpreadConstraints . | nindent 8 | trim }} + {{- else }} + {{- toYaml .Values.injector.topologySpreadConstraints | nindent 8 }} + {{- end }} + {{ end }} +{{- end -}} + +{{/* +Sets the toleration for pod placement when running in standalone and HA modes. +*/}} +{{- define "vault.tolerations" -}} + {{- if and (ne .mode "dev") .Values.server.tolerations }} + tolerations: + {{- $tp := typeOf .Values.server.tolerations }} + {{- if eq $tp "string" }} + {{ tpl .Values.server.tolerations . | nindent 8 | trim }} + {{- else }} + {{- toYaml .Values.server.tolerations | nindent 8 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Sets the injector toleration for pod placement +*/}} +{{- define "injector.tolerations" -}} + {{- if .Values.injector.tolerations }} + tolerations: + {{- $tp := typeOf .Values.injector.tolerations }} + {{- if eq $tp "string" }} + {{ tpl .Values.injector.tolerations . | nindent 8 | trim }} + {{- else }} + {{- toYaml .Values.injector.tolerations | nindent 8 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Set's the node selector for pod placement when running in standalone and HA modes. +*/}} +{{- define "vault.nodeselector" -}} + {{- if and (ne .mode "dev") .Values.server.nodeSelector }} + nodeSelector: + {{- $tp := typeOf .Values.server.nodeSelector }} + {{- if eq $tp "string" }} + {{ tpl .Values.server.nodeSelector . | nindent 8 | trim }} + {{- else }} + {{- toYaml .Values.server.nodeSelector | nindent 8 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Sets the injector node selector for pod placement +*/}} +{{- define "injector.nodeselector" -}} + {{- if .Values.injector.nodeSelector }} + nodeSelector: + {{- $tp := typeOf .Values.injector.nodeSelector }} + {{- if eq $tp "string" }} + {{ tpl .Values.injector.nodeSelector . | nindent 8 | trim }} + {{- else }} + {{- toYaml .Values.injector.nodeSelector | nindent 8 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Sets the injector deployment update strategy +*/}} +{{- define "injector.strategy" -}} + {{- if .Values.injector.strategy }} + strategy: + {{- $tp := typeOf .Values.injector.strategy }} + {{- if eq $tp "string" }} + {{ tpl .Values.injector.strategy . | nindent 4 | trim }} + {{- else }} + {{- toYaml .Values.injector.strategy | nindent 4 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Sets extra pod annotations +*/}} +{{- define "vault.annotations" }} + annotations: + {{- if .Values.server.includeConfigAnnotation }} + vault.hashicorp.com/config-checksum: {{ include "vault.config" . | sha256sum }} + {{- end }} + {{- if .Values.server.annotations }} + {{- $tp := typeOf .Values.server.annotations }} + {{- if eq $tp "string" }} + {{- tpl .Values.server.annotations . | nindent 8 }} + {{- else }} + {{- toYaml .Values.server.annotations | nindent 8 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Sets extra injector pod annotations +*/}} +{{- define "injector.annotations" -}} + {{- if .Values.injector.annotations }} + annotations: + {{- $tp := typeOf .Values.injector.annotations }} + {{- if eq $tp "string" }} + {{- tpl .Values.injector.annotations . | nindent 8 }} + {{- else }} + {{- toYaml .Values.injector.annotations | nindent 8 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Sets extra injector service annotations +*/}} +{{- define "injector.service.annotations" -}} + {{- if .Values.injector.service.annotations }} + annotations: + {{- $tp := typeOf .Values.injector.service.annotations }} + {{- if eq $tp "string" }} + {{- tpl .Values.injector.service.annotations . | nindent 4 }} + {{- else }} + {{- toYaml .Values.injector.service.annotations | nindent 4 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +securityContext for the injector pod level. +*/}} +{{- define "injector.securityContext.pod" -}} + {{- if .Values.injector.securityContext.pod }} + securityContext: + {{- $tp := typeOf .Values.injector.securityContext.pod }} + {{- if eq $tp "string" }} + {{- tpl .Values.injector.securityContext.pod . | nindent 8 }} + {{- else }} + {{- toYaml .Values.injector.securityContext.pod | nindent 8 }} + {{- end }} + {{- else if not .Values.global.openshift }} + securityContext: + runAsNonRoot: true + runAsGroup: {{ .Values.injector.gid | default 1000 }} + runAsUser: {{ .Values.injector.uid | default 100 }} + fsGroup: {{ .Values.injector.gid | default 1000 }} + {{- end }} +{{- end -}} + +{{/* +securityContext for the injector container level. +*/}} +{{- define "injector.securityContext.container" -}} + {{- if .Values.injector.securityContext.container}} + securityContext: + {{- $tp := typeOf .Values.injector.securityContext.container }} + {{- if eq $tp "string" }} + {{- tpl .Values.injector.securityContext.container . | nindent 12 }} + {{- else }} + {{- toYaml .Values.injector.securityContext.container | nindent 12 }} + {{- end }} + {{- else if not .Values.global.openshift }} + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + {{- end }} +{{- end -}} + +{{/* +securityContext for the statefulset pod template. +*/}} +{{- define "server.statefulSet.securityContext.pod" -}} + {{- if .Values.server.statefulSet.securityContext.pod }} + securityContext: + {{- $tp := typeOf .Values.server.statefulSet.securityContext.pod }} + {{- if eq $tp "string" }} + {{- tpl .Values.server.statefulSet.securityContext.pod . | nindent 8 }} + {{- else }} + {{- toYaml .Values.server.statefulSet.securityContext.pod | nindent 8 }} + {{- end }} + {{- else if not .Values.global.openshift }} + securityContext: + runAsNonRoot: true + runAsGroup: {{ .Values.server.gid | default 1000 }} + runAsUser: {{ .Values.server.uid | default 100 }} + fsGroup: {{ .Values.server.gid | default 1000 }} + {{- end }} +{{- end -}} + +{{/* +securityContext for the statefulset vault container +*/}} +{{- define "server.statefulSet.securityContext.container" -}} + {{- if .Values.server.statefulSet.securityContext.container }} + securityContext: + {{- $tp := typeOf .Values.server.statefulSet.securityContext.container }} + {{- if eq $tp "string" }} + {{- tpl .Values.server.statefulSet.securityContext.container . | nindent 12 }} + {{- else }} + {{- toYaml .Values.server.statefulSet.securityContext.container | nindent 12 }} + {{- end }} + {{- else if not .Values.global.openshift }} + securityContext: + allowPrivilegeEscalation: false + {{- end }} +{{- end -}} + + +{{/* +Sets extra injector service account annotations +*/}} +{{- define "injector.serviceAccount.annotations" -}} + {{- if and (ne .mode "dev") .Values.injector.serviceAccount.annotations }} + annotations: + {{- $tp := typeOf .Values.injector.serviceAccount.annotations }} + {{- if eq $tp "string" }} + {{- tpl .Values.injector.serviceAccount.annotations . | nindent 4 }} + {{- else }} + {{- toYaml .Values.injector.serviceAccount.annotations | nindent 4 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Sets extra injector webhook annotations +*/}} +{{- define "injector.webhookAnnotations" -}} + {{- if or (((.Values.injector.webhook)).annotations) (.Values.injector.webhookAnnotations) }} + annotations: + {{- $tp := typeOf (or (((.Values.injector.webhook)).annotations) (.Values.injector.webhookAnnotations)) }} + {{- if eq $tp "string" }} + {{- tpl (((.Values.injector.webhook)).annotations | default .Values.injector.webhookAnnotations) . | nindent 4 }} + {{- else }} + {{- toYaml (((.Values.injector.webhook)).annotations | default .Values.injector.webhookAnnotations) | nindent 4 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Set's the injector webhook objectSelector +*/}} +{{- define "injector.objectSelector" -}} + {{- $v := or (((.Values.injector.webhook)).objectSelector) (.Values.injector.objectSelector) -}} + {{ if $v }} + objectSelector: + {{- $tp := typeOf $v -}} + {{ if eq $tp "string" }} + {{ tpl $v . | indent 6 | trim }} + {{ else }} + {{ toYaml $v | indent 6 | trim }} + {{ end }} + {{ end }} +{{ end }} + +{{/* +Sets extra ui service annotations +*/}} +{{- define "vault.ui.annotations" -}} + {{- if .Values.ui.annotations }} + annotations: + {{- $tp := typeOf .Values.ui.annotations }} + {{- if eq $tp "string" }} + {{- tpl .Values.ui.annotations . | nindent 4 }} + {{- else }} + {{- toYaml .Values.ui.annotations | nindent 4 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Create the name of the service account to use +*/}} +{{- define "vault.serviceAccount.name" -}} +{{- if .Values.server.serviceAccount.create -}} + {{ default (include "vault.fullname" .) .Values.server.serviceAccount.name }} +{{- else -}} + {{ default "default" .Values.server.serviceAccount.name }} +{{- end -}} +{{- end -}} + +{{/* +Sets extra service account annotations +*/}} +{{- define "vault.serviceAccount.annotations" -}} + {{- if and (ne .mode "dev") .Values.server.serviceAccount.annotations }} + annotations: + {{- $tp := typeOf .Values.server.serviceAccount.annotations }} + {{- if eq $tp "string" }} + {{- tpl .Values.server.serviceAccount.annotations . | nindent 4 }} + {{- else }} + {{- toYaml .Values.server.serviceAccount.annotations | nindent 4 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Sets extra ingress annotations +*/}} +{{- define "vault.ingress.annotations" -}} + {{- if .Values.server.ingress.annotations }} + annotations: + {{- $tp := typeOf .Values.server.ingress.annotations }} + {{- if eq $tp "string" }} + {{- tpl .Values.server.ingress.annotations . | nindent 4 }} + {{- else }} + {{- toYaml .Values.server.ingress.annotations | nindent 4 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Sets extra route annotations +*/}} +{{- define "vault.route.annotations" -}} + {{- if .Values.server.route.annotations }} + annotations: + {{- $tp := typeOf .Values.server.route.annotations }} + {{- if eq $tp "string" }} + {{- tpl .Values.server.route.annotations . | nindent 4 }} + {{- else }} + {{- toYaml .Values.server.route.annotations | nindent 4 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Sets extra vault server Service annotations +*/}} +{{- define "vault.service.annotations" -}} + {{- if .Values.server.service.annotations }} + {{- $tp := typeOf .Values.server.service.annotations }} + {{- if eq $tp "string" }} + {{- tpl .Values.server.service.annotations . | nindent 4 }} + {{- else }} + {{- toYaml .Values.server.service.annotations | nindent 4 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Sets extra vault server Service (active) annotations +*/}} +{{- define "vault.service.active.annotations" -}} + {{- if .Values.server.service.active.annotations }} + {{- $tp := typeOf .Values.server.service.active.annotations }} + {{- if eq $tp "string" }} + {{- tpl .Values.server.service.active.annotations . | nindent 4 }} + {{- else }} + {{- toYaml .Values.server.service.active.annotations | nindent 4 }} + {{- end }} + {{- end }} +{{- end -}} +{{/* +Sets extra vault server Service annotations +*/}} +{{- define "vault.service.standby.annotations" -}} + {{- if .Values.server.service.standby.annotations }} + {{- $tp := typeOf .Values.server.service.standby.annotations }} + {{- if eq $tp "string" }} + {{- tpl .Values.server.service.standby.annotations . | nindent 4 }} + {{- else }} + {{- toYaml .Values.server.service.standby.annotations | nindent 4 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Sets PodSecurityPolicy annotations +*/}} +{{- define "vault.psp.annotations" -}} + {{- if .Values.global.psp.annotations }} + annotations: + {{- $tp := typeOf .Values.global.psp.annotations }} + {{- if eq $tp "string" }} + {{- tpl .Values.global.psp.annotations . | nindent 4 }} + {{- else }} + {{- toYaml .Values.global.psp.annotations | nindent 4 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Sets extra statefulset annotations +*/}} +{{- define "vault.statefulSet.annotations" -}} + {{- if .Values.server.statefulSet.annotations }} + annotations: + {{- $tp := typeOf .Values.server.statefulSet.annotations }} + {{- if eq $tp "string" }} + {{- tpl .Values.server.statefulSet.annotations . | nindent 4 }} + {{- else }} + {{- toYaml .Values.server.statefulSet.annotations | nindent 4 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Sets VolumeClaim annotations for data volume +*/}} +{{- define "vault.dataVolumeClaim.annotations" -}} + {{- if and (ne .mode "dev") (.Values.server.dataStorage.enabled) (.Values.server.dataStorage.annotations) }} + annotations: + {{- $tp := typeOf .Values.server.dataStorage.annotations }} + {{- if eq $tp "string" }} + {{- tpl .Values.server.dataStorage.annotations . | nindent 4 }} + {{- else }} + {{- toYaml .Values.server.dataStorage.annotations | nindent 4 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Sets VolumeClaim labels for data volume +*/}} +{{- define "vault.dataVolumeClaim.labels" -}} + {{- if and (ne .mode "dev") (.Values.server.dataStorage.enabled) (.Values.server.dataStorage.labels) }} + labels: + {{- $tp := typeOf .Values.server.dataStorage.labels }} + {{- if eq $tp "string" }} + {{- tpl .Values.server.dataStorage.labels . | nindent 4 }} + {{- else }} + {{- toYaml .Values.server.dataStorage.labels | nindent 4 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Sets VolumeClaim annotations for audit volume +*/}} +{{- define "vault.auditVolumeClaim.annotations" -}} + {{- if and (ne .mode "dev") (.Values.server.auditStorage.enabled) (.Values.server.auditStorage.annotations) }} + annotations: + {{- $tp := typeOf .Values.server.auditStorage.annotations }} + {{- if eq $tp "string" }} + {{- tpl .Values.server.auditStorage.annotations . | nindent 4 }} + {{- else }} + {{- toYaml .Values.server.auditStorage.annotations | nindent 4 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Sets VolumeClaim labels for audit volume +*/}} +{{- define "vault.auditVolumeClaim.labels" -}} + {{- if and (ne .mode "dev") (.Values.server.auditStorage.enabled) (.Values.server.auditStorage.labels) }} + labels: + {{- $tp := typeOf .Values.server.auditStorage.labels }} + {{- if eq $tp "string" }} + {{- tpl .Values.server.auditStorage.labels . | nindent 4 }} + {{- else }} + {{- toYaml .Values.server.auditStorage.labels | nindent 4 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Set's the container resources if the user has set any. +*/}} +{{- define "vault.resources" -}} + {{- if .Values.server.resources -}} + resources: +{{ toYaml .Values.server.resources | indent 12}} + {{ end }} +{{- end -}} + +{{/* +Sets the container resources if the user has set any. +*/}} +{{- define "injector.resources" -}} + {{- if .Values.injector.resources -}} + resources: +{{ toYaml .Values.injector.resources | indent 12}} + {{ end }} +{{- end -}} + +{{/* +Sets the container resources if the user has set any. +*/}} +{{- define "csi.resources" -}} + {{- if .Values.csi.resources -}} + resources: +{{ toYaml .Values.csi.resources | indent 12}} + {{ end }} +{{- end -}} + +{{/* +Sets the container resources for CSI's Agent sidecar if the user has set any. +*/}} +{{- define "csi.agent.resources" -}} + {{- if .Values.csi.agent.resources -}} + resources: +{{ toYaml .Values.csi.agent.resources | indent 12}} + {{ end }} +{{- end -}} + +{{/* +Sets extra CSI daemonset annotations +*/}} +{{- define "csi.daemonSet.annotations" -}} + {{- if .Values.csi.daemonSet.annotations }} + annotations: + {{- $tp := typeOf .Values.csi.daemonSet.annotations }} + {{- if eq $tp "string" }} + {{- tpl .Values.csi.daemonSet.annotations . | nindent 4 }} + {{- else }} + {{- toYaml .Values.csi.daemonSet.annotations | nindent 4 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Sets CSI daemonset securityContext for pod template +*/}} +{{- define "csi.daemonSet.securityContext.pod" -}} + {{- if .Values.csi.daemonSet.securityContext.pod }} + securityContext: + {{- $tp := typeOf .Values.csi.daemonSet.securityContext.pod }} + {{- if eq $tp "string" }} + {{- tpl .Values.csi.daemonSet.securityContext.pod . | nindent 8 }} + {{- else }} + {{- toYaml .Values.csi.daemonSet.securityContext.pod | nindent 8 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Sets CSI daemonset securityContext for container +*/}} +{{- define "csi.daemonSet.securityContext.container" -}} + {{- if .Values.csi.daemonSet.securityContext.container }} + securityContext: + {{- $tp := typeOf .Values.csi.daemonSet.securityContext.container }} + {{- if eq $tp "string" }} + {{- tpl .Values.csi.daemonSet.securityContext.container . | nindent 12 }} + {{- else }} + {{- toYaml .Values.csi.daemonSet.securityContext.container | nindent 12 }} + {{- end }} + {{- end }} +{{- end -}} + + +{{/* +Sets the injector toleration for pod placement +*/}} +{{- define "csi.pod.tolerations" -}} + {{- if .Values.csi.pod.tolerations }} + tolerations: + {{- $tp := typeOf .Values.csi.pod.tolerations }} + {{- if eq $tp "string" }} + {{ tpl .Values.csi.pod.tolerations . | nindent 8 | trim }} + {{- else }} + {{- toYaml .Values.csi.pod.tolerations | nindent 8 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Sets the CSI provider nodeSelector for pod placement +*/}} +{{- define "csi.pod.nodeselector" -}} + {{- if .Values.csi.pod.nodeSelector }} + nodeSelector: + {{- $tp := typeOf .Values.csi.pod.nodeSelector }} + {{- if eq $tp "string" }} + {{ tpl .Values.csi.pod.nodeSelector . | nindent 8 | trim }} + {{- else }} + {{- toYaml .Values.csi.pod.nodeSelector | nindent 8 }} + {{- end }} + {{- end }} +{{- end -}} +{{/* +Sets the CSI provider affinity for pod placement. +*/}} +{{- define "csi.pod.affinity" -}} + {{- if .Values.csi.pod.affinity }} + affinity: + {{ $tp := typeOf .Values.csi.pod.affinity }} + {{- if eq $tp "string" }} + {{- tpl .Values.csi.pod.affinity . | nindent 8 | trim }} + {{- else }} + {{- toYaml .Values.csi.pod.affinity | nindent 8 }} + {{- end }} + {{ end }} +{{- end -}} +{{/* +Sets extra CSI provider pod annotations +*/}} +{{- define "csi.pod.annotations" -}} + {{- if .Values.csi.pod.annotations }} + annotations: + {{- $tp := typeOf .Values.csi.pod.annotations }} + {{- if eq $tp "string" }} + {{- tpl .Values.csi.pod.annotations . | nindent 8 }} + {{- else }} + {{- toYaml .Values.csi.pod.annotations | nindent 8 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Sets extra CSI service account annotations +*/}} +{{- define "csi.serviceAccount.annotations" -}} + {{- if .Values.csi.serviceAccount.annotations }} + annotations: + {{- $tp := typeOf .Values.csi.serviceAccount.annotations }} + {{- if eq $tp "string" }} + {{- tpl .Values.csi.serviceAccount.annotations . | nindent 4 }} + {{- else }} + {{- toYaml .Values.csi.serviceAccount.annotations | nindent 4 }} + {{- end }} + {{- end }} +{{- end -}} + +{{/* +Inject extra environment vars in the format key:value, if populated +*/}} +{{- define "vault.extraEnvironmentVars" -}} +{{- if .extraEnvironmentVars -}} +{{- range $key, $value := .extraEnvironmentVars }} +- name: {{ printf "%s" $key | replace "." "_" | upper | quote }} + value: {{ $value | quote }} +{{- end }} +{{- end -}} +{{- end -}} + +{{/* +Inject extra environment populated by secrets, if populated +*/}} +{{- define "vault.extraSecretEnvironmentVars" -}} +{{- if .extraSecretEnvironmentVars -}} +{{- range .extraSecretEnvironmentVars }} +- name: {{ .envName }} + valueFrom: + secretKeyRef: + name: {{ .secretName }} + key: {{ .secretKey }} +{{- end -}} +{{- end -}} +{{- end -}} + +{{/* Scheme for health check and local endpoint */}} +{{- define "vault.scheme" -}} +{{- if .Values.global.tlsDisable -}} +{{ "http" }} +{{- else -}} +{{ "https" }} +{{- end -}} +{{- end -}} + +{{/* +imagePullSecrets generates pull secrets from either string or map values. +A map value must be indexable by the key 'name'. +*/}} +{{- define "imagePullSecrets" -}} +{{- with .Values.global.imagePullSecrets -}} +imagePullSecrets: +{{- range . -}} +{{- if typeIs "string" . }} + - name: {{ . }} +{{- else if index . "name" }} + - name: {{ .name }} +{{- end }} +{{- end -}} +{{- end -}} +{{- end -}} + +{{/* +externalTrafficPolicy sets a Service's externalTrafficPolicy if applicable. +Supported inputs are Values.server.service and Values.ui +*/}} +{{- define "service.externalTrafficPolicy" -}} +{{- $type := "" -}} +{{- if .serviceType -}} +{{- $type = .serviceType -}} +{{- else if .type -}} +{{- $type = .type -}} +{{- end -}} +{{- if and .externalTrafficPolicy (or (eq $type "LoadBalancer") (eq $type "NodePort")) }} + externalTrafficPolicy: {{ .externalTrafficPolicy }} +{{- else }} +{{- end }} +{{- end -}} + +{{/* +loadBalancer configuration for the the UI service. +Supported inputs are Values.ui +*/}} +{{- define "service.loadBalancer" -}} +{{- if eq (.serviceType | toString) "LoadBalancer" }} +{{- if .loadBalancerIP }} + loadBalancerIP: {{ .loadBalancerIP }} +{{- end }} +{{- with .loadBalancerSourceRanges }} + loadBalancerSourceRanges: +{{- range . }} + - {{ . }} +{{- end }} +{{- end -}} +{{- end }} +{{- end -}} + +{{/* +config file from values +*/}} +{{- define "vault.config" -}} +{{- if or (eq .mode "ha") (eq .mode "standalone") }} +{{- $config := (index .Values.server .mode).config -}} +{{- if .Values.server.ha.raft.enabled -}} +{{- $config = .Values.server.ha.raft.config -}} +{{- end -}} +{{- $type := typeOf $config -}} +{{- if eq $type "string" -}} +{{/* Vault supports both HCL and JSON as its configuration format */}} +{{- $json := $config | fromJson -}} +{{/* +Helm's fromJson does not behave according to the corresponding sprig function nor Helm docs, +which claim that it should return empty string on invalid JSON, it actually returns +a map containing a single 'Error' element. +https://github.com/helm/helm/blob/50c22ed7f953fadb32755e5881ba95a92da852b2/pkg/engine/funcs.go#L158 + */}} +{{- if or (and (eq ($json | len) 1) (hasKey $json "Error")) (eq ($json | len) 0) -}} +{{- $config = printf "%s\n%s" $config "disable_mlock = true" -}} +{{- else -}} +{{- if not (hasKey $json "disable_mlock") -}} +{{- $_ := set $json "disable_mlock" true -}} +{{- end -}} +{{- $config = $json | mustToJson -}} +{{- end -}} +{{- else }} +{{- fail "structured server config is not supported, value must be a string"}} +{{- end }} +{{- $config | nindent 4 | trim }} +{{- end -}} +{{- end -}} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/csi-agent-configmap.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/csi-agent-configmap.yaml new file mode 100644 index 00000000000..18cdb04ac45 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/csi-agent-configmap.yaml @@ -0,0 +1,34 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- template "vault.csiEnabled" . -}} +{{- if and (.csiEnabled) (eq (.Values.csi.agent.enabled | toString) "true") -}} +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ template "vault.fullname" . }}-csi-provider-agent-config + namespace: {{ include "vault.namespace" . }} + labels: + helm.sh/chart: {{ include "vault.chart" . }} + app.kubernetes.io/name: {{ include "vault.name" . }}-csi-provider + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +data: + config.hcl: | + vault { + {{- if .Values.global.externalVaultAddr }} + "address" = "{{ .Values.global.externalVaultAddr }}" + {{- else }} + "address" = "{{ include "vault.scheme" . }}://{{ template "vault.fullname" . }}.{{ include "vault.namespace" . }}.svc:{{ .Values.server.service.port }}" + {{- end }} + } + + cache {} + + listener "unix" { + address = "/var/run/vault/agent.sock" + tls_disable = true + } +{{- end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/csi-clusterrole.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/csi-clusterrole.yaml new file mode 100644 index 00000000000..6d979ea40c5 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/csi-clusterrole.yaml @@ -0,0 +1,23 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- template "vault.csiEnabled" . -}} +{{- if .csiEnabled -}} +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + name: {{ template "vault.fullname" . }}-csi-provider-clusterrole + labels: + app.kubernetes.io/name: {{ include "vault.name" . }}-csi-provider + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +rules: +- apiGroups: + - "" + resources: + - serviceaccounts/token + verbs: + - create +{{- end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/csi-clusterrolebinding.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/csi-clusterrolebinding.yaml new file mode 100644 index 00000000000..506ec944a7a --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/csi-clusterrolebinding.yaml @@ -0,0 +1,24 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- template "vault.csiEnabled" . -}} +{{- if .csiEnabled -}} +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: {{ template "vault.fullname" . }}-csi-provider-clusterrolebinding + labels: + app.kubernetes.io/name: {{ include "vault.name" . }}-csi-provider + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: {{ template "vault.fullname" . }}-csi-provider-clusterrole +subjects: +- kind: ServiceAccount + name: {{ template "vault.fullname" . }}-csi-provider + namespace: {{ include "vault.namespace" . }} +{{- end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/csi-daemonset.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/csi-daemonset.yaml new file mode 100644 index 00000000000..aacce0a27e9 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/csi-daemonset.yaml @@ -0,0 +1,162 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- template "vault.csiEnabled" . -}} +{{- if .csiEnabled -}} +apiVersion: apps/v1 +kind: DaemonSet +metadata: + name: {{ template "vault.fullname" . }}-csi-provider + namespace: {{ include "vault.namespace" . }} + labels: + app.kubernetes.io/name: {{ include "vault.name" . }}-csi-provider + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + {{- if .Values.csi.daemonSet.extraLabels -}} + {{- toYaml .Values.csi.daemonSet.extraLabels | nindent 4 -}} + {{- end -}} + {{ template "csi.daemonSet.annotations" . }} +spec: + updateStrategy: + type: {{ .Values.csi.daemonSet.updateStrategy.type }} + {{- if .Values.csi.daemonSet.updateStrategy.maxUnavailable }} + rollingUpdate: + maxUnavailable: {{ .Values.csi.daemonSet.updateStrategy.maxUnavailable }} + {{- end }} + selector: + matchLabels: + app.kubernetes.io/name: {{ include "vault.name" . }}-csi-provider + app.kubernetes.io/instance: {{ .Release.Name }} + template: + metadata: + labels: + app.kubernetes.io/name: {{ template "vault.name" . }}-csi-provider + app.kubernetes.io/instance: {{ .Release.Name }} + {{- if .Values.csi.pod.extraLabels -}} + {{- toYaml .Values.csi.pod.extraLabels | nindent 8 -}} + {{- end -}} + {{ template "csi.pod.annotations" . }} + spec: + {{ template "csi.daemonSet.securityContext.pod" . }} + {{- if .Values.csi.priorityClassName }} + priorityClassName: {{ .Values.csi.priorityClassName }} + {{- end }} + hostNetwork: {{ .Values.csi.hostNetwork }} + serviceAccountName: {{ template "vault.fullname" . }}-csi-provider + {{- template "csi.pod.tolerations" . }} + {{- template "csi.pod.nodeselector" . }} + {{- template "csi.pod.affinity" . }} + containers: + - name: {{ include "vault.name" . }}-csi-provider + {{ template "csi.resources" . }} + {{ template "csi.daemonSet.securityContext.container" . }} + image: "{{ .Values.csi.image.repository }}:{{ .Values.csi.image.tag }}" + imagePullPolicy: {{ .Values.csi.image.pullPolicy }} + args: + - --endpoint=/provider/vault.sock + {{- if .Values.csi.debug }} + - --log-level=debug + {{- else }} + - --log-level={{ .Values.csi.logLevel }} + {{- end }} + {{- if .Values.csi.hmacSecretName }} + - --hmac-secret-name={{ .Values.csi.hmacSecretName }} + {{- else }} + - --hmac-secret-name={{- include "vault.name" . }}-csi-provider-hmac-key + {{- end }} + {{- if .Values.csi.extraArgs }} + {{- toYaml .Values.csi.extraArgs | nindent 12 }} + {{- end }} + env: + - name: VAULT_ADDR + {{- if eq (.Values.csi.agent.enabled | toString) "true" }} + value: "unix:///var/run/vault/agent.sock" + {{- else if .Values.global.externalVaultAddr }} + value: "{{ .Values.global.externalVaultAddr }}" + {{- else }} + value: {{ include "vault.scheme" . }}://{{ template "vault.fullname" . }}.{{ include "vault.namespace" . }}.svc:{{ .Values.server.service.port }} + {{- end }} + volumeMounts: + - name: providervol + mountPath: "/provider" + {{- if eq (.Values.csi.agent.enabled | toString) "true" }} + - name: agent-unix-socket + mountPath: /var/run/vault + {{- end }} + {{- if .Values.csi.volumeMounts }} + {{- toYaml .Values.csi.volumeMounts | nindent 12}} + {{- end }} + livenessProbe: + httpGet: + path: /health/ready + port: 8080 + failureThreshold: {{ .Values.csi.livenessProbe.failureThreshold }} + initialDelaySeconds: {{ .Values.csi.livenessProbe.initialDelaySeconds }} + periodSeconds: {{ .Values.csi.livenessProbe.periodSeconds }} + successThreshold: {{ .Values.csi.livenessProbe.successThreshold }} + timeoutSeconds: {{ .Values.csi.livenessProbe.timeoutSeconds }} + readinessProbe: + httpGet: + path: /health/ready + port: 8080 + failureThreshold: {{ .Values.csi.readinessProbe.failureThreshold }} + initialDelaySeconds: {{ .Values.csi.readinessProbe.initialDelaySeconds }} + periodSeconds: {{ .Values.csi.readinessProbe.periodSeconds }} + successThreshold: {{ .Values.csi.readinessProbe.successThreshold }} + timeoutSeconds: {{ .Values.csi.readinessProbe.timeoutSeconds }} + {{- if eq (.Values.csi.agent.enabled | toString) "true" }} + - name: {{ include "vault.name" . }}-agent + image: "{{ .Values.csi.agent.image.repository }}:{{ .Values.csi.agent.image.tag }}" + imagePullPolicy: {{ .Values.csi.agent.image.pullPolicy }} + {{ template "csi.agent.resources" . }} + command: + - vault + args: + - agent + - -config=/etc/vault/config.hcl + {{- if .Values.csi.agent.extraArgs }} + {{- toYaml .Values.csi.agent.extraArgs | nindent 12 }} + {{- end }} + ports: + - containerPort: 8200 + env: + - name: VAULT_LOG_LEVEL + value: "{{ .Values.csi.agent.logLevel }}" + - name: VAULT_LOG_FORMAT + value: "{{ .Values.csi.agent.logFormat }}" + securityContext: + runAsNonRoot: true + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + runAsUser: 100 + runAsGroup: 1000 + volumeMounts: + - name: agent-config + mountPath: /etc/vault/config.hcl + subPath: config.hcl + readOnly: true + - name: agent-unix-socket + mountPath: /var/run/vault + {{- if .Values.csi.volumeMounts }} + {{- toYaml .Values.csi.volumeMounts | nindent 12 }} + {{- end }} + {{- end }} + volumes: + - name: providervol + hostPath: + path: {{ .Values.csi.daemonSet.providersDir }} + {{- if eq (.Values.csi.agent.enabled | toString) "true" }} + - name: agent-config + configMap: + name: {{ template "vault.fullname" . }}-csi-provider-agent-config + - name: agent-unix-socket + emptyDir: + medium: Memory + {{- end }} + {{- if .Values.csi.volumes }} + {{- toYaml .Values.csi.volumes | nindent 8}} + {{- end }} + {{- include "imagePullSecrets" . | nindent 6 }} +{{- end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/csi-role.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/csi-role.yaml new file mode 100644 index 00000000000..17e1918b4fa --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/csi-role.yaml @@ -0,0 +1,32 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- template "vault.csiEnabled" . -}} +{{- if .csiEnabled -}} +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: {{ template "vault.fullname" . }}-csi-provider-role + namespace: {{ include "vault.namespace" . }} + labels: + app.kubernetes.io/name: {{ include "vault.name" . }}-csi-provider + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +rules: +- apiGroups: [""] + resources: ["secrets"] + verbs: ["get"] + resourceNames: + {{- if .Values.csi.hmacSecretName }} + - {{ .Values.csi.hmacSecretName }} + {{- else }} + - {{ include "vault.name" . }}-csi-provider-hmac-key + {{- end }} +# 'create' permissions cannot be restricted by resource name: +# https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources +- apiGroups: [""] + resources: ["secrets"] + verbs: ["create"] +{{- end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/csi-rolebinding.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/csi-rolebinding.yaml new file mode 100644 index 00000000000..3d3b981b854 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/csi-rolebinding.yaml @@ -0,0 +1,25 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- template "vault.csiEnabled" . -}} +{{- if .csiEnabled -}} +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: {{ template "vault.fullname" . }}-csi-provider-rolebinding + namespace: {{ include "vault.namespace" . }} + labels: + app.kubernetes.io/name: {{ include "vault.name" . }}-csi-provider + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: {{ template "vault.fullname" . }}-csi-provider-role +subjects: +- kind: ServiceAccount + name: {{ template "vault.fullname" . }}-csi-provider + namespace: {{ include "vault.namespace" . }} +{{- end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/csi-serviceaccount.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/csi-serviceaccount.yaml new file mode 100644 index 00000000000..6327a7b2fae --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/csi-serviceaccount.yaml @@ -0,0 +1,21 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- template "vault.csiEnabled" . -}} +{{- if .csiEnabled -}} +apiVersion: v1 +kind: ServiceAccount +metadata: + name: {{ template "vault.fullname" . }}-csi-provider + namespace: {{ include "vault.namespace" . }} + labels: + app.kubernetes.io/name: {{ include "vault.name" . }}-csi-provider + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + {{- if .Values.csi.serviceAccount.extraLabels -}} + {{- toYaml .Values.csi.serviceAccount.extraLabels | nindent 4 -}} + {{- end -}} + {{ template "csi.serviceAccount.annotations" . }} +{{- end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-certs-secret.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-certs-secret.yaml new file mode 100644 index 00000000000..f6995af1085 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-certs-secret.yaml @@ -0,0 +1,19 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- template "vault.injectorEnabled" . -}} +{{- if .injectorEnabled -}} +{{- if and (eq (.Values.injector.leaderElector.enabled | toString) "true") (gt (.Values.injector.replicas | int) 1) }} +apiVersion: v1 +kind: Secret +metadata: + name: vault-injector-certs + namespace: {{ include "vault.namespace" . }} + labels: + app.kubernetes.io/name: {{ include "vault.name" . }}-agent-injector + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- end }} +{{- end }} \ No newline at end of file diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-clusterrole.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-clusterrole.yaml new file mode 100644 index 00000000000..df603f25082 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-clusterrole.yaml @@ -0,0 +1,30 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- template "vault.injectorEnabled" . -}} +{{- if .injectorEnabled -}} +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + name: {{ template "vault.fullname" . }}-agent-injector-clusterrole + labels: + app.kubernetes.io/name: {{ include "vault.name" . }}-agent-injector + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +rules: +- apiGroups: ["admissionregistration.k8s.io"] + resources: ["mutatingwebhookconfigurations"] + verbs: + - "get" + - "list" + - "watch" + - "patch" +{{- if and (eq (.Values.injector.leaderElector.enabled | toString) "true") (gt (.Values.injector.replicas | int) 1) }} +- apiGroups: [""] + resources: ["nodes"] + verbs: + - "get" +{{ end }} +{{ end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-clusterrolebinding.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-clusterrolebinding.yaml new file mode 100644 index 00000000000..82cbce0ced5 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-clusterrolebinding.yaml @@ -0,0 +1,24 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- template "vault.injectorEnabled" . -}} +{{- if .injectorEnabled -}} +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: {{ template "vault.fullname" . }}-agent-injector-binding + labels: + app.kubernetes.io/name: {{ include "vault.name" . }}-agent-injector + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: {{ template "vault.fullname" . }}-agent-injector-clusterrole +subjects: +- kind: ServiceAccount + name: {{ template "vault.fullname" . }}-agent-injector + namespace: {{ include "vault.namespace" . }} +{{ end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-deployment.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-deployment.yaml new file mode 100644 index 00000000000..822e8e41dcc --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-deployment.yaml @@ -0,0 +1,179 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- template "vault.injectorEnabled" . -}} +{{- if .injectorEnabled -}} +# Deployment for the injector +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ template "vault.fullname" . }}-agent-injector + namespace: {{ include "vault.namespace" . }} + labels: + app.kubernetes.io/name: {{ include "vault.name" . }}-agent-injector + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + component: webhook +spec: + replicas: {{ .Values.injector.replicas }} + selector: + matchLabels: + app.kubernetes.io/name: {{ template "vault.name" . }}-agent-injector + app.kubernetes.io/instance: {{ .Release.Name }} + component: webhook + {{ template "injector.strategy" . }} + template: + metadata: + labels: + app.kubernetes.io/name: {{ template "vault.name" . }}-agent-injector + app.kubernetes.io/instance: {{ .Release.Name }} + component: webhook + {{- if .Values.injector.extraLabels -}} + {{- toYaml .Values.injector.extraLabels | nindent 8 -}} + {{- end -}} + {{ template "injector.annotations" . }} + spec: + {{ template "injector.affinity" . }} + {{ template "injector.topologySpreadConstraints" . }} + {{ template "injector.tolerations" . }} + {{ template "injector.nodeselector" . }} + {{- if .Values.injector.priorityClassName }} + priorityClassName: {{ .Values.injector.priorityClassName }} + {{- end }} + serviceAccountName: "{{ template "vault.fullname" . }}-agent-injector" + {{ template "injector.securityContext.pod" . -}} + {{- if not .Values.global.openshift }} + hostNetwork: {{ .Values.injector.hostNetwork }} + {{- end }} + containers: + - name: sidecar-injector + {{ template "injector.resources" . }} + image: "{{ .Values.injector.image.repository }}:{{ .Values.injector.image.tag }}" + imagePullPolicy: "{{ .Values.injector.image.pullPolicy }}" + {{- template "injector.securityContext.container" . }} + env: + - name: AGENT_INJECT_LISTEN + value: {{ printf ":%v" .Values.injector.port }} + - name: AGENT_INJECT_LOG_LEVEL + value: {{ .Values.injector.logLevel | default "info" }} + - name: AGENT_INJECT_VAULT_ADDR + {{- if .Values.global.externalVaultAddr }} + value: "{{ .Values.global.externalVaultAddr }}" + {{- else if .Values.injector.externalVaultAddr }} + value: "{{ .Values.injector.externalVaultAddr }}" + {{- else }} + value: {{ include "vault.scheme" . }}://{{ template "vault.fullname" . }}.{{ include "vault.namespace" . }}.svc:{{ .Values.server.service.port }} + {{- end }} + - name: AGENT_INJECT_VAULT_AUTH_PATH + value: {{ .Values.injector.authPath }} + - name: AGENT_INJECT_VAULT_IMAGE + value: "{{ .Values.injector.agentImage.repository }}:{{ .Values.injector.agentImage.tag }}" + {{- if .Values.injector.certs.secretName }} + - name: AGENT_INJECT_TLS_CERT_FILE + value: "/etc/webhook/certs/{{ .Values.injector.certs.certName }}" + - name: AGENT_INJECT_TLS_KEY_FILE + value: "/etc/webhook/certs/{{ .Values.injector.certs.keyName }}" + {{- else }} + - name: AGENT_INJECT_TLS_AUTO + value: {{ template "vault.fullname" . }}-agent-injector-cfg + - name: AGENT_INJECT_TLS_AUTO_HOSTS + value: {{ template "vault.fullname" . }}-agent-injector-svc,{{ template "vault.fullname" . }}-agent-injector-svc.{{ include "vault.namespace" . }},{{ template "vault.fullname" . }}-agent-injector-svc.{{ include "vault.namespace" . }}.svc + {{- end }} + - name: AGENT_INJECT_LOG_FORMAT + value: {{ .Values.injector.logFormat | default "standard" }} + - name: AGENT_INJECT_REVOKE_ON_SHUTDOWN + value: "{{ .Values.injector.revokeOnShutdown | default false }}" + {{- if .Values.global.openshift }} + - name: AGENT_INJECT_SET_SECURITY_CONTEXT + value: "false" + {{- end }} + {{- if .Values.injector.metrics.enabled }} + - name: AGENT_INJECT_TELEMETRY_PATH + value: "/metrics" + {{- end }} + {{- if and (eq (.Values.injector.leaderElector.enabled | toString) "true") (gt (.Values.injector.replicas | int) 1) }} + - name: AGENT_INJECT_USE_LEADER_ELECTOR + value: "true" + - name: NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + {{- end }} + - name: AGENT_INJECT_CPU_REQUEST + value: "{{ .Values.injector.agentDefaults.cpuRequest }}" + - name: AGENT_INJECT_CPU_LIMIT + value: "{{ .Values.injector.agentDefaults.cpuLimit }}" + - name: AGENT_INJECT_MEM_REQUEST + value: "{{ .Values.injector.agentDefaults.memRequest }}" + - name: AGENT_INJECT_MEM_LIMIT + value: "{{ .Values.injector.agentDefaults.memLimit }}" + {{- if .Values.injector.agentDefaults.ephemeralRequest }} + - name: AGENT_INJECT_EPHEMERAL_REQUEST + value: "{{ .Values.injector.agentDefaults.ephemeralRequest }}" + {{- end }} + {{- if .Values.injector.agentDefaults.ephemeralLimit }} + - name: AGENT_INJECT_EPHEMERAL_LIMIT + value: "{{ .Values.injector.agentDefaults.ephemeralLimit }}" + {{- end }} + - name: AGENT_INJECT_DEFAULT_TEMPLATE + value: "{{ .Values.injector.agentDefaults.template }}" + - name: AGENT_INJECT_TEMPLATE_CONFIG_EXIT_ON_RETRY_FAILURE + value: "{{ .Values.injector.agentDefaults.templateConfig.exitOnRetryFailure }}" + {{- if .Values.injector.agentDefaults.templateConfig.staticSecretRenderInterval }} + - name: AGENT_INJECT_TEMPLATE_STATIC_SECRET_RENDER_INTERVAL + value: "{{ .Values.injector.agentDefaults.templateConfig.staticSecretRenderInterval }}" + {{- end }} + {{- include "vault.extraEnvironmentVars" .Values.injector | nindent 12 }} + - name: POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + args: + - agent-inject + - 2>&1 + livenessProbe: + httpGet: + path: /health/ready + port: {{ .Values.injector.port }} + scheme: HTTPS + failureThreshold: {{ .Values.injector.livenessProbe.failureThreshold }} + initialDelaySeconds: {{ .Values.injector.livenessProbe.initialDelaySeconds }} + periodSeconds: {{ .Values.injector.livenessProbe.periodSeconds }} + successThreshold: {{ .Values.injector.livenessProbe.successThreshold }} + timeoutSeconds: {{ .Values.injector.livenessProbe.timeoutSeconds }} + readinessProbe: + httpGet: + path: /health/ready + port: {{ .Values.injector.port }} + scheme: HTTPS + failureThreshold: {{ .Values.injector.readinessProbe.failureThreshold }} + initialDelaySeconds: {{ .Values.injector.readinessProbe.initialDelaySeconds }} + periodSeconds: {{ .Values.injector.readinessProbe.periodSeconds }} + successThreshold: {{ .Values.injector.readinessProbe.successThreshold }} + timeoutSeconds: {{ .Values.injector.readinessProbe.timeoutSeconds }} + startupProbe: + httpGet: + path: /health/ready + port: {{ .Values.injector.port }} + scheme: HTTPS + failureThreshold: {{ .Values.injector.startupProbe.failureThreshold }} + initialDelaySeconds: {{ .Values.injector.startupProbe.initialDelaySeconds }} + periodSeconds: {{ .Values.injector.startupProbe.periodSeconds }} + successThreshold: {{ .Values.injector.startupProbe.successThreshold }} + timeoutSeconds: {{ .Values.injector.startupProbe.timeoutSeconds }} +{{- if .Values.injector.certs.secretName }} + volumeMounts: + - name: webhook-certs + mountPath: /etc/webhook/certs + readOnly: true +{{- end }} +{{- if .Values.injector.certs.secretName }} + volumes: + - name: webhook-certs + secret: + secretName: "{{ .Values.injector.certs.secretName }}" +{{- end }} + {{- include "imagePullSecrets" . | nindent 6 }} +{{ end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-disruptionbudget.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-disruptionbudget.yaml new file mode 100644 index 00000000000..2b2a61c6fe8 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-disruptionbudget.yaml @@ -0,0 +1,25 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- if .Values.injector.podDisruptionBudget }} +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: {{ template "vault.fullname" . }}-agent-injector + namespace: {{ include "vault.namespace" . }} + labels: + helm.sh/chart: {{ include "vault.chart" . }} + app.kubernetes.io/name: {{ include "vault.name" . }}-agent-injector + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + component: webhook +spec: + selector: + matchLabels: + app.kubernetes.io/name: {{ template "vault.name" . }}-agent-injector + app.kubernetes.io/instance: {{ .Release.Name }} + component: webhook + {{- toYaml .Values.injector.podDisruptionBudget | nindent 2 }} +{{- end -}} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-mutating-webhook.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-mutating-webhook.yaml new file mode 100644 index 00000000000..d0cafa66f5d --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-mutating-webhook.yaml @@ -0,0 +1,45 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- template "vault.injectorEnabled" . -}} +{{- if .injectorEnabled -}} +{{- if .Capabilities.APIVersions.Has "admissionregistration.k8s.io/v1" }} +apiVersion: admissionregistration.k8s.io/v1 +{{- else }} +apiVersion: admissionregistration.k8s.io/v1beta1 +{{- end }} +kind: MutatingWebhookConfiguration +metadata: + name: {{ template "vault.fullname" . }}-agent-injector-cfg + labels: + app.kubernetes.io/name: {{ include "vault.name" . }}-agent-injector + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + {{- template "injector.webhookAnnotations" . }} +webhooks: + - name: vault.hashicorp.com + failurePolicy: {{ ((.Values.injector.webhook)).failurePolicy | default .Values.injector.failurePolicy }} + matchPolicy: {{ ((.Values.injector.webhook)).matchPolicy | default "Exact" }} + sideEffects: None + timeoutSeconds: {{ ((.Values.injector.webhook)).timeoutSeconds | default "30" }} + admissionReviewVersions: ["v1", "v1beta1"] + clientConfig: + service: + name: {{ template "vault.fullname" . }}-agent-injector-svc + namespace: {{ include "vault.namespace" . }} + path: "/mutate" + caBundle: {{ .Values.injector.certs.caBundle | quote }} + rules: + - operations: ["CREATE"] + apiGroups: [""] + apiVersions: ["v1"] + resources: ["pods"] + scope: "Namespaced" +{{- if or (.Values.injector.namespaceSelector) (((.Values.injector.webhook)).namespaceSelector) }} + namespaceSelector: +{{ toYaml (((.Values.injector.webhook)).namespaceSelector | default .Values.injector.namespaceSelector) | indent 6}} +{{ end }} +{{- template "injector.objectSelector" . -}} +{{ end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-network-policy.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-network-policy.yaml new file mode 100644 index 00000000000..4c3b0878280 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-network-policy.yaml @@ -0,0 +1,29 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- template "vault.injectorEnabled" . -}} +{{- if .injectorEnabled -}} +{{- if eq (.Values.global.openshift | toString) "true" }} +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: {{ template "vault.fullname" . }}-agent-injector + labels: + app.kubernetes.io/name: {{ template "vault.name" . }}-agent-injector + app.kubernetes.io/instance: {{ .Release.Name }} +spec: + podSelector: + matchLabels: + app.kubernetes.io/name: {{ template "vault.name" . }}-agent-injector + app.kubernetes.io/instance: {{ .Release.Name }} + component: webhook + ingress: + - from: + - namespaceSelector: {} + ports: + - port: 8080 + protocol: TCP +{{ end }} +{{ end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-psp-role.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-psp-role.yaml new file mode 100644 index 00000000000..a07f8f6c0ce --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-psp-role.yaml @@ -0,0 +1,25 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- template "vault.injectorEnabled" . -}} +{{- if .injectorEnabled -}} +{{- if eq (.Values.global.psp.enable | toString) "true" }} +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: {{ template "vault.fullname" . }}-agent-injector-psp + namespace: {{ include "vault.namespace" . }} + labels: + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +rules: +- apiGroups: ['policy'] + resources: ['podsecuritypolicies'] + verbs: ['use'] + resourceNames: + - {{ template "vault.fullname" . }}-agent-injector +{{- end }} +{{- end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-psp-rolebinding.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-psp-rolebinding.yaml new file mode 100644 index 00000000000..3c97e8dad0f --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-psp-rolebinding.yaml @@ -0,0 +1,26 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- template "vault.injectorEnabled" . -}} +{{- if .injectorEnabled -}} +{{- if eq (.Values.global.psp.enable | toString) "true" }} +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: {{ template "vault.fullname" . }}-agent-injector-psp + namespace: {{ include "vault.namespace" . }} + labels: + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +roleRef: + kind: Role + name: {{ template "vault.fullname" . }}-agent-injector-psp + apiGroup: rbac.authorization.k8s.io +subjects: + - kind: ServiceAccount + name: {{ template "vault.fullname" . }}-agent-injector +{{- end }} +{{- end }} \ No newline at end of file diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-psp.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-psp.yaml new file mode 100644 index 00000000000..0eca9a87c66 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-psp.yaml @@ -0,0 +1,51 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- template "vault.injectorEnabled" . -}} +{{- if .injectorEnabled -}} +{{- if eq (.Values.global.psp.enable | toString) "true" }} +apiVersion: policy/v1beta1 +kind: PodSecurityPolicy +metadata: + name: {{ template "vault.fullname" . }}-agent-injector + labels: + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- template "vault.psp.annotations" . }} +spec: + privileged: false + # Required to prevent escalations to root. + allowPrivilegeEscalation: false + volumes: + - configMap + - emptyDir + - projected + - secret + - downwardAPI + hostNetwork: false + hostIPC: false + hostPID: false + runAsUser: + # Require the container to run without root privileges. + rule: MustRunAsNonRoot + seLinux: + # This policy assumes the nodes are using AppArmor rather than SELinux. + rule: RunAsAny + supplementalGroups: + rule: MustRunAs + ranges: + # Forbid adding the root group. + - min: 1 + max: 65535 + fsGroup: + rule: MustRunAs + ranges: + # Forbid adding the root group. + - min: 1 + max: 65535 + readOnlyRootFilesystem: false +{{- end }} +{{- end }} \ No newline at end of file diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-role.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-role.yaml new file mode 100644 index 00000000000..b2ad0c7b98f --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-role.yaml @@ -0,0 +1,34 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- template "vault.injectorEnabled" . -}} +{{- if .injectorEnabled -}} +{{- if and (eq (.Values.injector.leaderElector.enabled | toString) "true") (gt (.Values.injector.replicas | int) 1) }} +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: {{ template "vault.fullname" . }}-agent-injector-leader-elector-role + namespace: {{ include "vault.namespace" . }} + labels: + app.kubernetes.io/name: {{ include "vault.name" . }}-agent-injector + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +rules: + - apiGroups: [""] + resources: ["secrets", "configmaps"] + verbs: + - "create" + - "get" + - "watch" + - "list" + - "update" + - apiGroups: [""] + resources: ["pods"] + verbs: + - "get" + - "patch" + - "delete" +{{- end }} +{{- end }} \ No newline at end of file diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-rolebinding.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-rolebinding.yaml new file mode 100644 index 00000000000..6ad25ca695d --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-rolebinding.yaml @@ -0,0 +1,27 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- template "vault.injectorEnabled" . -}} +{{- if .injectorEnabled -}} +{{- if and (eq (.Values.injector.leaderElector.enabled | toString) "true") (gt (.Values.injector.replicas | int) 1) }} +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: {{ template "vault.fullname" . }}-agent-injector-leader-elector-binding + namespace: {{ include "vault.namespace" . }} + labels: + app.kubernetes.io/name: {{ include "vault.name" . }}-agent-injector + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: {{ template "vault.fullname" . }}-agent-injector-leader-elector-role +subjects: + - kind: ServiceAccount + name: {{ template "vault.fullname" . }}-agent-injector + namespace: {{ include "vault.namespace" . }} +{{- end }} +{{- end }} \ No newline at end of file diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-service.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-service.yaml new file mode 100644 index 00000000000..1479cd1ab93 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-service.yaml @@ -0,0 +1,27 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- template "vault.injectorEnabled" . -}} +{{- if .injectorEnabled -}} +apiVersion: v1 +kind: Service +metadata: + name: {{ template "vault.fullname" . }}-agent-injector-svc + namespace: {{ include "vault.namespace" . }} + labels: + app.kubernetes.io/name: {{ include "vault.name" . }}-agent-injector + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + {{ template "injector.service.annotations" . }} +spec: + ports: + - name: https + port: 443 + targetPort: {{ .Values.injector.port }} + selector: + app.kubernetes.io/name: {{ include "vault.name" . }}-agent-injector + app.kubernetes.io/instance: {{ .Release.Name }} + component: webhook +{{- end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-serviceaccount.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-serviceaccount.yaml new file mode 100644 index 00000000000..2f91c3d4aa8 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/injector-serviceaccount.yaml @@ -0,0 +1,18 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- template "vault.injectorEnabled" . -}} +{{- if .injectorEnabled -}} +apiVersion: v1 +kind: ServiceAccount +metadata: + name: {{ template "vault.fullname" . }}-agent-injector + namespace: {{ include "vault.namespace" . }} + labels: + app.kubernetes.io/name: {{ include "vault.name" . }}-agent-injector + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + {{ template "injector.serviceAccount.annotations" . }} +{{ end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/prometheus-prometheusrules.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/prometheus-prometheusrules.yaml new file mode 100644 index 00000000000..7e58a0e5227 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/prometheus-prometheusrules.yaml @@ -0,0 +1,31 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{ if and (.Values.serverTelemetry.prometheusRules.rules) + (or (.Values.global.serverTelemetry.prometheusOperator) (.Values.serverTelemetry.prometheusRules.enabled) ) +}} +--- +apiVersion: monitoring.coreos.com/v1 +kind: PrometheusRule +metadata: + name: {{ template "vault.fullname" . }} + labels: + helm.sh/chart: {{ include "vault.chart" . }} + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + {{- /* update the selectors docs in values.yaml whenever the defaults below change. */ -}} + {{- $selectors := .Values.serverTelemetry.prometheusRules.selectors }} + {{- if $selectors }} + {{- toYaml $selectors | nindent 4 }} + {{- else }} + release: prometheus + {{- end }} +spec: + groups: + - name: {{ include "vault.fullname" . }} + rules: + {{- toYaml .Values.serverTelemetry.prometheusRules.rules | nindent 6 }} +{{- end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/prometheus-servicemonitor.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/prometheus-servicemonitor.yaml new file mode 100644 index 00000000000..62d924a61a1 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/prometheus-servicemonitor.yaml @@ -0,0 +1,58 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{ template "vault.mode" . }} +{{ if or (.Values.global.serverTelemetry.prometheusOperator) (.Values.serverTelemetry.serviceMonitor.enabled) }} +--- +apiVersion: monitoring.coreos.com/v1 +kind: ServiceMonitor +metadata: + name: {{ template "vault.fullname" . }} + labels: + helm.sh/chart: {{ include "vault.chart" . }} + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + {{- /* update the selectors docs in values.yaml whenever the defaults below change. */ -}} + {{- $selectors := .Values.serverTelemetry.serviceMonitor.selectors }} + {{- if $selectors }} + {{- toYaml $selectors | nindent 4 }} + {{- else }} + release: prometheus + {{- end }} +spec: + selector: + matchLabels: + app.kubernetes.io/name: {{ template "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + {{- if eq .mode "ha" }} + vault-active: "true" + {{- else }} + vault-internal: "true" + {{- end }} + endpoints: + - port: {{ include "vault.scheme" . }} + interval: {{ .Values.serverTelemetry.serviceMonitor.interval }} + scrapeTimeout: {{ .Values.serverTelemetry.serviceMonitor.scrapeTimeout }} + scheme: {{ include "vault.scheme" . | lower }} + path: /v1/sys/metrics + params: + format: + - prometheus + {{- with .Values.serverTelemetry.serviceMonitor.tlsConfig }} + tlsConfig: + {{- toYaml . | nindent 6 }} + {{- else }} + tlsConfig: + insecureSkipVerify: true + {{- end }} + {{- with .Values.serverTelemetry.serviceMonitor.authorization }} + authorization: + {{- toYaml . | nindent 6 }} + {{- end }} + namespaceSelector: + matchNames: + - {{ include "vault.namespace" . }} +{{ end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/server-clusterrolebinding.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-clusterrolebinding.yaml new file mode 100644 index 00000000000..14ec838a04e --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-clusterrolebinding.yaml @@ -0,0 +1,29 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{ template "vault.serverAuthDelegator" . }} +{{- if .serverAuthDelegator -}} +{{- if .Capabilities.APIVersions.Has "rbac.authorization.k8s.io/v1" -}} +apiVersion: rbac.authorization.k8s.io/v1 +{{- else }} +apiVersion: rbac.authorization.k8s.io/v1beta1 +{{- end }} +kind: ClusterRoleBinding +metadata: + name: {{ template "vault.fullname" . }}-server-binding + labels: + helm.sh/chart: {{ include "vault.chart" . }} + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: system:auth-delegator +subjects: +- kind: ServiceAccount + name: {{ template "vault.serviceAccount.name" . }} + namespace: {{ include "vault.namespace" . }} +{{ end }} \ No newline at end of file diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/server-config-configmap.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-config-configmap.yaml new file mode 100644 index 00000000000..1fed2e69093 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-config-configmap.yaml @@ -0,0 +1,31 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{ template "vault.mode" . }} +{{- if ne .mode "external" }} +{{- if .serverEnabled -}} +{{- if ne .mode "dev" -}} +{{ if or (.Values.server.standalone.config) (.Values.server.ha.config) -}} +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ template "vault.fullname" . }}-config + namespace: {{ include "vault.namespace" . }} + labels: + helm.sh/chart: {{ include "vault.chart" . }} + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- if .Values.server.includeConfigAnnotation }} + annotations: + vault.hashicorp.com/config-checksum: {{ include "vault.config" . | sha256sum }} +{{- end }} +data: + extraconfig-from-values.hcl: |- + {{ template "vault.config" . }} +{{- end }} +{{- end }} +{{- end }} +{{- end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/server-discovery-role.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-discovery-role.yaml new file mode 100644 index 00000000000..0cbdefaff09 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-discovery-role.yaml @@ -0,0 +1,26 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{ template "vault.mode" . }} +{{- if .serverEnabled -}} +{{- if eq .mode "ha" }} +{{- if eq (.Values.server.serviceAccount.serviceDiscovery.enabled | toString) "true" }} +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + namespace: {{ include "vault.namespace" . }} + name: {{ template "vault.fullname" . }}-discovery-role + labels: + helm.sh/chart: {{ include "vault.chart" . }} + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +rules: +- apiGroups: [""] + resources: ["pods"] + verbs: ["get", "watch", "list", "update", "patch"] +{{ end }} +{{ end }} +{{ end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/server-discovery-rolebinding.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-discovery-rolebinding.yaml new file mode 100644 index 00000000000..87b0f6170d9 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-discovery-rolebinding.yaml @@ -0,0 +1,34 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{ template "vault.mode" . }} +{{- if .serverEnabled -}} +{{- if eq .mode "ha" }} +{{- if eq (.Values.server.serviceAccount.serviceDiscovery.enabled | toString) "true" }} +{{- if .Capabilities.APIVersions.Has "rbac.authorization.k8s.io/v1" -}} +apiVersion: rbac.authorization.k8s.io/v1 +{{- else }} +apiVersion: rbac.authorization.k8s.io/v1beta1 +{{- end }} +kind: RoleBinding +metadata: + name: {{ template "vault.fullname" . }}-discovery-rolebinding + namespace: {{ include "vault.namespace" . }} + labels: + helm.sh/chart: {{ include "vault.chart" . }} + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: {{ template "vault.fullname" . }}-discovery-role +subjects: +- kind: ServiceAccount + name: {{ template "vault.serviceAccount.name" . }} + namespace: {{ include "vault.namespace" . }} +{{ end }} +{{ end }} +{{ end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/server-disruptionbudget.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-disruptionbudget.yaml new file mode 100644 index 00000000000..bbe9eb29951 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-disruptionbudget.yaml @@ -0,0 +1,31 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{ template "vault.mode" . }} +{{- if ne .mode "external" -}} +{{- if .serverEnabled -}} +{{- if and (eq .mode "ha") (eq (.Values.server.ha.disruptionBudget.enabled | toString) "true") -}} +# PodDisruptionBudget to prevent degrading the server cluster through +# voluntary cluster changes. +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: {{ template "vault.fullname" . }} + namespace: {{ include "vault.namespace" . }} + labels: + helm.sh/chart: {{ include "vault.chart" . }} + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +spec: + maxUnavailable: {{ template "vault.pdb.maxUnavailable" . }} + selector: + matchLabels: + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + component: server +{{- end -}} +{{- end -}} +{{- end -}} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/server-ha-active-service.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-ha-active-service.yaml new file mode 100644 index 00000000000..9d2abfbb15b --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-ha-active-service.yaml @@ -0,0 +1,64 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{ template "vault.mode" . }} +{{- if ne .mode "external" }} +{{- template "vault.serverServiceEnabled" . -}} +{{- if .serverServiceEnabled -}} +{{- if eq .mode "ha" }} +{{- if eq (.Values.server.service.active.enabled | toString) "true" }} +# Service for active Vault pod +apiVersion: v1 +kind: Service +metadata: + name: {{ template "vault.fullname" . }}-active + namespace: {{ include "vault.namespace" . }} + labels: + helm.sh/chart: {{ include "vault.chart" . }} + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + vault-active: "true" + annotations: +{{- template "vault.service.active.annotations" . }} +{{- template "vault.service.annotations" . }} +spec: + {{- if .Values.server.service.type}} + type: {{ .Values.server.service.type }} + {{- end}} + {{- if (semverCompare ">= 1.23-0" .Capabilities.KubeVersion.Version) }} + {{- if .Values.server.service.ipFamilyPolicy }} + ipFamilyPolicy: {{ .Values.server.service.ipFamilyPolicy }} + {{- end }} + {{- if .Values.server.service.ipFamilies }} + ipFamilies: {{ .Values.server.service.ipFamilies | toYaml | nindent 2 }} + {{- end }} + {{- end }} + {{- if .Values.server.service.clusterIP }} + clusterIP: {{ .Values.server.service.clusterIP }} + {{- end }} + {{- include "service.externalTrafficPolicy" .Values.server.service }} + publishNotReadyAddresses: {{ .Values.server.service.publishNotReadyAddresses }} + ports: + - name: {{ include "vault.scheme" . }} + port: {{ .Values.server.service.port }} + targetPort: {{ .Values.server.service.targetPort }} + {{- if and (.Values.server.service.activeNodePort) (eq (.Values.server.service.type | toString) "NodePort") }} + nodePort: {{ .Values.server.service.activeNodePort }} + {{- end }} + - name: https-internal + port: 8201 + targetPort: 8201 + selector: + app.kubernetes.io/name: {{ include "vault.name" . }} + {{- if eq (.Values.server.service.instanceSelector.enabled | toString) "true" }} + app.kubernetes.io/instance: {{ .Release.Name }} + {{- end }} + component: server + vault-active: "true" +{{- end }} +{{- end }} +{{- end }} +{{- end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/server-ha-standby-service.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-ha-standby-service.yaml new file mode 100644 index 00000000000..bae1e28345f --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-ha-standby-service.yaml @@ -0,0 +1,63 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{ template "vault.mode" . }} +{{- if ne .mode "external" }} +{{- template "vault.serverServiceEnabled" . -}} +{{- if .serverServiceEnabled -}} +{{- if eq .mode "ha" }} +{{- if eq (.Values.server.service.standby.enabled | toString) "true" }} +# Service for standby Vault pod +apiVersion: v1 +kind: Service +metadata: + name: {{ template "vault.fullname" . }}-standby + namespace: {{ include "vault.namespace" . }} + labels: + helm.sh/chart: {{ include "vault.chart" . }} + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + annotations: +{{- template "vault.service.standby.annotations" . }} +{{- template "vault.service.annotations" . }} +spec: + {{- if .Values.server.service.type}} + type: {{ .Values.server.service.type }} + {{- end}} + {{- if (semverCompare ">= 1.23-0" .Capabilities.KubeVersion.Version) }} + {{- if .Values.server.service.ipFamilyPolicy }} + ipFamilyPolicy: {{ .Values.server.service.ipFamilyPolicy }} + {{- end }} + {{- if .Values.server.service.ipFamilies }} + ipFamilies: {{ .Values.server.service.ipFamilies | toYaml | nindent 2 }} + {{- end }} + {{- end }} + {{- if .Values.server.service.clusterIP }} + clusterIP: {{ .Values.server.service.clusterIP }} + {{- end }} + {{- include "service.externalTrafficPolicy" .Values.server.service }} + publishNotReadyAddresses: {{ .Values.server.service.publishNotReadyAddresses }} + ports: + - name: {{ include "vault.scheme" . }} + port: {{ .Values.server.service.port }} + targetPort: {{ .Values.server.service.targetPort }} + {{- if and (.Values.server.service.standbyNodePort) (eq (.Values.server.service.type | toString) "NodePort") }} + nodePort: {{ .Values.server.service.standbyNodePort }} + {{- end }} + - name: https-internal + port: 8201 + targetPort: 8201 + selector: + app.kubernetes.io/name: {{ include "vault.name" . }} + {{- if eq (.Values.server.service.instanceSelector.enabled | toString) "true" }} + app.kubernetes.io/instance: {{ .Release.Name }} + {{- end }} + component: server + vault-active: "false" +{{- end }} +{{- end }} +{{- end }} +{{- end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/server-headless-service.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-headless-service.yaml new file mode 100644 index 00000000000..c0f4d346040 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-headless-service.yaml @@ -0,0 +1,47 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{ template "vault.mode" . }} +{{- if ne .mode "external" }} +{{- template "vault.serverServiceEnabled" . -}} +{{- if .serverServiceEnabled -}} +# Service for Vault cluster +apiVersion: v1 +kind: Service +metadata: + name: {{ template "vault.fullname" . }}-internal + namespace: {{ include "vault.namespace" . }} + labels: + helm.sh/chart: {{ include "vault.chart" . }} + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + vault-internal: "true" + annotations: +{{ template "vault.service.annotations" .}} +spec: + {{- if (semverCompare ">= 1.23-0" .Capabilities.KubeVersion.Version) }} + {{- if .Values.server.service.ipFamilyPolicy }} + ipFamilyPolicy: {{ .Values.server.service.ipFamilyPolicy }} + {{- end }} + {{- if .Values.server.service.ipFamilies }} + ipFamilies: {{ .Values.server.service.ipFamilies | toYaml | nindent 2 }} + {{- end }} + {{- end }} + clusterIP: None + publishNotReadyAddresses: true + ports: + - name: "{{ include "vault.scheme" . }}" + port: {{ .Values.server.service.port }} + targetPort: {{ .Values.server.service.targetPort }} + - name: https-internal + port: 8201 + targetPort: 8201 + selector: + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + component: server +{{- end }} +{{- end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/server-ingress.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-ingress.yaml new file mode 100644 index 00000000000..d796bae4169 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-ingress.yaml @@ -0,0 +1,69 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- if not .Values.global.openshift }} +{{ template "vault.mode" . }} +{{- if ne .mode "external" }} +{{- if .Values.server.ingress.enabled -}} +{{- $extraPaths := .Values.server.ingress.extraPaths -}} +{{- $serviceName := include "vault.fullname" . -}} +{{- template "vault.serverServiceEnabled" . -}} +{{- if .serverServiceEnabled -}} +{{- if and (eq .mode "ha" ) (eq (.Values.server.ingress.activeService | toString) "true") }} +{{- $serviceName = printf "%s-%s" $serviceName "active" -}} +{{- end }} +{{- $servicePort := .Values.server.service.port -}} +{{- $pathType := .Values.server.ingress.pathType -}} +{{- $kubeVersion := .Capabilities.KubeVersion.Version }} +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: {{ template "vault.fullname" . }} + namespace: {{ include "vault.namespace" . }} + labels: + helm.sh/chart: {{ include "vault.chart" . }} + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + {{- with .Values.server.ingress.labels }} + {{- toYaml . | nindent 4 }} + {{- end }} + {{- template "vault.ingress.annotations" . }} +spec: +{{- if .Values.server.ingress.tls }} + tls: + {{- range .Values.server.ingress.tls }} + - hosts: + {{- range .hosts }} + - {{ . | quote }} + {{- end }} + secretName: {{ .secretName }} + {{- end }} +{{- end }} +{{- if .Values.server.ingress.ingressClassName }} + ingressClassName: {{ .Values.server.ingress.ingressClassName }} +{{- end }} + rules: + {{- range .Values.server.ingress.hosts }} + - host: {{ .host | quote }} + http: + paths: +{{ if $extraPaths }} +{{ toYaml $extraPaths | indent 10 }} +{{- end }} + {{- range (.paths | default (list "/")) }} + - path: {{ . }} + pathType: {{ $pathType }} + backend: + service: + name: {{ $serviceName }} + port: + number: {{ $servicePort }} + {{- end }} + {{- end }} +{{- end }} +{{- end }} +{{- end }} +{{- end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/server-network-policy.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-network-policy.yaml new file mode 100644 index 00000000000..43dcdb16fd8 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-network-policy.yaml @@ -0,0 +1,24 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- if eq (.Values.server.networkPolicy.enabled | toString) "true" }} +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: {{ template "vault.fullname" . }} + labels: + app.kubernetes.io/name: {{ template "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} +spec: + podSelector: + matchLabels: + app.kubernetes.io/name: {{ template "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + ingress: {{- toYaml .Values.server.networkPolicy.ingress | nindent 4 }} + {{- if .Values.server.networkPolicy.egress }} + egress: + {{- toYaml .Values.server.networkPolicy.egress | nindent 4 }} + {{ end }} +{{ end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/server-psp-role.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-psp-role.yaml new file mode 100644 index 00000000000..64cd6c50767 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-psp-role.yaml @@ -0,0 +1,25 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{ template "vault.mode" . }} +{{- if .serverEnabled -}} +{{- if and (ne .mode "") (eq (.Values.global.psp.enable | toString) "true") }} +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: {{ template "vault.fullname" . }}-psp + namespace: {{ include "vault.namespace" . }} + labels: + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +rules: +- apiGroups: ['policy'] + resources: ['podsecuritypolicies'] + verbs: ['use'] + resourceNames: + - {{ template "vault.fullname" . }} +{{- end }} +{{- end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/server-psp-rolebinding.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-psp-rolebinding.yaml new file mode 100644 index 00000000000..342f5537962 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-psp-rolebinding.yaml @@ -0,0 +1,26 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{ template "vault.mode" . }} +{{- if .serverEnabled -}} +{{- if and (ne .mode "") (eq (.Values.global.psp.enable | toString) "true") }} +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: {{ template "vault.fullname" . }}-psp + namespace: {{ include "vault.namespace" . }} + labels: + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +roleRef: + kind: Role + name: {{ template "vault.fullname" . }}-psp + apiGroup: rbac.authorization.k8s.io +subjects: + - kind: ServiceAccount + name: {{ template "vault.fullname" . }} +{{- end }} +{{- end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/server-psp.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-psp.yaml new file mode 100644 index 00000000000..567e66245e4 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-psp.yaml @@ -0,0 +1,54 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{ template "vault.mode" . }} +{{- if .serverEnabled -}} +{{- if and (ne .mode "") (eq (.Values.global.psp.enable | toString) "true") }} +apiVersion: policy/v1beta1 +kind: PodSecurityPolicy +metadata: + name: {{ template "vault.fullname" . }} + labels: + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- template "vault.psp.annotations" . }} +spec: + privileged: false + # Required to prevent escalations to root. + allowPrivilegeEscalation: false + volumes: + - configMap + - emptyDir + - projected + - secret + - downwardAPI + {{- if eq (.Values.server.dataStorage.enabled | toString) "true" }} + - persistentVolumeClaim + {{- end }} + hostNetwork: false + hostIPC: false + hostPID: false + runAsUser: + # Require the container to run without root privileges. + rule: MustRunAsNonRoot + seLinux: + # This policy assumes the nodes are using AppArmor rather than SELinux. + rule: RunAsAny + supplementalGroups: + rule: MustRunAs + ranges: + # Forbid adding the root group. + - min: 1 + max: 65535 + fsGroup: + rule: MustRunAs + ranges: + # Forbid adding the root group. + - min: 1 + max: 65535 + readOnlyRootFilesystem: false +{{- end }} +{{- end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/server-route.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-route.yaml new file mode 100644 index 00000000000..4e955555ab5 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-route.yaml @@ -0,0 +1,39 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{- if .Values.global.openshift }} +{{- if ne .mode "external" }} +{{- if .Values.server.route.enabled -}} +{{- $serviceName := include "vault.fullname" . -}} +{{- if and (eq .mode "ha" ) (eq (.Values.server.route.activeService | toString) "true") }} +{{- $serviceName = printf "%s-%s" $serviceName "active" -}} +{{- end }} +kind: Route +apiVersion: route.openshift.io/v1 +metadata: + name: {{ template "vault.fullname" . }} + namespace: {{ include "vault.namespace" . }} + labels: + helm.sh/chart: {{ include "vault.chart" . }} + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + {{- with .Values.server.route.labels }} + {{- toYaml . | nindent 4 }} + {{- end }} + {{- template "vault.route.annotations" . }} +spec: + host: {{ .Values.server.route.host }} + to: + kind: Service + name: {{ $serviceName }} + weight: 100 + port: + targetPort: 8200 + tls: + {{- toYaml .Values.server.route.tls | nindent 4 }} +{{- end }} +{{- end }} +{{- end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/server-service.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-service.yaml new file mode 100644 index 00000000000..c12e190cb39 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-service.yaml @@ -0,0 +1,59 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{ template "vault.mode" . }} +{{- if ne .mode "external" }} +{{- template "vault.serverServiceEnabled" . -}} +{{- if .serverServiceEnabled -}} +# Service for Vault cluster +apiVersion: v1 +kind: Service +metadata: + name: {{ template "vault.fullname" . }} + namespace: {{ include "vault.namespace" . }} + labels: + helm.sh/chart: {{ include "vault.chart" . }} + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + annotations: +{{ template "vault.service.annotations" .}} +spec: + {{- if .Values.server.service.type}} + type: {{ .Values.server.service.type }} + {{- end}} + {{- if (semverCompare ">= 1.23-0" .Capabilities.KubeVersion.Version) }} + {{- if .Values.server.service.ipFamilyPolicy }} + ipFamilyPolicy: {{ .Values.server.service.ipFamilyPolicy }} + {{- end }} + {{- if .Values.server.service.ipFamilies }} + ipFamilies: {{ .Values.server.service.ipFamilies | toYaml | nindent 2 }} + {{- end }} + {{- end }} + {{- if .Values.server.service.clusterIP }} + clusterIP: {{ .Values.server.service.clusterIP }} + {{- end }} + {{- include "service.externalTrafficPolicy" .Values.server.service }} + # We want the servers to become available even if they're not ready + # since this DNS is also used for join operations. + publishNotReadyAddresses: {{ .Values.server.service.publishNotReadyAddresses }} + ports: + - name: {{ include "vault.scheme" . }} + port: {{ .Values.server.service.port }} + targetPort: {{ .Values.server.service.targetPort }} + {{- if and (.Values.server.service.nodePort) (eq (.Values.server.service.type | toString) "NodePort") }} + nodePort: {{ .Values.server.service.nodePort }} + {{- end }} + - name: https-internal + port: 8201 + targetPort: 8201 + selector: + app.kubernetes.io/name: {{ include "vault.name" . }} + {{- if eq (.Values.server.service.instanceSelector.enabled | toString) "true" }} + app.kubernetes.io/instance: {{ .Release.Name }} + {{- end }} + component: server +{{- end }} +{{- end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/server-serviceaccount-secret.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-serviceaccount-secret.yaml new file mode 100644 index 00000000000..74d70f90054 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-serviceaccount-secret.yaml @@ -0,0 +1,21 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{ template "vault.serverServiceAccountSecretCreationEnabled" . }} +{{- if .serverServiceAccountSecretCreationEnabled -}} +apiVersion: v1 +kind: Secret +metadata: + name: {{ template "vault.serviceAccount.name" . }}-token + namespace: {{ include "vault.namespace" . }} + annotations: + kubernetes.io/service-account.name: {{ template "vault.serviceAccount.name" . }} + labels: + helm.sh/chart: {{ include "vault.chart" . }} + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} +type: kubernetes.io/service-account-token +{{ end }} \ No newline at end of file diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/server-serviceaccount.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-serviceaccount.yaml new file mode 100644 index 00000000000..216ea6178a6 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-serviceaccount.yaml @@ -0,0 +1,22 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{ template "vault.serverServiceAccountEnabled" . }} +{{- if .serverServiceAccountEnabled -}} +apiVersion: v1 +kind: ServiceAccount +metadata: + name: {{ template "vault.serviceAccount.name" . }} + namespace: {{ include "vault.namespace" . }} + labels: + helm.sh/chart: {{ include "vault.chart" . }} + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + {{- if .Values.server.serviceAccount.extraLabels -}} + {{- toYaml .Values.server.serviceAccount.extraLabels | nindent 4 -}} + {{- end -}} + {{ template "vault.serviceAccount.annotations" . }} +{{ end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/server-statefulset.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-statefulset.yaml new file mode 100644 index 00000000000..0d8e604d070 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/server-statefulset.yaml @@ -0,0 +1,232 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{ template "vault.mode" . }} +{{- if ne .mode "external" }} +{{- if ne .mode "" }} +{{- if .serverEnabled -}} +# StatefulSet to run the actual vault server cluster. +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: {{ template "vault.fullname" . }} + namespace: {{ include "vault.namespace" . }} + labels: + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + {{- template "vault.statefulSet.annotations" . }} +spec: + serviceName: {{ template "vault.fullname" . }}-internal + podManagementPolicy: Parallel + replicas: {{ template "vault.replicas" . }} + updateStrategy: + type: {{ .Values.server.updateStrategyType }} + {{- if and (semverCompare ">= 1.23-0" .Capabilities.KubeVersion.Version) (.Values.server.persistentVolumeClaimRetentionPolicy) }} + persistentVolumeClaimRetentionPolicy: {{ toYaml .Values.server.persistentVolumeClaimRetentionPolicy | nindent 4 }} + {{- end }} + selector: + matchLabels: + app.kubernetes.io/name: {{ template "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + component: server + template: + metadata: + labels: + helm.sh/chart: {{ template "vault.chart" . }} + app.kubernetes.io/name: {{ template "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + component: server + {{- if .Values.server.extraLabels -}} + {{- toYaml .Values.server.extraLabels | nindent 8 -}} + {{- end -}} + {{ template "vault.annotations" . }} + spec: + {{ template "vault.affinity" . }} + {{ template "vault.topologySpreadConstraints" . }} + {{ template "vault.tolerations" . }} + {{ template "vault.nodeselector" . }} + {{- if .Values.server.priorityClassName }} + priorityClassName: {{ .Values.server.priorityClassName }} + {{- end }} + terminationGracePeriodSeconds: {{ .Values.server.terminationGracePeriodSeconds }} + serviceAccountName: {{ template "vault.serviceAccount.name" . }} + {{ if .Values.server.shareProcessNamespace }} + shareProcessNamespace: true + {{ end }} + {{- template "server.statefulSet.securityContext.pod" . }} + {{- if not .Values.global.openshift }} + hostNetwork: {{ .Values.server.hostNetwork }} + {{- end }} + volumes: + {{ template "vault.volumes" . }} + - name: home + emptyDir: {} + {{- if .Values.server.hostAliases }} + hostAliases: + {{ toYaml .Values.server.hostAliases | nindent 8}} + {{- end }} + {{- if .Values.server.extraInitContainers }} + initContainers: + {{ toYaml .Values.server.extraInitContainers | nindent 8}} + {{- end }} + containers: + - name: vault + {{ template "vault.resources" . }} + image: {{ .Values.server.image.repository }}:{{ .Values.server.image.tag | default "latest" }} + imagePullPolicy: {{ .Values.server.image.pullPolicy }} + command: + - "/bin/sh" + - "-ec" + args: {{ template "vault.args" . }} + {{- template "server.statefulSet.securityContext.container" . }} + env: + - name: HOST_IP + valueFrom: + fieldRef: + fieldPath: status.hostIP + - name: POD_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: VAULT_K8S_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: VAULT_K8S_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: VAULT_ADDR + value: "{{ include "vault.scheme" . }}://127.0.0.1:8200" + - name: VAULT_API_ADDR + {{- if .Values.server.ha.apiAddr }} + value: {{ .Values.server.ha.apiAddr }} + {{- else }} + value: "{{ include "vault.scheme" . }}://$(POD_IP):8200" + {{- end }} + - name: SKIP_CHOWN + value: "true" + - name: SKIP_SETCAP + value: "true" + - name: HOSTNAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: VAULT_CLUSTER_ADDR + {{- if .Values.server.ha.clusterAddr }} + value: {{ .Values.server.ha.clusterAddr | quote }} + {{- else }} + value: "https://$(HOSTNAME).{{ template "vault.fullname" . }}-internal:8201" + {{- end }} + {{- if and (eq (.Values.server.ha.raft.enabled | toString) "true") (eq (.Values.server.ha.raft.setNodeId | toString) "true") }} + - name: VAULT_RAFT_NODE_ID + valueFrom: + fieldRef: + fieldPath: metadata.name + {{- end }} + - name: HOME + value: "/home/vault" + {{- if .Values.server.logLevel }} + - name: VAULT_LOG_LEVEL + value: "{{ .Values.server.logLevel }}" + {{- end }} + {{- if .Values.server.logFormat }} + - name: VAULT_LOG_FORMAT + value: "{{ .Values.server.logFormat }}" + {{- end }} + {{- if (and .Values.server.enterpriseLicense.secretName .Values.server.enterpriseLicense.secretKey) }} + - name: VAULT_LICENSE_PATH + value: /vault/license/{{ .Values.server.enterpriseLicense.secretKey }} + {{- end }} + {{ template "vault.envs" . }} + {{- include "vault.extraEnvironmentVars" .Values.server | nindent 12 }} + {{- include "vault.extraSecretEnvironmentVars" .Values.server | nindent 12 }} + volumeMounts: + {{ template "vault.mounts" . }} + - name: home + mountPath: /home/vault + ports: + - containerPort: 8200 + name: {{ include "vault.scheme" . }} + - containerPort: 8201 + name: https-internal + - containerPort: 8202 + name: {{ include "vault.scheme" . }}-rep + {{- if .Values.server.extraPorts -}} + {{ toYaml .Values.server.extraPorts | nindent 12}} + {{- end }} + {{- if .Values.server.readinessProbe.enabled }} + readinessProbe: + {{- if .Values.server.readinessProbe.path }} + httpGet: + path: {{ .Values.server.readinessProbe.path | quote }} + port: {{ .Values.server.readinessProbe.port }} + scheme: {{ include "vault.scheme" . | upper }} + {{- else }} + # Check status; unsealed vault servers return 0 + # The exit code reflects the seal status: + # 0 - unsealed + # 1 - error + # 2 - sealed + exec: + command: ["/bin/sh", "-ec", "vault status -tls-skip-verify"] + {{- end }} + failureThreshold: {{ .Values.server.readinessProbe.failureThreshold }} + initialDelaySeconds: {{ .Values.server.readinessProbe.initialDelaySeconds }} + periodSeconds: {{ .Values.server.readinessProbe.periodSeconds }} + successThreshold: {{ .Values.server.readinessProbe.successThreshold }} + timeoutSeconds: {{ .Values.server.readinessProbe.timeoutSeconds }} + {{- end }} + {{- if .Values.server.livenessProbe.enabled }} + livenessProbe: + {{- if .Values.server.livenessProbe.execCommand }} + exec: + command: + {{- range (.Values.server.livenessProbe.execCommand) }} + - {{ . | quote }} + {{- end }} + {{- else }} + httpGet: + path: {{ .Values.server.livenessProbe.path | quote }} + port: {{ .Values.server.livenessProbe.port }} + scheme: {{ include "vault.scheme" . | upper }} + {{- end }} + failureThreshold: {{ .Values.server.livenessProbe.failureThreshold }} + initialDelaySeconds: {{ .Values.server.livenessProbe.initialDelaySeconds }} + periodSeconds: {{ .Values.server.livenessProbe.periodSeconds }} + successThreshold: {{ .Values.server.livenessProbe.successThreshold }} + timeoutSeconds: {{ .Values.server.livenessProbe.timeoutSeconds }} + {{- end }} + lifecycle: + # Vault container doesn't receive SIGTERM from Kubernetes + # and after the grace period ends, Kube sends SIGKILL. This + # causes issues with graceful shutdowns such as deregistering itself + # from Consul (zombie services). + preStop: + exec: + command: [ + "/bin/sh", "-c", + # Adding a sleep here to give the pod eviction a + # chance to propagate, so requests will not be made + # to this pod while it's terminating + "sleep {{ .Values.server.preStopSleepSeconds }} && kill -SIGTERM $(pidof vault)", + ] + {{- if .Values.server.postStart }} + postStart: + exec: + command: + {{- range (.Values.server.postStart) }} + - {{ . | quote }} + {{- end }} + {{- end }} + {{- if .Values.server.extraContainers }} + {{ toYaml .Values.server.extraContainers | nindent 8}} + {{- end }} + {{- include "imagePullSecrets" . | nindent 6 }} + {{ template "vault.volumeclaims" . }} +{{ end }} +{{ end }} +{{ end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/tests/server-test.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/tests/server-test.yaml new file mode 100644 index 00000000000..20e2e5a5a14 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/tests/server-test.yaml @@ -0,0 +1,56 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{ template "vault.mode" . }} +{{- if ne .mode "external" }} +{{- if .serverEnabled -}} +apiVersion: v1 +kind: Pod +metadata: + name: {{ template "vault.fullname" . }}-server-test + namespace: {{ include "vault.namespace" . }} + annotations: + "helm.sh/hook": test +spec: + {{- include "imagePullSecrets" . | nindent 2 }} + containers: + - name: {{ .Release.Name }}-server-test + image: {{ .Values.server.image.repository }}:{{ .Values.server.image.tag | default "latest" }} + imagePullPolicy: {{ .Values.server.image.pullPolicy }} + env: + - name: VAULT_ADDR + value: {{ include "vault.scheme" . }}://{{ template "vault.fullname" . }}.{{ include "vault.namespace" . }}.svc:{{ .Values.server.service.port }} + {{- include "vault.extraEnvironmentVars" .Values.server | nindent 8 }} + command: + - /bin/sh + - -c + - | + echo "Checking for sealed info in 'vault status' output" + ATTEMPTS=10 + n=0 + until [ "$n" -ge $ATTEMPTS ] + do + echo "Attempt" $n... + vault status -format yaml | grep -E '^sealed: (true|false)' && break + n=$((n+1)) + sleep 5 + done + if [ $n -ge $ATTEMPTS ]; then + echo "timed out looking for sealed info in 'vault status' output" + exit 1 + fi + + exit 0 + volumeMounts: + {{- if .Values.server.volumeMounts }} + {{- toYaml .Values.server.volumeMounts | nindent 8}} + {{- end }} + volumes: + {{- if .Values.server.volumes }} + {{- toYaml .Values.server.volumes | nindent 4}} + {{- end }} + restartPolicy: Never +{{- end }} +{{- end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/templates/ui-service.yaml b/charts/partners/hashicorp/vault/0.29.0/src/templates/ui-service.yaml new file mode 100644 index 00000000000..95370842e76 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/templates/ui-service.yaml @@ -0,0 +1,50 @@ +{{/* +Copyright (c) HashiCorp, Inc. +SPDX-License-Identifier: MPL-2.0 +*/}} + +{{ template "vault.mode" . }} +{{- if ne .mode "external" }} +{{- template "vault.uiEnabled" . -}} +{{- if .uiEnabled -}} + +apiVersion: v1 +kind: Service +metadata: + name: {{ template "vault.fullname" . }}-ui + namespace: {{ include "vault.namespace" . }} + labels: + helm.sh/chart: {{ include "vault.chart" . }} + app.kubernetes.io/name: {{ include "vault.name" . }}-ui + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + {{- template "vault.ui.annotations" . }} +spec: + {{- if (semverCompare ">= 1.23-0" .Capabilities.KubeVersion.Version) }} + {{- if .Values.ui.serviceIPFamilyPolicy }} + ipFamilyPolicy: {{ .Values.ui.serviceIPFamilyPolicy }} + {{- end }} + {{- if .Values.ui.serviceIPFamilies }} + ipFamilies: {{ .Values.ui.serviceIPFamilies | toYaml | nindent 2 }} + {{- end }} + {{- end }} + selector: + app.kubernetes.io/name: {{ include "vault.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + component: server + {{- if and (.Values.ui.activeVaultPodOnly) (eq .mode "ha") }} + vault-active: "true" + {{- end }} + publishNotReadyAddresses: {{ .Values.ui.publishNotReadyAddresses }} + ports: + - name: {{ include "vault.scheme" . }} + port: {{ .Values.ui.externalPort }} + targetPort: {{ .Values.ui.targetPort }} + {{- if .Values.ui.serviceNodePort }} + nodePort: {{ .Values.ui.serviceNodePort }} + {{- end }} + type: {{ .Values.ui.serviceType }} + {{- include "service.externalTrafficPolicy" .Values.ui }} + {{- include "service.loadBalancer" .Values.ui }} +{{- end -}} +{{- end }} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/values.openshift.yaml b/charts/partners/hashicorp/vault/0.29.0/src/values.openshift.yaml new file mode 100644 index 00000000000..a1fb3461fdf --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/values.openshift.yaml @@ -0,0 +1,24 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + +# These overrides are appropriate defaults for deploying this chart on OpenShift + +global: + openshift: true + +injector: + image: + repository: "registry.connect.redhat.com/hashicorp/vault-k8s" + tag: "1.5.0-ubi" + + agentImage: + repository: "registry.connect.redhat.com/hashicorp/vault" + tag: "1.18.1-ubi" + +server: + image: + repository: "registry.connect.redhat.com/hashicorp/vault" + tag: "1.18.1-ubi" + + readinessProbe: + path: "/v1/sys/health?uninitcode=204" diff --git a/charts/partners/hashicorp/vault/0.29.0/src/values.schema.json b/charts/partners/hashicorp/vault/0.29.0/src/values.schema.json new file mode 100644 index 00000000000..34506f97f4d --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/values.schema.json @@ -0,0 +1,1315 @@ +{ + "$schema": "http://json-schema.org/schema#", + "type": "object", + "properties": { + "csi": { + "type": "object", + "properties": { + "agent": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "extraArgs": { + "type": "array" + }, + "image": { + "type": "object", + "properties": { + "pullPolicy": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "tag": { + "type": "string" + } + } + }, + "logFormat": { + "type": "string" + }, + "logLevel": { + "type": "string" + }, + "resources": { + "type": "object" + } + } + }, + "daemonSet": { + "type": "object", + "properties": { + "annotations": { + "type": [ + "object", + "string" + ] + }, + "extraLabels": { + "type": "object" + }, + "kubeletRootDir": { + "type": "string" + }, + "providersDir": { + "type": "string" + }, + "securityContext": { + "type": "object", + "properties": { + "container": { + "type": [ + "object", + "string" + ] + }, + "pod": { + "type": [ + "object", + "string" + ] + } + } + }, + "updateStrategy": { + "type": "object", + "properties": { + "maxUnavailable": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + } + }, + "debug": { + "type": "boolean" + }, + "enabled": { + "type": [ + "boolean", + "string" + ] + }, + "extraArgs": { + "type": "array" + }, + "hmacSecretName": { + "type": "string" + }, + "hostNetwork": { + "type": "boolean" + }, + "image": { + "type": "object", + "properties": { + "pullPolicy": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "tag": { + "type": "string" + } + } + }, + "livenessProbe": { + "type": "object", + "properties": { + "failureThreshold": { + "type": "integer" + }, + "initialDelaySeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + } + } + }, + "logLevel": { + "type": "string" + }, + "pod": { + "type": "object", + "properties": { + "affinity": { + "type": [ + "null", + "object", + "string" + ] + }, + "annotations": { + "type": [ + "object", + "string" + ] + }, + "extraLabels": { + "type": "object" + }, + "nodeSelector": { + "type": [ + "null", + "object", + "string" + ] + }, + "tolerations": { + "type": [ + "null", + "array", + "string" + ] + } + } + }, + "priorityClassName": { + "type": "string" + }, + "readinessProbe": { + "type": "object", + "properties": { + "failureThreshold": { + "type": "integer" + }, + "initialDelaySeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + } + } + }, + "resources": { + "type": "object" + }, + "serviceAccount": { + "type": "object", + "properties": { + "annotations": { + "type": [ + "object", + "string" + ] + }, + "extraLabels": { + "type": "object" + } + } + }, + "volumeMounts": { + "type": [ + "null", + "array" + ] + }, + "volumes": { + "type": [ + "null", + "array" + ] + } + } + }, + "global": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "externalVaultAddr": { + "type": "string" + }, + "imagePullSecrets": { + "type": "array" + }, + "namespace": { + "type": "string" + }, + "openshift": { + "type": "boolean" + }, + "psp": { + "type": "object", + "properties": { + "annotations": { + "type": [ + "object", + "string" + ] + }, + "enable": { + "type": "boolean" + } + } + }, + "serverTelemetry": { + "type": "object", + "properties": { + "prometheusOperator": { + "type": "boolean" + } + } + }, + "tlsDisable": { + "type": "boolean" + } + } + }, + "injector": { + "type": "object", + "properties": { + "affinity": { + "type": [ + "object", + "string" + ] + }, + "agentDefaults": { + "type": "object", + "properties": { + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, + "memLimit": { + "type": "string" + }, + "memRequest": { + "type": "string" + }, + "ephemeralLimit": { + "type": "string" + }, + "ephemeralRequest": { + "type": "string" + }, + "template": { + "type": "string" + }, + "templateConfig": { + "type": "object", + "properties": { + "exitOnRetryFailure": { + "type": "boolean" + }, + "staticSecretRenderInterval": { + "type": "string" + } + } + } + } + }, + "agentImage": { + "type": "object", + "properties": { + "repository": { + "type": "string" + }, + "tag": { + "type": "string" + } + } + }, + "annotations": { + "type": [ + "object", + "string" + ] + }, + "authPath": { + "type": "string" + }, + "certs": { + "type": "object", + "properties": { + "caBundle": { + "type": "string" + }, + "certName": { + "type": "string" + }, + "keyName": { + "type": "string" + }, + "secretName": { + "type": [ + "null", + "string" + ] + } + } + }, + "enabled": { + "type": [ + "boolean", + "string" + ] + }, + "externalVaultAddr": { + "type": "string" + }, + "extraEnvironmentVars": { + "type": "object" + }, + "extraLabels": { + "type": "object" + }, + "failurePolicy": { + "type": "string" + }, + "hostNetwork": { + "type": "boolean" + }, + "image": { + "type": "object", + "properties": { + "pullPolicy": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "tag": { + "type": "string" + } + } + }, + "leaderElector": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + } + }, + "livenessProbe": { + "type": "object", + "properties": { + "failureThreshold": { + "type": "integer" + }, + "initialDelaySeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + } + } + }, + "logFormat": { + "type": "string" + }, + "logLevel": { + "type": "string" + }, + "metrics": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + } + }, + "namespaceSelector": { + "type": "object" + }, + "nodeSelector": { + "type": [ + "null", + "object", + "string" + ] + }, + "objectSelector": { + "type": [ + "object", + "string" + ] + }, + "podDisruptionBudget": { + "type": "object" + }, + "port": { + "type": "integer" + }, + "priorityClassName": { + "type": "string" + }, + "readinessProbe": { + "type": "object", + "properties": { + "failureThreshold": { + "type": "integer" + }, + "initialDelaySeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + } + } + }, + "replicas": { + "type": "integer" + }, + "resources": { + "type": "object" + }, + "revokeOnShutdown": { + "type": "boolean" + }, + "securityContext": { + "type": "object", + "properties": { + "container": { + "type": [ + "object", + "string" + ] + }, + "pod": { + "type": [ + "object", + "string" + ] + } + } + }, + "service": { + "type": "object", + "properties": { + "annotations": { + "type": [ + "object", + "string" + ] + } + } + }, + "serviceAccount": { + "type": "object", + "properties": { + "annotations": { + "type": [ + "object", + "string" + ] + } + } + }, + "startupProbe": { + "type": "object", + "properties": { + "failureThreshold": { + "type": "integer" + }, + "initialDelaySeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + } + } + }, + "strategy": { + "type": [ + "object", + "string" + ] + }, + "tolerations": { + "type": [ + "null", + "array", + "string" + ] + }, + "topologySpreadConstraints": { + "type": [ + "null", + "array", + "string" + ] + }, + "webhook": { + "type": "object", + "properties": { + "annotations": { + "type": [ + "object", + "string" + ] + }, + "failurePolicy": { + "type": "string" + }, + "matchPolicy": { + "type": "string" + }, + "namespaceSelector": { + "type": "object" + }, + "objectSelector": { + "type": [ + "object", + "string" + ] + }, + "timeoutSeconds": { + "type": "integer" + } + } + }, + "webhookAnnotations": { + "type": [ + "object", + "string" + ] + } + } + }, + "server": { + "type": "object", + "properties": { + "affinity": { + "type": [ + "object", + "string" + ] + }, + "annotations": { + "type": [ + "object", + "string" + ] + }, + "auditStorage": { + "type": "object", + "properties": { + "accessMode": { + "type": "string" + }, + "annotations": { + "type": [ + "object", + "string" + ] + }, + "enabled": { + "type": [ + "boolean", + "string" + ] + }, + "labels": { + "type": [ + "object", + "string" + ] + }, + "mountPath": { + "type": "string" + }, + "size": { + "type": "string" + }, + "storageClass": { + "type": [ + "null", + "string" + ] + } + } + }, + "authDelegator": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + } + }, + "dataStorage": { + "type": "object", + "properties": { + "accessMode": { + "type": "string" + }, + "annotations": { + "type": [ + "object", + "string" + ] + }, + "enabled": { + "type": [ + "boolean", + "string" + ] + }, + "labels": { + "type": [ + "object", + "string" + ] + }, + "mountPath": { + "type": "string" + }, + "size": { + "type": "string" + }, + "storageClass": { + "type": [ + "null", + "string" + ] + } + } + }, + "dev": { + "type": "object", + "properties": { + "devRootToken": { + "type": "string" + }, + "enabled": { + "type": "boolean" + } + } + }, + "enabled": { + "type": [ + "boolean", + "string" + ] + }, + "enterpriseLicense": { + "type": "object", + "properties": { + "secretKey": { + "type": "string" + }, + "secretName": { + "type": "string" + } + } + }, + "extraArgs": { + "type": "string" + }, + "extraContainers": { + "type": [ + "null", + "array" + ] + }, + "extraEnvironmentVars": { + "type": "object" + }, + "extraInitContainers": { + "type": [ + "null", + "array" + ] + }, + "extraLabels": { + "type": "object" + }, + "extraPorts": { + "type": [ + "null", + "array" + ] + }, + "extraSecretEnvironmentVars": { + "type": "array" + }, + "extraVolumes": { + "type": "array" + }, + "ha": { + "type": "object", + "properties": { + "apiAddr": { + "type": [ + "null", + "string" + ] + }, + "clusterAddr": { + "type": [ + "null", + "string" + ] + }, + "config": { + "type": [ + "string", + "object" + ] + }, + "disruptionBudget": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "maxUnavailable": { + "type": [ + "null", + "integer" + ] + } + } + }, + "enabled": { + "type": "boolean" + }, + "raft": { + "type": "object", + "properties": { + "config": { + "type": [ + "string", + "object" + ] + }, + "enabled": { + "type": "boolean" + }, + "setNodeId": { + "type": "boolean" + } + } + }, + "replicas": { + "type": "integer" + } + } + }, + "hostAliases": { + "type": "array" + }, + "hostNetwork": { + "type": "boolean" + }, + "image": { + "type": "object", + "properties": { + "pullPolicy": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "tag": { + "type": "string" + } + } + }, + "includeConfigAnnotation": { + "type": "boolean" + }, + "ingress": { + "type": "object", + "properties": { + "activeService": { + "type": "boolean" + }, + "annotations": { + "type": [ + "object", + "string" + ] + }, + "enabled": { + "type": "boolean" + }, + "extraPaths": { + "type": "array" + }, + "hosts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "host": { + "type": "string" + }, + "paths": { + "type": "array" + } + } + } + }, + "ingressClassName": { + "type": "string" + }, + "labels": { + "type": "object" + }, + "pathType": { + "type": "string" + }, + "tls": { + "type": "array" + } + } + }, + "livenessProbe": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "execCommand": { + "type": "array" + }, + "failureThreshold": { + "type": "integer" + }, + "initialDelaySeconds": { + "type": "integer" + }, + "path": { + "type": "string" + }, + "periodSeconds": { + "type": "integer" + }, + "port": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + } + } + }, + "logFormat": { + "type": "string" + }, + "logLevel": { + "type": "string" + }, + "networkPolicy": { + "type": "object", + "properties": { + "egress": { + "type": "array" + }, + "enabled": { + "type": "boolean" + }, + "ingress": { + "type": "array" + } + } + }, + "nodeSelector": { + "type": [ + "null", + "object", + "string" + ] + }, + "persistentVolumeClaimRetentionPolicy": { + "type": "object", + "properties": { + "whenDeleted": { + "type": "string" + }, + "whenScaled": { + "type": "string" + } + } + }, + "postStart": { + "type": "array" + }, + "preStopSleepSeconds": { + "type": "integer" + }, + "priorityClassName": { + "type": "string" + }, + "readinessProbe": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "failureThreshold": { + "type": "integer" + }, + "initialDelaySeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "port": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + } + } + }, + "resources": { + "type": "object" + }, + "route": { + "type": "object", + "properties": { + "activeService": { + "type": "boolean" + }, + "annotations": { + "type": [ + "object", + "string" + ] + }, + "enabled": { + "type": "boolean" + }, + "host": { + "type": "string" + }, + "labels": { + "type": "object" + }, + "tls": { + "type": "object" + } + } + }, + "service": { + "type": "object", + "properties": { + "active": { + "type": "object", + "properties": { + "annotations": { + "type": [ + "object", + "string" + ] + }, + "enabled": { + "type": "boolean" + } + } + }, + "activeNodePort": { + "type": "integer" + }, + "annotations": { + "type": [ + "object", + "string" + ] + }, + "enabled": { + "type": "boolean" + }, + "externalTrafficPolicy": { + "type": "string" + }, + "instanceSelector": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + } + }, + "ipFamilies": { + "type": "array" + }, + "ipFamilyPolicy": { + "type": "string" + }, + "nodePort": { + "type": "integer" + }, + "port": { + "type": "integer" + }, + "publishNotReadyAddresses": { + "type": "boolean" + }, + "standby": { + "type": "object", + "properties": { + "annotations": { + "type": [ + "object", + "string" + ] + }, + "enabled": { + "type": "boolean" + } + } + }, + "standbyNodePort": { + "type": "integer" + }, + "targetPort": { + "type": "integer" + } + } + }, + "serviceAccount": { + "type": "object", + "properties": { + "annotations": { + "type": [ + "object", + "string" + ] + }, + "create": { + "type": "boolean" + }, + "createSecret": { + "type": "boolean" + }, + "extraLabels": { + "type": "object" + }, + "name": { + "type": "string" + }, + "serviceDiscovery": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + } + } + } + }, + "shareProcessNamespace": { + "type": "boolean" + }, + "standalone": { + "type": "object", + "properties": { + "config": { + "type": [ + "string", + "object" + ] + }, + "enabled": { + "type": [ + "string", + "boolean" + ] + } + } + }, + "statefulSet": { + "type": "object", + "properties": { + "annotations": { + "type": [ + "object", + "string" + ] + }, + "securityContext": { + "type": "object", + "properties": { + "container": { + "type": [ + "object", + "string" + ] + }, + "pod": { + "type": [ + "object", + "string" + ] + } + } + } + } + }, + "terminationGracePeriodSeconds": { + "type": "integer" + }, + "tolerations": { + "type": [ + "null", + "array", + "string" + ] + }, + "topologySpreadConstraints": { + "type": [ + "null", + "array", + "string" + ] + }, + "updateStrategyType": { + "type": "string" + }, + "volumeMounts": { + "type": [ + "null", + "array" + ] + }, + "volumes": { + "type": [ + "null", + "array" + ] + } + } + }, + "serverTelemetry": { + "type": "object", + "properties": { + "prometheusRules": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "rules": { + "type": "array" + }, + "selectors": { + "type": "object" + } + } + }, + "serviceMonitor": { + "type": "object", + "properties": { + "authorization": { + "type": "object" + }, + "enabled": { + "type": "boolean" + }, + "interval": { + "type": "string" + }, + "scrapeTimeout": { + "type": "string" + }, + "selectors": { + "type": "object" + }, + "tlsConfig": { + "type": "object" + } + } + } + } + }, + "ui": { + "type": "object", + "properties": { + "activeVaultPodOnly": { + "type": "boolean" + }, + "annotations": { + "type": [ + "object", + "string" + ] + }, + "enabled": { + "type": [ + "boolean", + "string" + ] + }, + "externalPort": { + "type": "integer" + }, + "externalTrafficPolicy": { + "type": "string" + }, + "publishNotReadyAddresses": { + "type": "boolean" + }, + "serviceIPFamilies": { + "type": "array" + }, + "serviceIPFamilyPolicy": { + "type": "string" + }, + "serviceNodePort": { + "type": [ + "null", + "integer" + ] + }, + "serviceType": { + "type": "string" + }, + "targetPort": { + "type": "integer" + } + } + } + } +} diff --git a/charts/partners/hashicorp/vault/0.29.0/src/values.yaml b/charts/partners/hashicorp/vault/0.29.0/src/values.yaml new file mode 100644 index 00000000000..bfac0cef410 --- /dev/null +++ b/charts/partners/hashicorp/vault/0.29.0/src/values.yaml @@ -0,0 +1,1211 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + +# Available parameters and their default values for the Vault chart. + +global: + # enabled is the master enabled switch. Setting this to true or false + # will enable or disable all the components within this chart by default. + enabled: true + # The namespace to deploy to. Defaults to the `helm` installation namespace. + namespace: "" + # Image pull secret to use for registry authentication. + # Alternatively, the value may be specified as an array of strings. + imagePullSecrets: [] + # imagePullSecrets: + # - name: image-pull-secret + + # TLS for end-to-end encrypted transport + tlsDisable: true + # External vault server address for the injector and CSI provider to use. + # Setting this will disable deployment of a vault server. + externalVaultAddr: "" + # If deploying to OpenShift + openshift: true + # Create PodSecurityPolicy for pods + psp: + enable: false + # Annotation for PodSecurityPolicy. + # This is a multi-line templated string map, and can also be set as YAML. + annotations: | + seccomp.security.alpha.kubernetes.io/allowedProfileNames: docker/default,runtime/default + apparmor.security.beta.kubernetes.io/allowedProfileNames: runtime/default + seccomp.security.alpha.kubernetes.io/defaultProfileName: runtime/default + apparmor.security.beta.kubernetes.io/defaultProfileName: runtime/default + serverTelemetry: + # Enable integration with the Prometheus Operator + # See the top level serverTelemetry section below before enabling this feature. + prometheusOperator: false +injector: + # True if you want to enable vault agent injection. + # @default: global.enabled + enabled: "-" + replicas: 1 + # Configures the port the injector should listen on + port: 8080 + # If multiple replicas are specified, by default a leader will be determined + # so that only one injector attempts to create TLS certificates. + leaderElector: + enabled: true + # If true, will enable a node exporter metrics endpoint at /metrics. + metrics: + enabled: false + # Deprecated: Please use global.externalVaultAddr instead. + externalVaultAddr: "" + # image sets the repo and tag of the vault-k8s image to use for the injector. + image: + repository: "registry.connect.redhat.com/hashicorp/vault-k8s" + tag: "1.5.0-ubi" + pullPolicy: IfNotPresent + # agentImage sets the repo and tag of the Vault image to use for the Vault Agent + # containers. This should be set to the official Vault image. Vault 1.3.1+ is + # required. + agentImage: + repository: "registry.connect.redhat.com/hashicorp/vault" + tag: "1.18.1-ubi" + # The default values for the injected Vault Agent containers. + agentDefaults: + # For more information on configuring resources, see the K8s documentation: + # https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + cpuLimit: "500m" + cpuRequest: "250m" + memLimit: "128Mi" + memRequest: "64Mi" + # ephemeralLimit: "128Mi" + # ephemeralRequest: "64Mi" + + # Default template type for secrets when no custom template is specified. + # Possible values include: "json" and "map". + template: "map" + # Default values within Agent's template_config stanza. + templateConfig: + exitOnRetryFailure: true + staticSecretRenderInterval: "" + # Used to define custom livenessProbe settings + livenessProbe: + # When a probe fails, Kubernetes will try failureThreshold times before giving up + failureThreshold: 2 + # Number of seconds after the container has started before probe initiates + initialDelaySeconds: 5 + # How often (in seconds) to perform the probe + periodSeconds: 2 + # Minimum consecutive successes for the probe to be considered successful after having failed + successThreshold: 1 + # Number of seconds after which the probe times out. + timeoutSeconds: 5 + # Used to define custom readinessProbe settings + readinessProbe: + # When a probe fails, Kubernetes will try failureThreshold times before giving up + failureThreshold: 2 + # Number of seconds after the container has started before probe initiates + initialDelaySeconds: 5 + # How often (in seconds) to perform the probe + periodSeconds: 2 + # Minimum consecutive successes for the probe to be considered successful after having failed + successThreshold: 1 + # Number of seconds after which the probe times out. + timeoutSeconds: 5 + # Used to define custom startupProbe settings + startupProbe: + # When a probe fails, Kubernetes will try failureThreshold times before giving up + failureThreshold: 12 + # Number of seconds after the container has started before probe initiates + initialDelaySeconds: 5 + # How often (in seconds) to perform the probe + periodSeconds: 5 + # Minimum consecutive successes for the probe to be considered successful after having failed + successThreshold: 1 + # Number of seconds after which the probe times out. + timeoutSeconds: 5 + # Mount Path of the Vault Kubernetes Auth Method. + authPath: "auth/kubernetes" + # Configures the log verbosity of the injector. + # Supported log levels include: trace, debug, info, warn, error + logLevel: "info" + # Configures the log format of the injector. Supported log formats: "standard", "json". + logFormat: "standard" + # Configures all Vault Agent sidecars to revoke their token when shutting down + revokeOnShutdown: false + webhook: + # Configures failurePolicy of the webhook. The "unspecified" default behaviour depends on the + # API Version of the WebHook. + # To block pod creation while the webhook is unavailable, set the policy to `Fail` below. + # See https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#failure-policy + # + failurePolicy: Ignore + # matchPolicy specifies the approach to accepting changes based on the rules of + # the MutatingWebhookConfiguration. + # See https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#matching-requests-matchpolicy + # for more details. + # + matchPolicy: Exact + # timeoutSeconds is the amount of seconds before the webhook request will be ignored + # or fails. + # If it is ignored or fails depends on the failurePolicy + # See https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#timeouts + # for more details. + # + timeoutSeconds: 30 + # namespaceSelector is the selector for restricting the webhook to only + # specific namespaces. + # See https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#matching-requests-namespaceselector + # for more details. + # Example: + # namespaceSelector: + # matchLabels: + # sidecar-injector: enabled + namespaceSelector: {} + # objectSelector is the selector for restricting the webhook to only + # specific labels. + # See https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#matching-requests-objectselector + # for more details. + # Example: + # objectSelector: + # matchLabels: + # vault-sidecar-injector: enabled + objectSelector: | + matchExpressions: + - key: app.kubernetes.io/name + operator: NotIn + values: + - {{ template "vault.name" . }}-agent-injector + # Extra annotations to attach to the webhook + annotations: {} + # Deprecated: please use 'webhook.failurePolicy' instead + # Configures failurePolicy of the webhook. The "unspecified" default behaviour depends on the + # API Version of the WebHook. + # To block pod creation while webhook is unavailable, set the policy to `Fail` below. + # See https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#failure-policy + # + failurePolicy: Ignore + # Deprecated: please use 'webhook.namespaceSelector' instead + # namespaceSelector is the selector for restricting the webhook to only + # specific namespaces. + # See https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#matching-requests-namespaceselector + # for more details. + # Example: + # namespaceSelector: + # matchLabels: + # sidecar-injector: enabled + namespaceSelector: {} + # Deprecated: please use 'webhook.objectSelector' instead + # objectSelector is the selector for restricting the webhook to only + # specific labels. + # See https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#matching-requests-objectselector + # for more details. + # Example: + # objectSelector: + # matchLabels: + # vault-sidecar-injector: enabled + objectSelector: {} + # Deprecated: please use 'webhook.annotations' instead + # Extra annotations to attach to the webhook + webhookAnnotations: {} + certs: + # secretName is the name of the secret that has the TLS certificate and + # private key to serve the injector webhook. If this is null, then the + # injector will default to its automatic management mode that will assign + # a service account to the injector to generate its own certificates. + secretName: null + # caBundle is a base64-encoded PEM-encoded certificate bundle for the CA + # that signed the TLS certificate that the webhook serves. This must be set + # if secretName is non-null unless an external service like cert-manager is + # keeping the caBundle updated. + caBundle: "" + # certName and keyName are the names of the files within the secret for + # the TLS cert and private key, respectively. These have reasonable + # defaults but can be customized if necessary. + certName: tls.crt + keyName: tls.key + # Security context for the pod template and the injector container + # The default pod securityContext is: + # runAsNonRoot: true + # runAsGroup: {{ .Values.injector.gid | default 1000 }} + # runAsUser: {{ .Values.injector.uid | default 100 }} + # fsGroup: {{ .Values.injector.gid | default 1000 }} + # and for container is + # allowPrivilegeEscalation: false + # capabilities: + # drop: + # - ALL + securityContext: + pod: {} + container: {} + resources: {} + # resources: + # requests: + # memory: 256Mi + # cpu: 250m + # limits: + # memory: 256Mi + # cpu: 250m + + # extraEnvironmentVars is a list of extra environment variables to set in the + # injector deployment. + extraEnvironmentVars: {} + # KUBERNETES_SERVICE_HOST: kubernetes.default.svc + + # Affinity Settings for injector pods + # This can either be a multi-line string or YAML matching the PodSpec's affinity field. + # Commenting out or setting as empty the affinity variable, will allow + # deployment of multiple replicas to single node services such as Minikube. + affinity: | + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchLabels: + app.kubernetes.io/name: {{ template "vault.name" . }}-agent-injector + app.kubernetes.io/instance: "{{ .Release.Name }}" + component: webhook + topologyKey: kubernetes.io/hostname + # Topology settings for injector pods + # ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/ + # This should be either a multi-line string or YAML matching the topologySpreadConstraints array + # in a PodSpec. + topologySpreadConstraints: [] + # Toleration Settings for injector pods + # This should be either a multi-line string or YAML matching the Toleration array + # in a PodSpec. + tolerations: [] + # nodeSelector labels for server pod assignment, formatted as a multi-line string or YAML map. + # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector + # Example: + # nodeSelector: + # beta.kubernetes.io/arch: amd64 + nodeSelector: {} + # Priority class for injector pods + priorityClassName: "" + # Extra annotations to attach to the injector pods + # This can either be YAML or a YAML-formatted multi-line templated string map + # of the annotations to apply to the injector pods + annotations: {} + # Extra labels to attach to the agent-injector + # This should be a YAML map of the labels to apply to the injector + extraLabels: {} + # Should the injector pods run on the host network (useful when using + # an alternate CNI in EKS) + hostNetwork: false + # Injector service specific config + service: + # Extra annotations to attach to the injector service + annotations: {} + # Injector serviceAccount specific config + serviceAccount: + # Extra annotations to attach to the injector serviceAccount + annotations: {} + # A disruption budget limits the number of pods of a replicated application + # that are down simultaneously from voluntary disruptions + podDisruptionBudget: {} + # podDisruptionBudget: + # maxUnavailable: 1 + + # strategy for updating the deployment. This can be a multi-line string or a + # YAML map. + strategy: {} + # strategy: | + # rollingUpdate: + # maxSurge: 25% + # maxUnavailable: 25% + # type: RollingUpdate +server: + # If true, or "-" with global.enabled true, Vault server will be installed. + # See vault.mode in _helpers.tpl for implementation details. + enabled: "-" + # [Enterprise Only] This value refers to a Kubernetes secret that you have + # created that contains your enterprise license. If you are not using an + # enterprise image or if you plan to introduce the license key via another + # route, then leave secretName blank ("") or set it to null. + # Requires Vault Enterprise 1.8 or later. + enterpriseLicense: + # The name of the Kubernetes secret that holds the enterprise license. The + # secret must be in the same namespace that Vault is installed into. + secretName: "" + # The key within the Kubernetes secret that holds the enterprise license. + secretKey: "license" + # Resource requests, limits, etc. for the server cluster placement. This + # should map directly to the value of the resources field for a PodSpec. + # By default no direct resource request is made. + image: + repository: "registry.connect.redhat.com/hashicorp/vault" + tag: "1.18.1-ubi" + # Overrides the default Image Pull Policy + pullPolicy: IfNotPresent + # Configure the Update Strategy Type for the StatefulSet + # See https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies + updateStrategyType: "OnDelete" + # Configure the logging verbosity for the Vault server. + # Supported log levels include: trace, debug, info, warn, error + logLevel: "" + # Configure the logging format for the Vault server. + # Supported log formats include: standard, json + logFormat: "" + resources: {} + # resources: + # requests: + # memory: 256Mi + # cpu: 250m + # limits: + # memory: 256Mi + # cpu: 250m + + # Ingress allows ingress services to be created to allow external access + # from Kubernetes to access Vault pods. + # If deployment is on OpenShift, the following block is ignored. + # In order to expose the service, use the route section below + ingress: + enabled: false + labels: {} + # traffic: external + annotations: {} + # | + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" + # or + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" + + # Optionally use ingressClassName instead of deprecated annotation. + # See: https://kubernetes.io/docs/concepts/services-networking/ingress/#deprecated-annotation + ingressClassName: "" + # As of Kubernetes 1.19, all Ingress Paths must have a pathType configured. The default value below should be sufficient in most cases. + # See: https://kubernetes.io/docs/concepts/services-networking/ingress/#path-types for other possible values. + pathType: Prefix + # When HA mode is enabled and K8s service registration is being used, + # configure the ingress to point to the Vault active service. + activeService: true + hosts: + - host: chart-example.local + paths: [] + ## Extra paths to prepend to the host configuration. This is useful when working with annotation based services. + extraPaths: [] + # - path: /* + # backend: + # service: + # name: ssl-redirect + # port: + # number: use-annotation + tls: [] + # - secretName: chart-example-tls + # hosts: + # - chart-example.local + # hostAliases is a list of aliases to be added to /etc/hosts. Specified as a YAML list. + hostAliases: [] + # - ip: 127.0.0.1 + # hostnames: + # - chart-example.local + + # OpenShift only - create a route to expose the service + # By default the created route will be of type passthrough + route: + enabled: false + # When HA mode is enabled and K8s service registration is being used, + # configure the route to point to the Vault active service. + activeService: true + labels: {} + annotations: {} + host: chart-example.local + # tls will be passed directly to the route's TLS config, which + # can be used to configure other termination methods that terminate + # TLS at the router + tls: + termination: passthrough + # authDelegator enables a cluster role binding to be attached to the service + # account. This cluster role binding can be used to setup Kubernetes auth + # method. See https://developer.hashicorp.com/vault/docs/auth/kubernetes + authDelegator: + enabled: true + # extraInitContainers is a list of init containers. Specified as a YAML list. + # This is useful if you need to run a script to provision TLS certificates or + # write out configuration files in a dynamic way. + extraInitContainers: null + # # This example installs a plugin pulled from github into the /usr/local/libexec/vault/oauthapp folder, + # # which is defined in the volumes value. + # - name: oauthapp + # image: "alpine" + # command: [sh, -c] + # args: + # - cd /tmp && + # wget https://github.com/puppetlabs/vault-plugin-secrets-oauthapp/releases/download/v1.2.0/vault-plugin-secrets-oauthapp-v1.2.0-linux-amd64.tar.xz -O oauthapp.xz && + # tar -xf oauthapp.xz && + # mv vault-plugin-secrets-oauthapp-v1.2.0-linux-amd64 /usr/local/libexec/vault/oauthapp && + # chmod +x /usr/local/libexec/vault/oauthapp + # volumeMounts: + # - name: plugins + # mountPath: /usr/local/libexec/vault + + # extraContainers is a list of sidecar containers. Specified as a YAML list. + extraContainers: null + # shareProcessNamespace enables process namespace sharing between Vault and the extraContainers + # This is useful if Vault must be signaled, e.g. to send a SIGHUP for a log rotation + shareProcessNamespace: false + # extraArgs is a string containing additional Vault server arguments. + extraArgs: "" + # extraPorts is a list of extra ports. Specified as a YAML list. + # This is useful if you need to add additional ports to the statefulset in dynamic way. + extraPorts: null + # - containerPort: 8300 + # name: http-monitoring + + # Used to define custom readinessProbe settings + readinessProbe: + enabled: true + # If you need to use a http path instead of the default exec + # path: /v1/sys/health?standbyok=true + + # Port number on which readinessProbe will be checked. + port: 8200 + # When a probe fails, Kubernetes will try failureThreshold times before giving up + failureThreshold: 2 + # Number of seconds after the container has started before probe initiates + initialDelaySeconds: 5 + # How often (in seconds) to perform the probe + periodSeconds: 5 + # Minimum consecutive successes for the probe to be considered successful after having failed + successThreshold: 1 + # Number of seconds after which the probe times out. + timeoutSeconds: 3 + path: "/v1/sys/health?uninitcode=204" + # Used to enable a livenessProbe for the pods + livenessProbe: + enabled: false + # Used to define a liveness exec command. If provided, exec is preferred to httpGet (path) as the livenessProbe handler. + execCommand: [] + # - /bin/sh + # - -c + # - /vault/userconfig/mylivenessscript/run.sh + # Path for the livenessProbe to use httpGet as the livenessProbe handler + path: "/v1/sys/health?standbyok=true" + # Port number on which livenessProbe will be checked if httpGet is used as the livenessProbe handler + port: 8200 + # When a probe fails, Kubernetes will try failureThreshold times before giving up + failureThreshold: 2 + # Number of seconds after the container has started before probe initiates + initialDelaySeconds: 60 + # How often (in seconds) to perform the probe + periodSeconds: 5 + # Minimum consecutive successes for the probe to be considered successful after having failed + successThreshold: 1 + # Number of seconds after which the probe times out. + timeoutSeconds: 3 + # Optional duration in seconds the pod needs to terminate gracefully. + # See: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/ + terminationGracePeriodSeconds: 10 + # Used to set the sleep time during the preStop step + preStopSleepSeconds: 5 + # Used to define commands to run after the pod is ready. + # This can be used to automate processes such as initialization + # or boostrapping auth methods. + postStart: [] + # - /bin/sh + # - -c + # - /vault/userconfig/myscript/run.sh + + # extraEnvironmentVars is a list of extra environment variables to set with the stateful set. These could be + # used to include variables required for auto-unseal. + extraEnvironmentVars: {} + # GOOGLE_REGION: global + # GOOGLE_PROJECT: myproject + # GOOGLE_APPLICATION_CREDENTIALS: /vault/userconfig/myproject/myproject-creds.json + + # extraSecretEnvironmentVars is a list of extra environment variables to set with the stateful set. + # These variables take value from existing Secret objects. + extraSecretEnvironmentVars: [] + # - envName: AWS_SECRET_ACCESS_KEY + # secretName: vault + # secretKey: AWS_SECRET_ACCESS_KEY + + # Deprecated: please use 'volumes' instead. + # extraVolumes is a list of extra volumes to mount. These will be exposed + # to Vault in the path `/vault/userconfig//`. The value below is + # an array of objects, examples are shown below. + extraVolumes: [] + # - type: secret (or "configMap") + # name: my-secret + # path: null # default is `/vault/userconfig` + + # volumes is a list of volumes made available to all containers. These are rendered + # via toYaml rather than pre-processed like the extraVolumes value. + # The purpose is to make it easy to share volumes between containers. + volumes: null + # - name: plugins + # emptyDir: {} + + # volumeMounts is a list of volumeMounts for the main server container. These are rendered + # via toYaml rather than pre-processed like the extraVolumes value. + # The purpose is to make it easy to share volumes between containers. + volumeMounts: null + # - mountPath: /usr/local/libexec/vault + # name: plugins + # readOnly: true + + # Affinity Settings + # Commenting out or setting as empty the affinity variable, will allow + # deployment to single node services such as Minikube + # This should be either a multi-line string or YAML matching the PodSpec's affinity field. + affinity: | + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchLabels: + app.kubernetes.io/name: {{ template "vault.name" . }} + app.kubernetes.io/instance: "{{ .Release.Name }}" + component: server + topologyKey: kubernetes.io/hostname + # Topology settings for server pods + # ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/ + # This should be either a multi-line string or YAML matching the topologySpreadConstraints array + # in a PodSpec. + topologySpreadConstraints: [] + # Toleration Settings for server pods + # This should be either a multi-line string or YAML matching the Toleration array + # in a PodSpec. + tolerations: [] + # nodeSelector labels for server pod assignment, formatted as a multi-line string or YAML map. + # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector + # Example: + # nodeSelector: + # beta.kubernetes.io/arch: amd64 + nodeSelector: {} + # Enables network policy for server pods + networkPolicy: + enabled: false + egress: [] + # egress: + # - to: + # - ipBlock: + # cidr: 10.0.0.0/24 + # ports: + # - protocol: TCP + # port: 443 + ingress: + - from: + - namespaceSelector: {} + ports: + - port: 8200 + protocol: TCP + - port: 8201 + protocol: TCP + # Priority class for server pods + priorityClassName: "" + # Extra labels to attach to the server pods + # This should be a YAML map of the labels to apply to the server pods + extraLabels: {} + # Extra annotations to attach to the server pods + # This can either be YAML or a YAML-formatted multi-line templated string map + # of the annotations to apply to the server pods + annotations: {} + # Add an annotation to the server configmap and the statefulset pods, + # vaultproject.io/config-checksum, that is a hash of the Vault configuration. + # This can be used together with an OnDelete deployment strategy to help + # identify which pods still need to be deleted during a deployment to pick up + # any configuration changes. + includeConfigAnnotation: false + # Enables a headless service to be used by the Vault Statefulset + service: + enabled: true + # Enable or disable the vault-active service, which selects Vault pods that + # have labeled themselves as the cluster leader with `vault-active: "true"`. + active: + enabled: true + # Extra annotations for the service definition. This can either be YAML or a + # YAML-formatted multi-line templated string map of the annotations to apply + # to the active service. + annotations: {} + # Enable or disable the vault-standby service, which selects Vault pods that + # have labeled themselves as a cluster follower with `vault-active: "false"`. + standby: + enabled: true + # Extra annotations for the service definition. This can either be YAML or a + # YAML-formatted multi-line templated string map of the annotations to apply + # to the standby service. + annotations: {} + # If enabled, the service selectors will include `app.kubernetes.io/instance: {{ .Release.Name }}` + # When disabled, services may select Vault pods not deployed from the chart. + # Does not affect the headless vault-internal service with `ClusterIP: None` + instanceSelector: + enabled: true + # clusterIP controls whether a Cluster IP address is attached to the + # Vault service within Kubernetes. By default, the Vault service will + # be given a Cluster IP address, set to None to disable. When disabled + # Kubernetes will create a "headless" service. Headless services can be + # used to communicate with pods directly through DNS instead of a round-robin + # load balancer. + # clusterIP: None + + # Configures the service type for the main Vault service. Can be ClusterIP + # or NodePort. + #type: ClusterIP + + # The IP family and IP families options are to set the behaviour in a dual-stack environment. + # Omitting these values will let the service fall back to whatever the CNI dictates the defaults + # should be. + # These are only supported for kubernetes versions >=1.23.0 + # + # Configures the service's supported IP family policy, can be either: + # SingleStack: Single-stack service. The control plane allocates a cluster IP for the Service, using the first configured service cluster IP range. + # PreferDualStack: Allocates IPv4 and IPv6 cluster IPs for the Service. + # RequireDualStack: Allocates Service .spec.ClusterIPs from both IPv4 and IPv6 address ranges. + ipFamilyPolicy: "" + # Sets the families that should be supported and the order in which they should be applied to ClusterIP as well. + # Can be IPv4 and/or IPv6. + ipFamilies: [] + # Do not wait for pods to be ready before including them in the services' + # targets. Does not apply to the headless service, which is used for + # cluster-internal communication. + publishNotReadyAddresses: true + # The externalTrafficPolicy can be set to either Cluster or Local + # and is only valid for LoadBalancer and NodePort service types. + # The default value is Cluster. + # ref: https://kubernetes.io/docs/concepts/services-networking/service/#external-traffic-policy + externalTrafficPolicy: Cluster + # If type is set to "NodePort", a specific nodePort value can be configured, + # will be random if left blank. + #nodePort: 30000 + + # When HA mode is enabled + # If type is set to "NodePort", a specific nodePort value can be configured, + # will be random if left blank. + #activeNodePort: 30001 + + # When HA mode is enabled + # If type is set to "NodePort", a specific nodePort value can be configured, + # will be random if left blank. + #standbyNodePort: 30002 + + # Port on which Vault server is listening + port: 8200 + # Target port to which the service should be mapped to + targetPort: 8200 + # Extra annotations for the service definition. This can either be YAML or a + # YAML-formatted multi-line templated string map of the annotations to apply + # to the service. + annotations: {} + # This configures the Vault Statefulset to create a PVC for data + # storage when using the file or raft backend storage engines. + # See https://developer.hashicorp.com/vault/docs/configuration/storage to know more + dataStorage: + enabled: true + # Size of the PVC created + size: 10Gi + # Location where the PVC will be mounted. + mountPath: "/vault/data" + # Name of the storage class to use. If null it will use the + # configured default Storage Class. + storageClass: null + # Access Mode of the storage device being used for the PVC + accessMode: ReadWriteOnce + # Annotations to apply to the PVC + annotations: {} + # Labels to apply to the PVC + labels: {} + # Persistent Volume Claim (PVC) retention policy + # ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention + # Example: + # persistentVolumeClaimRetentionPolicy: + # whenDeleted: Retain + # whenScaled: Retain + persistentVolumeClaimRetentionPolicy: {} + # This configures the Vault Statefulset to create a PVC for audit + # logs. Once Vault is deployed, initialized, and unsealed, Vault must + # be configured to use this for audit logs. This will be mounted to + # /vault/audit + # See https://developer.hashicorp.com/vault/docs/audit to know more + auditStorage: + enabled: false + # Size of the PVC created + size: 10Gi + # Location where the PVC will be mounted. + mountPath: "/vault/audit" + # Name of the storage class to use. If null it will use the + # configured default Storage Class. + storageClass: null + # Access Mode of the storage device being used for the PVC + accessMode: ReadWriteOnce + # Annotations to apply to the PVC + annotations: {} + # Labels to apply to the PVC + labels: {} + # Run Vault in "dev" mode. This requires no further setup, no state management, + # and no initialization. This is useful for experimenting with Vault without + # needing to unseal, store keys, et. al. All data is lost on restart - do not + # use dev mode for anything other than experimenting. + # See https://developer.hashicorp.com/vault/docs/concepts/dev-server to know more + dev: + enabled: false + # Set VAULT_DEV_ROOT_TOKEN_ID value + devRootToken: "root" + # Run Vault in "standalone" mode. This is the default mode that will deploy if + # no arguments are given to helm. This requires a PVC for data storage to use + # the "file" backend. This mode is not highly available and should not be scaled + # past a single replica. + standalone: + enabled: "-" + # config is a raw string of default configuration when using a Stateful + # deployment. Default is to use a PersistentVolumeClaim mounted at /vault/data + # and store data there. This is only used when using a Replica count of 1, and + # using a stateful set. Supported formats are HCL and JSON. + + # Note: Configuration files are stored in ConfigMaps so sensitive data + # such as passwords should be either mounted through extraSecretEnvironmentVars + # or through a Kube secret. For more information see: + # https://developer.hashicorp.com/vault/docs/platform/k8s/helm/run#protecting-sensitive-vault-configurations + config: |- + ui = true + + listener "tcp" { + tls_disable = 1 + address = "[::]:8200" + cluster_address = "[::]:8201" + # Enable unauthenticated metrics access (necessary for Prometheus Operator) + #telemetry { + # unauthenticated_metrics_access = "true" + #} + } + storage "file" { + path = "/vault/data" + } + + # Example configuration for using auto-unseal, using Google Cloud KMS. The + # GKMS keys must already exist, and the cluster must have a service account + # that is authorized to access GCP KMS. + #seal "gcpckms" { + # project = "vault-helm-dev" + # region = "global" + # key_ring = "vault-helm-unseal-kr" + # crypto_key = "vault-helm-unseal-key" + #} + + # Example configuration for enabling Prometheus metrics in your config. + #telemetry { + # prometheus_retention_time = "30s" + # disable_hostname = true + #} + # Run Vault in "HA" mode. There are no storage requirements unless the audit log + # persistence is required. In HA mode Vault will configure itself to use Consul + # for its storage backend. The default configuration provided will work the Consul + # Helm project by default. It is possible to manually configure Vault to use a + # different HA backend. + ha: + enabled: false + replicas: 3 + # Set the api_addr configuration for Vault HA + # See https://developer.hashicorp.com/vault/docs/configuration#api_addr + # If set to null, this will be set to the Pod IP Address + apiAddr: null + # Set the cluster_addr configuration for Vault HA + # See https://developer.hashicorp.com/vault/docs/configuration#cluster_addr + # If set to null, this will be set to https://$(HOSTNAME).{{ template "vault.fullname" . }}-internal:8201 + clusterAddr: null + # Enables Vault's integrated Raft storage. Unlike the typical HA modes where + # Vault's persistence is external (such as Consul), enabling Raft mode will create + # persistent volumes for Vault to store data according to the configuration under server.dataStorage. + # The Vault cluster will coordinate leader elections and failovers internally. + raft: + # Enables Raft integrated storage + enabled: false + # Set the Node Raft ID to the name of the pod + setNodeId: false + # Note: Configuration files are stored in ConfigMaps so sensitive data + # such as passwords should be either mounted through extraSecretEnvironmentVars + # or through a Kube secret. For more information see: + # https://developer.hashicorp.com/vault/docs/platform/k8s/helm/run#protecting-sensitive-vault-configurations + # Supported formats are HCL and JSON. + config: | + ui = true + + listener "tcp" { + tls_disable = 1 + address = "[::]:8200" + cluster_address = "[::]:8201" + # Enable unauthenticated metrics access (necessary for Prometheus Operator) + #telemetry { + # unauthenticated_metrics_access = "true" + #} + } + + storage "raft" { + path = "/vault/data" + } + + service_registration "kubernetes" {} + # config is a raw string of default configuration when using a Stateful + # deployment. Default is to use a Consul for its HA storage backend. + # Supported formats are HCL and JSON. + + # Note: Configuration files are stored in ConfigMaps so sensitive data + # such as passwords should be either mounted through extraSecretEnvironmentVars + # or through a Kube secret. For more information see: + # https://developer.hashicorp.com/vault/docs/platform/k8s/helm/run#protecting-sensitive-vault-configurations + config: | + ui = true + + listener "tcp" { + tls_disable = 1 + address = "[::]:8200" + cluster_address = "[::]:8201" + } + storage "consul" { + path = "vault" + address = "HOST_IP:8500" + } + + service_registration "kubernetes" {} + + # Example configuration for using auto-unseal, using Google Cloud KMS. The + # GKMS keys must already exist, and the cluster must have a service account + # that is authorized to access GCP KMS. + #seal "gcpckms" { + # project = "vault-helm-dev-246514" + # region = "global" + # key_ring = "vault-helm-unseal-kr" + # crypto_key = "vault-helm-unseal-key" + #} + + # Example configuration for enabling Prometheus metrics. + # If you are using Prometheus Operator you can enable a ServiceMonitor resource below. + # You may wish to enable unauthenticated metrics in the listener block above. + #telemetry { + # prometheus_retention_time = "30s" + # disable_hostname = true + #} + # A disruption budget limits the number of pods of a replicated application + # that are down simultaneously from voluntary disruptions + disruptionBudget: + enabled: true + # maxUnavailable will default to (n/2)-1 where n is the number of + # replicas. If you'd like a custom value, you can specify an override here. + maxUnavailable: null + # Definition of the serviceAccount used to run Vault. + # These options are also used when using an external Vault server to validate + # Kubernetes tokens. + serviceAccount: + # Specifies whether a service account should be created + create: true + # The name of the service account to use. + # If not set and create is true, a name is generated using the fullname template + name: "" + # Create a Secret API object to store a non-expiring token for the service account. + # Prior to v1.24.0, Kubernetes used to generate this secret for each service account by default. + # Kubernetes now recommends using short-lived tokens from the TokenRequest API or projected volumes instead if possible. + # For more details, see https://kubernetes.io/docs/concepts/configuration/secret/#service-account-token-secrets + # serviceAccount.create must be equal to 'true' in order to use this feature. + createSecret: false + # Extra annotations for the serviceAccount definition. This can either be + # YAML or a YAML-formatted multi-line templated string map of the + # annotations to apply to the serviceAccount. + annotations: {} + # Extra labels to attach to the serviceAccount + # This should be a YAML map of the labels to apply to the serviceAccount + extraLabels: {} + # Enable or disable a service account role binding with the permissions required for + # Vault's Kubernetes service_registration config option. + # See https://developer.hashicorp.com/vault/docs/configuration/service-registration/kubernetes + serviceDiscovery: + enabled: true + # Settings for the statefulSet used to run Vault. + statefulSet: + # Extra annotations for the statefulSet. This can either be YAML or a + # YAML-formatted multi-line templated string map of the annotations to apply + # to the statefulSet. + annotations: {} + # Set the pod and container security contexts. + # If not set, these will default to, and for *not* OpenShift: + # pod: + # runAsNonRoot: true + # runAsGroup: {{ .Values.server.gid | default 1000 }} + # runAsUser: {{ .Values.server.uid | default 100 }} + # fsGroup: {{ .Values.server.gid | default 1000 }} + # container: + # allowPrivilegeEscalation: false + # + # If not set, these will default to, and for OpenShift: + # pod: {} + # container: {} + securityContext: + pod: {} + container: {} + # Should the server pods run on the host network + hostNetwork: false +# Vault UI +ui: + # True if you want to create a Service entry for the Vault UI. + # + # serviceType can be used to control the type of service created. For + # example, setting this to "LoadBalancer" will create an external load + # balancer (for supported K8S installations) to access the UI. + enabled: false + publishNotReadyAddresses: true + # The service should only contain selectors for active Vault pod + activeVaultPodOnly: false + serviceType: "ClusterIP" + serviceNodePort: null + externalPort: 8200 + targetPort: 8200 + # The IP family and IP families options are to set the behaviour in a dual-stack environment. + # Omitting these values will let the service fall back to whatever the CNI dictates the defaults + # should be. + # These are only supported for kubernetes versions >=1.23.0 + # + # Configures the service's supported IP family, can be either: + # SingleStack: Single-stack service. The control plane allocates a cluster IP for the Service, using the first configured service cluster IP range. + # PreferDualStack: Allocates IPv4 and IPv6 cluster IPs for the Service. + # RequireDualStack: Allocates Service .spec.ClusterIPs from both IPv4 and IPv6 address ranges. + serviceIPFamilyPolicy: "" + # Sets the families that should be supported and the order in which they should be applied to ClusterIP as well + # Can be IPv4 and/or IPv6. + serviceIPFamilies: [] + # The externalTrafficPolicy can be set to either Cluster or Local + # and is only valid for LoadBalancer and NodePort service types. + # The default value is Cluster. + # ref: https://kubernetes.io/docs/concepts/services-networking/service/#external-traffic-policy + externalTrafficPolicy: Cluster + #loadBalancerSourceRanges: + # - 10.0.0.0/16 + # - 1.78.23.3/32 + + # loadBalancerIP: + + # Extra annotations to attach to the ui service + # This can either be YAML or a YAML-formatted multi-line templated string map + # of the annotations to apply to the ui service + annotations: {} +# secrets-store-csi-driver-provider-vault +csi: + # True if you want to install a secrets-store-csi-driver-provider-vault daemonset. + # + # Requires installing the secrets-store-csi-driver separately, see: + # https://github.com/kubernetes-sigs/secrets-store-csi-driver#install-the-secrets-store-csi-driver + # + # With the driver and provider installed, you can mount Vault secrets into volumes + # similar to the Vault Agent injector, and you can also sync those secrets into + # Kubernetes secrets. + enabled: false + image: + repository: "hashicorp/vault-csi-provider" + tag: "1.5.0" + pullPolicy: IfNotPresent + # volumes is a list of volumes made available to all containers. These are rendered + # via toYaml rather than pre-processed like the extraVolumes value. + # The purpose is to make it easy to share volumes between containers. + volumes: null + # - name: tls + # secret: + # secretName: vault-tls + + # volumeMounts is a list of volumeMounts for the main server container. These are rendered + # via toYaml rather than pre-processed like the extraVolumes value. + # The purpose is to make it easy to share volumes between containers. + volumeMounts: null + # - name: tls + # mountPath: "/vault/tls" + # readOnly: true + + resources: {} + # resources: + # requests: + # cpu: 50m + # memory: 128Mi + # limits: + # cpu: 50m + # memory: 128Mi + + # Override the default secret name for the CSI Provider's HMAC key used for + # generating secret versions. + hmacSecretName: "" + # Allow modification of the hostNetwork parameter to avoid the need of a + # dedicated pod ip + hostNetwork: false + # Settings for the daemonSet used to run the provider. + daemonSet: + updateStrategy: + type: RollingUpdate + maxUnavailable: "" + # Extra annotations for the daemonSet. This can either be YAML or a + # YAML-formatted multi-line templated string map of the annotations to apply + # to the daemonSet. + annotations: {} + # Provider host path (must match the CSI provider's path) + providersDir: "/etc/kubernetes/secrets-store-csi-providers" + # Kubelet host path + kubeletRootDir: "/var/lib/kubelet" + # Extra labels to attach to the vault-csi-provider daemonSet + # This should be a YAML map of the labels to apply to the csi provider daemonSet + extraLabels: {} + # security context for the pod template and container in the csi provider daemonSet + securityContext: + pod: {} + container: {} + pod: + # Extra annotations for the provider pods. This can either be YAML or a + # YAML-formatted multi-line templated string map of the annotations to apply + # to the pod. + annotations: {} + # Toleration Settings for provider pods + # This should be either a multi-line string or YAML matching the Toleration array + # in a PodSpec. + tolerations: [] + # nodeSelector labels for csi pod assignment, formatted as a multi-line string or YAML map. + # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector + # Example: + # nodeSelector: + # beta.kubernetes.io/arch: amd64 + nodeSelector: {} + # Affinity Settings + # This should be either a multi-line string or YAML matching the PodSpec's affinity field. + affinity: {} + # Extra labels to attach to the vault-csi-provider pod + # This should be a YAML map of the labels to apply to the csi provider pod + extraLabels: {} + agent: + enabled: true + extraArgs: [] + image: + repository: "hashicorp/vault" + tag: "1.18.1" + pullPolicy: IfNotPresent + logFormat: standard + logLevel: info + resources: {} + # resources: + # requests: + # memory: 256Mi + # cpu: 250m + # limits: + # memory: 256Mi + # cpu: 250m + # Priority class for csi pods + priorityClassName: "" + serviceAccount: + # Extra annotations for the serviceAccount definition. This can either be + # YAML or a YAML-formatted multi-line templated string map of the + # annotations to apply to the serviceAccount. + annotations: {} + # Extra labels to attach to the vault-csi-provider serviceAccount + # This should be a YAML map of the labels to apply to the csi provider serviceAccount + extraLabels: {} + # Used to configure readinessProbe for the pods. + readinessProbe: + # When a probe fails, Kubernetes will try failureThreshold times before giving up + failureThreshold: 2 + # Number of seconds after the container has started before probe initiates + initialDelaySeconds: 5 + # How often (in seconds) to perform the probe + periodSeconds: 5 + # Minimum consecutive successes for the probe to be considered successful after having failed + successThreshold: 1 + # Number of seconds after which the probe times out. + timeoutSeconds: 3 + # Used to configure livenessProbe for the pods. + livenessProbe: + # When a probe fails, Kubernetes will try failureThreshold times before giving up + failureThreshold: 2 + # Number of seconds after the container has started before probe initiates + initialDelaySeconds: 5 + # How often (in seconds) to perform the probe + periodSeconds: 5 + # Minimum consecutive successes for the probe to be considered successful after having failed + successThreshold: 1 + # Number of seconds after which the probe times out. + timeoutSeconds: 3 + # Configures the log level for the Vault CSI provider. + # Supported log levels include: trace, debug, info, warn, error, and off + logLevel: "info" + # Deprecated, set logLevel to debug instead. + # If set to true, the logLevel will be set to debug. + debug: false + # Pass arbitrary additional arguments to vault-csi-provider. + # See https://developer.hashicorp.com/vault/docs/platform/k8s/csi/configurations#command-line-arguments + # for the available command line flags. + extraArgs: [] +# Vault is able to collect and publish various runtime metrics. +# Enabling this feature requires setting adding `telemetry{}` stanza to +# the Vault configuration. There are a few examples included in the `config` sections above. +# +# For more information see: +# https://developer.hashicorp.com/vault/docs/configuration/telemetry +# https://developer.hashicorp.com/vault/docs/internals/telemetry +serverTelemetry: + # Enable support for the Prometheus Operator. If authorization is not set for authenticating + # to Vault's metrics endpoint, the following Vault server `telemetry{}` config must be included + # in the `listener "tcp"{}` stanza + # telemetry { + # unauthenticated_metrics_access = "true" + # } + # + # See the `standalone.config` for a more complete example of this. + # + # In addition, a top level `telemetry{}` stanza must also be included in the Vault configuration: + # + # example: + # telemetry { + # prometheus_retention_time = "30s" + # disable_hostname = true + # } + # + # Configuration for monitoring the Vault server. + serviceMonitor: + # The Prometheus operator *must* be installed before enabling this feature, + # if not the chart will fail to install due to missing CustomResourceDefinitions + # provided by the operator. + # + # Instructions on how to install the Helm chart can be found here: + # https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack + # More information can be found here: + # https://github.com/prometheus-operator/prometheus-operator + # https://github.com/prometheus-operator/kube-prometheus + + # Enable deployment of the Vault Server ServiceMonitor CustomResource. + enabled: false + # Selector labels to add to the ServiceMonitor. + # When empty, defaults to: + # release: prometheus + selectors: {} + # Interval at which Prometheus scrapes metrics + interval: 30s + # Timeout for Prometheus scrapes + scrapeTimeout: 10s + # tlsConfig used for scraping the Vault metrics API. + # See API reference: https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.TLSConfig + # example: + # tlsConfig: + # ca: + # secret: + # name: vault-metrics-client + # key: ca.crt + tlsConfig: {} + # authorization used for scraping the Vault metrics API. + # See API reference: https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.SafeAuthorization + # example: + # authorization: + # credentials: + # name: vault-metrics-client + # key: token + authorization: {} + prometheusRules: + # The Prometheus operator *must* be installed before enabling this feature, + # if not the chart will fail to install due to missing CustomResourceDefinitions + # provided by the operator. + + # Deploy the PrometheusRule custom resource for AlertManager based alerts. + # Requires that AlertManager is properly deployed. + enabled: false + # Selector labels to add to the PrometheusRules. + # When empty, defaults to: + # release: prometheus + selectors: {} + # Some example rules. + rules: [] + # - alert: vault-HighResponseTime + # annotations: + # message: The response time of Vault is over 500ms on average over the last 5 minutes. + # expr: vault_core_handle_request{quantile="0.5", namespace="mynamespace"} > 500 + # for: 5m + # labels: + # severity: warning + # - alert: vault-HighResponseTime + # annotations: + # message: The response time of Vault is over 1s on average over the last 5 minutes. + # expr: vault_core_handle_request{quantile="0.5", namespace="mynamespace"} > 1000 + # for: 5m + # labels: + # severity: critical diff --git a/charts/partners/hashicorp/vault/OWNERS b/charts/partners/hashicorp/vault/OWNERS index c96f6c1b83f..bb9f739677e 100644 --- a/charts/partners/hashicorp/vault/OWNERS +++ b/charts/partners/hashicorp/vault/OWNERS @@ -6,11 +6,7 @@ providerDelivery: false publicPgpKey: unknown users: - githubUsername: tvoran -- githubUsername: jasonodonnell -- githubUsername: tomhjp - githubUsername: calvn -- githubUsername: swenson -- githubUsername: kschoche vendor: label: hashicorp name: HashiCorp diff --git a/charts/partners/jinhli-test/trilio-chart-1/OWNERS b/charts/partners/jinhli-test/trilio-chart-1/OWNERS new file mode 100644 index 00000000000..1109a8b738b --- /dev/null +++ b/charts/partners/jinhli-test/trilio-chart-1/OWNERS @@ -0,0 +1,9 @@ +chart: + name: trilio-chart-1 + shortDescription: unknown +providerDelivery: false +publicPgpKey: unknown +users: [] +vendor: + label: jinhli-test + name: RED HAT, INC. diff --git a/charts/partners/jnunez/testingchart/OWNERS b/charts/partners/jnunez/testingchart/OWNERS new file mode 100644 index 00000000000..9c081bfecdf --- /dev/null +++ b/charts/partners/jnunez/testingchart/OWNERS @@ -0,0 +1,9 @@ +chart: + name: testingchart + shortDescription: unknown +providerDelivery: true +publicPgpKey: unknown +users: [] +vendor: + label: jnunez + name: Red Hat diff --git a/charts/partners/nonamesec/noname-security-sensor-ubi/1.0.0-test/report.yaml b/charts/partners/nonamesec/noname-security-sensor-ubi/1.0.0-test/report.yaml new file mode 100644 index 00000000000..e4852dd6bca --- /dev/null +++ b/charts/partners/nonamesec/noname-security-sensor-ubi/1.0.0-test/report.yaml @@ -0,0 +1,94 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.13.7 + profile: + VendorType: partner + version: v1.3 + reportDigest: uint64:10820664939940903530 + chart-uri: N/A + digests: + chart: sha256:36c86dd0b54689af9175569a35ad4b6b7fc62a2f8fc482d8f84e2568a890876a + package: 7fe24aa67ae3d98882be9707dc2b4566a355f53b35d58f75c930bec88823e2d0 + lastCertifiedTimestamp: "2024-08-20T15:16:13.817587+00:00" + testedOpenShiftVersion: "4.8" + supportedOpenShiftVersions: '>=4.1' + webCatalogOnly: true + chart: + name: noname-security-sensor-ubi + home: "" + sources: [] + version: 1.0.0-test + description: A Helm chart for Kubernetes + keywords: [] + maintainers: [] + icon: "" + apiversion: v2 + condition: "" + tags: "" + appversion: 1.0.0-test + deprecated: false + annotations: + charts.openshift.io/name: noname-security-sensor + kubeversion: '>=1.0.0-0' + dependencies: [] + type: application + chart-overrides: "" +results: + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: 'Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/noname-sensor:IC-49041-sensor-create-rhel-9-base-image-rhel' + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.0/has-notes + type: Optional + outcome: FAIL + reason: Chart does not contain NOTES.txt + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist diff --git a/charts/partners/nonamesec/noname-security-sensor-ubi/3.3.21-rhel/report.yaml b/charts/partners/nonamesec/noname-security-sensor-ubi/3.3.21-rhel/report.yaml new file mode 100644 index 00000000000..37fc407f1f4 --- /dev/null +++ b/charts/partners/nonamesec/noname-security-sensor-ubi/3.3.21-rhel/report.yaml @@ -0,0 +1,94 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.13.7 + profile: + VendorType: partner + version: v1.3 + reportDigest: uint64:7206005413629028267 + chart-uri: N/A + digests: + chart: sha256:f9d158c7f206816b1edaf6d3b1d6d43227a2ff0839a899d0d3d421e2b1ed26a7 + package: d27ab1622c39fdb73088fec99f4cbed0bd3ddc8988787d7c0544a489eca868cb + lastCertifiedTimestamp: "2024-09-04T14:10:13.616409+00:00" + testedOpenShiftVersion: "4.8" + supportedOpenShiftVersions: '>=4.1' + webCatalogOnly: true + chart: + name: noname-security-sensor-ubi + home: "" + sources: [] + version: 3.3.21-rhel + description: A Helm chart for Kubernetes + keywords: [] + maintainers: [] + icon: "" + apiversion: v2 + condition: "" + tags: "" + appversion: 3.3.21-rhel + deprecated: false + annotations: + charts.openshift.io/name: noname-security-sensor + kubeversion: '>=1.0.0-0' + dependencies: [] + type: application + chart-overrides: "" +results: + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.0/has-notes + type: Optional + outcome: FAIL + reason: Chart does not contain NOTES.txt + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: 'Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/noname-sensor:3.3.21-rhel' + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist diff --git a/charts/partners/nonamesec/noname-security-sensor-ubi/3.3.21-test2/report.yaml b/charts/partners/nonamesec/noname-security-sensor-ubi/3.3.21-test2/report.yaml new file mode 100644 index 00000000000..c99b0778b88 --- /dev/null +++ b/charts/partners/nonamesec/noname-security-sensor-ubi/3.3.21-test2/report.yaml @@ -0,0 +1,94 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.13.7 + profile: + VendorType: partner + version: v1.3 + reportDigest: uint64:7640098258300694072 + chart-uri: N/A + digests: + chart: sha256:29b49d79024b59c0afd0c499c27eba2f60858ddd0cf3cdd6f79a5c396399477c + package: 707ee8204af9cbae4f5cdb96bcc4c8551dc9302fc63e2424edbb9511cab9d94a + lastCertifiedTimestamp: "2024-09-04T11:56:16.268115+00:00" + testedOpenShiftVersion: "4.8" + supportedOpenShiftVersions: '>=4.1' + webCatalogOnly: true + chart: + name: noname-security-sensor-ubi + home: "" + sources: [] + version: 3.3.21-test2 + description: A Helm chart for Kubernetes + keywords: [] + maintainers: [] + icon: "" + apiversion: v2 + condition: "" + tags: "" + appversion: 3.3.21-test2 + deprecated: false + annotations: + charts.openshift.io/name: noname-security-sensor + kubeversion: '>=1.0.0-0' + dependencies: [] + type: application + chart-overrides: "" +results: + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/has-notes + type: Optional + outcome: FAIL + reason: Chart does not contain NOTES.txt + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: 'Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/noname-sensor:3.3.21-rhel' + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist diff --git a/charts/partners/nonamesec/noname-security-sensor-ubi/3.3.23-rhel/report.yaml b/charts/partners/nonamesec/noname-security-sensor-ubi/3.3.23-rhel/report.yaml new file mode 100644 index 00000000000..894ee02de81 --- /dev/null +++ b/charts/partners/nonamesec/noname-security-sensor-ubi/3.3.23-rhel/report.yaml @@ -0,0 +1,94 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.13.7 + profile: + VendorType: partner + version: v1.3 + reportDigest: uint64:18235991925301444630 + chart-uri: N/A + digests: + chart: sha256:417ec47fddeba76b6d03da8d656c1dd93852c058d1db8051e5136b7321e57438 + package: 21f2e1360463d8682c9352d2bffd1e74c7b9d80aff18170e1a41bf281a969f5b + lastCertifiedTimestamp: "2024-09-15T12:40:10.205552+00:00" + testedOpenShiftVersion: "4.8" + supportedOpenShiftVersions: '>=4.1' + webCatalogOnly: true + chart: + name: noname-security-sensor-ubi + home: "" + sources: [] + version: 3.3.23-rhel + description: A Helm chart for Kubernetes + keywords: [] + maintainers: [] + icon: "" + apiversion: v2 + condition: "" + tags: "" + appversion: 3.3.23-rhel + deprecated: false + annotations: + charts.openshift.io/name: noname-security-sensor + kubeversion: '>=1.0.0-0' + dependencies: [] + type: application + chart-overrides: "" +results: + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.0/has-notes + type: Optional + outcome: FAIL + reason: Chart does not contain NOTES.txt + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: 'Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/noname-sensor:3.3.23-rhel' + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist diff --git a/charts/partners/nonamesec/noname-security-sensor-ubi/3.3.24-rhel/report.yaml b/charts/partners/nonamesec/noname-security-sensor-ubi/3.3.24-rhel/report.yaml new file mode 100644 index 00000000000..d139ab6ae0e --- /dev/null +++ b/charts/partners/nonamesec/noname-security-sensor-ubi/3.3.24-rhel/report.yaml @@ -0,0 +1,94 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.13.7 + profile: + VendorType: partner + version: v1.3 + reportDigest: uint64:2724305851082987763 + chart-uri: N/A + digests: + chart: sha256:f5fb3854328b268d66db8482ba8d01be63943d57b4495684561baa09bfd9ba95 + package: a34d88928058923685b41de29f76229bcee5fd377d95411282781d9ee19302e4 + lastCertifiedTimestamp: "2024-09-25T13:42:28.074514+00:00" + testedOpenShiftVersion: "4.8" + supportedOpenShiftVersions: '>=4.1' + webCatalogOnly: true + chart: + name: noname-security-sensor-ubi + home: "" + sources: [] + version: 3.3.24-rhel + description: A Helm chart for Kubernetes + keywords: [] + maintainers: [] + icon: "" + apiversion: v2 + condition: "" + tags: "" + appversion: 3.3.24-rhel + deprecated: false + annotations: + charts.openshift.io/name: noname-security-sensor + kubeversion: '>=1.0.0-0' + dependencies: [] + type: application + chart-overrides: "" +results: + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: 'Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/noname-sensor:3.3.24-rhel' + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.0/has-notes + type: Optional + outcome: FAIL + reason: Chart does not contain NOTES.txt + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 diff --git a/charts/partners/nonamesec/noname-security-sensor-ubi/3.3.26-rhel/report.yaml b/charts/partners/nonamesec/noname-security-sensor-ubi/3.3.26-rhel/report.yaml new file mode 100644 index 00000000000..faf5c9264ae --- /dev/null +++ b/charts/partners/nonamesec/noname-security-sensor-ubi/3.3.26-rhel/report.yaml @@ -0,0 +1,94 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.13.8 + profile: + VendorType: partner + version: v1.3 + reportDigest: uint64:2358147920394685429 + chart-uri: N/A + digests: + chart: sha256:a1665119bd42642d5fa3698bece4793f60403556451e6e9b5a912ab38f2ac562 + package: bfe2ac9c761a7ccd231883cac7c730683e1b1da0e489a2a8727e8fb45653c988 + lastCertifiedTimestamp: "2024-10-13T13:15:29.940066+00:00" + testedOpenShiftVersion: "4.8" + supportedOpenShiftVersions: '>=4.1' + webCatalogOnly: true + chart: + name: noname-security-sensor-ubi + home: "" + sources: [] + version: 3.3.26-rhel + description: A Helm chart for Kubernetes + keywords: [] + maintainers: [] + icon: "" + apiversion: v2 + condition: "" + tags: "" + appversion: 3.3.26-rhel + deprecated: false + annotations: + charts.openshift.io/name: noname-security-sensor + kubeversion: '>=1.0.0-0' + dependencies: [] + type: application + chart-overrides: "" +results: + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: 'Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/noname-sensor:3.3.26-rhel' + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/has-notes + type: Optional + outcome: FAIL + reason: Chart does not contain NOTES.txt + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 diff --git a/charts/partners/nonamesec/noname-security-sensor-ubi/OWNERS b/charts/partners/nonamesec/noname-security-sensor-ubi/OWNERS new file mode 100644 index 00000000000..e89accc8052 --- /dev/null +++ b/charts/partners/nonamesec/noname-security-sensor-ubi/OWNERS @@ -0,0 +1,13 @@ +chart: + name: noname-security-sensor-ubi + shortDescription: unknown +providerDelivery: true +publicPgpKey: unknown +users: +- githubUsername: devopsnns +- githubUsername: itzhak-alayev-nonamesec +- githubUsername: ramikrel2 +- githubUsername: chiffenish +vendor: + label: nonamesec + name: Noname Security diff --git a/charts/partners/nonamesec/nonamesec-ubi/3.37.0/report.yaml b/charts/partners/nonamesec/nonamesec-ubi/3.37.0/report.yaml new file mode 100644 index 00000000000..34851dbaaaf --- /dev/null +++ b/charts/partners/nonamesec/nonamesec-ubi/3.37.0/report.yaml @@ -0,0 +1,159 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.13.7 + profile: + VendorType: partner + version: v1.3 + reportDigest: uint64:7226189255025414682 + chart-uri: N/A + digests: + chart: sha256:d940abbf84f7f93c23f3367c42a3d8221db1ca0794d5aedc7fc2e350420e2c0f + package: 4a6498364c8bc05ca02138f909831174c20a5a216ce3df3d65257f088a6b7cc4 + lastCertifiedTimestamp: "2024-09-18T11:37:35.876877+00:00" + testedOpenShiftVersion: "4.8" + supportedOpenShiftVersions: '>=4.1' + webCatalogOnly: true + chart: + name: nonamesec-ubi + home: "" + sources: [] + version: 3.37.0 + description: Noname Helm on k8s + keywords: [] + maintainers: [] + icon: "" + apiversion: v2 + condition: "" + tags: "" + appversion: 3.37.0 + deprecated: false + annotations: + charts.openshift.io/name: Remote Engine + kubeversion: '>=1.0.0-0' + dependencies: + - name: noname + version: 0.1.0 + repository: file://charts/noname + condition: global.noname.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: engine + version: 0.1.0 + repository: file://charts/engine + condition: global.engine.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: active + version: 0.1.0 + repository: file://charts/active + condition: global.active.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: platform + version: 0.1.0 + repository: file://charts/platform + condition: global.platform.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: router + version: 0.1.0 + repository: file://charts/router + condition: global.router.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: noagentapi + version: 0.1.0 + repository: file://charts/noagentapi + condition: noagentapi.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: rabbitmq + version: 12.5.6 + repository: file://charts/rabbitmq + condition: global.noname.enabled,global.rabbitmq.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + type: "" + chart-overrides: "" +results: + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: |- + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/integrations-adapter:v3.37.0-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/rhel8/postgresql-15:1-66.1716485364 + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/engine:v3.37.0-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/cloud-metadata:v3.37.0-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/router:v3.37.0-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nginx:v3.37.0-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nats-jetstream:2.10.11-custom-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nogate:v3.37.0-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/platform:v3.37.0-ubi + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/has-notes + type: Optional + outcome: PASS + reason: Chart does contain NOTES.txt + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs diff --git a/charts/partners/nonamesec/nonamesec-ubi/3.37.1/report.yaml b/charts/partners/nonamesec/nonamesec-ubi/3.37.1/report.yaml new file mode 100644 index 00000000000..f5738d2d2d5 --- /dev/null +++ b/charts/partners/nonamesec/nonamesec-ubi/3.37.1/report.yaml @@ -0,0 +1,159 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.13.7 + profile: + VendorType: partner + version: v1.3 + reportDigest: uint64:12276253343828559537 + chart-uri: N/A + digests: + chart: sha256:a6841b236d2d877f9b9548fcf4ac93997c2520ca32265ad5a6a9caea05c65697 + package: beb71a4a06317befe981be4457dd53932bfb7a2b85199014e87a192c686eb483 + lastCertifiedTimestamp: "2024-09-23T14:38:01.694236+00:00" + testedOpenShiftVersion: "4.8" + supportedOpenShiftVersions: '>=4.1' + webCatalogOnly: true + chart: + name: nonamesec-ubi + home: "" + sources: [] + version: 3.37.1 + description: Noname Helm on k8s + keywords: [] + maintainers: [] + icon: "" + apiversion: v2 + condition: "" + tags: "" + appversion: 3.37.1 + deprecated: false + annotations: + charts.openshift.io/name: Remote Engine + kubeversion: '>=1.0.0-0' + dependencies: + - name: noname + version: 0.1.0 + repository: file://charts/noname + condition: global.noname.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: engine + version: 0.1.0 + repository: file://charts/engine + condition: global.engine.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: active + version: 0.1.0 + repository: file://charts/active + condition: global.active.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: platform + version: 0.1.0 + repository: file://charts/platform + condition: global.platform.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: router + version: 0.1.0 + repository: file://charts/router + condition: global.router.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: noagentapi + version: 0.1.0 + repository: file://charts/noagentapi + condition: noagentapi.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: rabbitmq + version: 12.5.6 + repository: file://charts/rabbitmq + condition: global.noname.enabled,global.rabbitmq.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + type: "" + chart-overrides: "" +results: + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: |- + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/cloud-metadata:v3.37.1-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nogate:v3.37.1-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/platform:v3.37.1-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/router:v3.37.1-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/engine:v3.37.1-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/rhel8/postgresql-15:1-66.1716485364 + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nginx:v3.37.1-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nats-jetstream:2.10.11-custom-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/integrations-adapter:v3.37.1-ubi + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.0/has-notes + type: Optional + outcome: PASS + reason: Chart does contain NOTES.txt + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 diff --git a/charts/partners/nonamesec/nonamesec-ubi/3.37.2/report.yaml b/charts/partners/nonamesec/nonamesec-ubi/3.37.2/report.yaml new file mode 100644 index 00000000000..3d30c8d4e8e --- /dev/null +++ b/charts/partners/nonamesec/nonamesec-ubi/3.37.2/report.yaml @@ -0,0 +1,159 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.13.7 + profile: + VendorType: partner + version: v1.3 + reportDigest: uint64:15874070623586303871 + chart-uri: N/A + digests: + chart: sha256:90ee9a20c1338261e72d9f9f7cfe1fcc26c3b31f9d2963f69f5b0ae446bf4d3b + package: cb9b1f3ddb238ab113775a1d0aa5570717ef19e21c611c8e44895d0094143a97 + lastCertifiedTimestamp: "2024-09-25T16:47:49.369991+00:00" + testedOpenShiftVersion: "4.8" + supportedOpenShiftVersions: '>=4.1' + webCatalogOnly: true + chart: + name: nonamesec-ubi + home: "" + sources: [] + version: 3.37.2 + description: Noname Helm on k8s + keywords: [] + maintainers: [] + icon: "" + apiversion: v2 + condition: "" + tags: "" + appversion: 3.37.2 + deprecated: false + annotations: + charts.openshift.io/name: Remote Engine + kubeversion: '>=1.0.0-0' + dependencies: + - name: noname + version: 0.1.0 + repository: file://charts/noname + condition: global.noname.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: engine + version: 0.1.0 + repository: file://charts/engine + condition: global.engine.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: active + version: 0.1.0 + repository: file://charts/active + condition: global.active.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: platform + version: 0.1.0 + repository: file://charts/platform + condition: global.platform.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: router + version: 0.1.0 + repository: file://charts/router + condition: global.router.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: noagentapi + version: 0.1.0 + repository: file://charts/noagentapi + condition: noagentapi.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: rabbitmq + version: 12.5.6 + repository: file://charts/rabbitmq + condition: global.noname.enabled,global.rabbitmq.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + type: "" + chart-overrides: "" +results: + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: |- + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nogate:v3.37.2-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/platform:v3.37.2-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/rhel8/postgresql-15:1-66.1716485364 + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nginx:v3.37.2-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/engine:v3.37.2-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/cloud-metadata:v3.37.2-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/integrations-adapter:v3.37.2-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/router:v3.37.2-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nats-jetstream:2.10.11-custom-ubi + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.0/has-notes + type: Optional + outcome: PASS + reason: Chart does contain NOTES.txt + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' diff --git a/charts/partners/nonamesec/nonamesec-ubi/3.37.3/report.yaml b/charts/partners/nonamesec/nonamesec-ubi/3.37.3/report.yaml new file mode 100644 index 00000000000..2007adf4f02 --- /dev/null +++ b/charts/partners/nonamesec/nonamesec-ubi/3.37.3/report.yaml @@ -0,0 +1,159 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.13.8 + profile: + VendorType: partner + version: v1.3 + reportDigest: uint64:7639424003659153891 + chart-uri: N/A + digests: + chart: sha256:ef39fa15ada0050001c2f3f3949670b3c4afa3eb4bae4721a962eca7a98e5236 + package: 2c32bcd14e349c5470056dba7b69c8a566f3874e31c4f156fd62fccf07609327 + lastCertifiedTimestamp: "2024-10-06T15:07:34.50399+00:00" + testedOpenShiftVersion: "4.8" + supportedOpenShiftVersions: '>=4.1' + webCatalogOnly: true + chart: + name: nonamesec-ubi + home: "" + sources: [] + version: 3.37.3 + description: Noname Helm on k8s + keywords: [] + maintainers: [] + icon: "" + apiversion: v2 + condition: "" + tags: "" + appversion: 3.37.3 + deprecated: false + annotations: + charts.openshift.io/name: Remote Engine + kubeversion: '>=1.0.0-0' + dependencies: + - name: noname + version: 0.1.0 + repository: file://charts/noname + condition: global.noname.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: engine + version: 0.1.0 + repository: file://charts/engine + condition: global.engine.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: active + version: 0.1.0 + repository: file://charts/active + condition: global.active.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: platform + version: 0.1.0 + repository: file://charts/platform + condition: global.platform.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: router + version: 0.1.0 + repository: file://charts/router + condition: global.router.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: noagentapi + version: 0.1.0 + repository: file://charts/noagentapi + condition: noagentapi.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: rabbitmq + version: 12.5.6 + repository: file://charts/rabbitmq + condition: global.noname.enabled,global.rabbitmq.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + type: "" + chart-overrides: "" +results: + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: |- + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/platform:v3.37.3-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/cloud-metadata:v3.37.3-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/integrations-adapter:v3.37.3-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nogate:v3.37.3-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nginx:v3.37.3-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nats-jetstream:2.10.11-custom-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/engine:v3.37.3-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/rhel8/postgresql-15:1-66.1716485364 + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/router:v3.37.3-ubi + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.0/has-notes + type: Optional + outcome: PASS + reason: Chart does contain NOTES.txt + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' diff --git a/charts/partners/nonamesec/nonamesec-ubi/3.37.4/report.yaml b/charts/partners/nonamesec/nonamesec-ubi/3.37.4/report.yaml new file mode 100644 index 00000000000..d07e9f86352 --- /dev/null +++ b/charts/partners/nonamesec/nonamesec-ubi/3.37.4/report.yaml @@ -0,0 +1,159 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.13.8 + profile: + VendorType: partner + version: v1.3 + reportDigest: uint64:8803623293083892158 + chart-uri: N/A + digests: + chart: sha256:a56488f272a61ecb4d16e33299e49e8d6cc2e6de72034f853eceba3c783ffc0e + package: 4e48436d1914043f190f27ce1c6c729b7b1e264e3e1330f3556f57568a72d913 + lastCertifiedTimestamp: "2024-10-10T12:13:12.467702+00:00" + testedOpenShiftVersion: "4.8" + supportedOpenShiftVersions: '>=4.1' + webCatalogOnly: true + chart: + name: nonamesec-ubi + home: "" + sources: [] + version: 3.37.4 + description: Noname Helm on k8s + keywords: [] + maintainers: [] + icon: "" + apiversion: v2 + condition: "" + tags: "" + appversion: 3.37.4 + deprecated: false + annotations: + charts.openshift.io/name: Remote Engine + kubeversion: '>=1.0.0-0' + dependencies: + - name: noname + version: 0.1.0 + repository: file://charts/noname + condition: global.noname.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: engine + version: 0.1.0 + repository: file://charts/engine + condition: global.engine.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: active + version: 0.1.0 + repository: file://charts/active + condition: global.active.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: platform + version: 0.1.0 + repository: file://charts/platform + condition: global.platform.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: router + version: 0.1.0 + repository: file://charts/router + condition: global.router.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: noagentapi + version: 0.1.0 + repository: file://charts/noagentapi + condition: noagentapi.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: rabbitmq + version: 12.5.6 + repository: file://charts/rabbitmq + condition: global.noname.enabled,global.rabbitmq.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + type: "" + chart-overrides: "" +results: + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: |- + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/cloud-metadata:v3.37.4-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/integrations-adapter:v3.37.4-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nogate:v3.37.4-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/rhel8/postgresql-15:1-66.1716485364 + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/router:v3.37.4-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nginx:v3.37.4-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nats-jetstream:2.10.11-custom-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/engine:v3.37.4-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/platform:v3.37.4-ubi + - check: v1.0/has-notes + type: Optional + outcome: PASS + reason: Chart does contain NOTES.txt + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present diff --git a/charts/partners/nonamesec/nonamesec-ubi/3.38.0/report.yaml b/charts/partners/nonamesec/nonamesec-ubi/3.38.0/report.yaml new file mode 100644 index 00000000000..bf9de73ce71 --- /dev/null +++ b/charts/partners/nonamesec/nonamesec-ubi/3.38.0/report.yaml @@ -0,0 +1,159 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.13.8 + profile: + VendorType: partner + version: v1.3 + reportDigest: uint64:7596825924370328070 + chart-uri: N/A + digests: + chart: sha256:1b988f42a8f7d9d96e6da520a07196722a9b76b204b00f72598f844076e7b47f + package: 8fc2c372327eec9c8d09110dd5e64b18ccd9c790bc90524a986a70e8db587c73 + lastCertifiedTimestamp: "2024-10-08T19:51:16.840851+00:00" + testedOpenShiftVersion: "4.8" + supportedOpenShiftVersions: '>=4.1' + webCatalogOnly: true + chart: + name: nonamesec-ubi + home: "" + sources: [] + version: 3.38.0 + description: Noname Helm on k8s + keywords: [] + maintainers: [] + icon: "" + apiversion: v2 + condition: "" + tags: "" + appversion: 3.38.0 + deprecated: false + annotations: + charts.openshift.io/name: Remote Engine + kubeversion: '>=1.0.0-0' + dependencies: + - name: noname + version: 0.1.0 + repository: file://charts/noname + condition: global.noname.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: engine + version: 0.1.0 + repository: file://charts/engine + condition: global.engine.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: active + version: 0.1.0 + repository: file://charts/active + condition: global.active.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: platform + version: 0.1.0 + repository: file://charts/platform + condition: global.platform.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: router + version: 0.1.0 + repository: file://charts/router + condition: global.router.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: noagentapi + version: 0.1.0 + repository: file://charts/noagentapi + condition: noagentapi.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: rabbitmq + version: 12.5.6 + repository: file://charts/rabbitmq + condition: global.noname.enabled,global.rabbitmq.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + type: "" + chart-overrides: "" +results: + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: |- + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nats-jetstream:2.10.11-custom-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/engine:v3.38.0-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/platform:v3.38.0-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/rhel8/postgresql-15:1-66.1716485364 + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/router:v3.38.0-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nginx:v3.38.0-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/cloud-metadata:v3.38.0-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/integrations-adapter:v3.38.0-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nogate:v3.38.0-ubi + - check: v1.0/has-notes + type: Optional + outcome: PASS + reason: Chart does contain NOTES.txt + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs diff --git a/charts/partners/nonamesec/nonamesec-ubi/3.38.1/report.yaml b/charts/partners/nonamesec/nonamesec-ubi/3.38.1/report.yaml new file mode 100644 index 00000000000..41e8a600cbf --- /dev/null +++ b/charts/partners/nonamesec/nonamesec-ubi/3.38.1/report.yaml @@ -0,0 +1,159 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.13.8 + profile: + VendorType: partner + version: v1.3 + reportDigest: uint64:1474247517524085247 + chart-uri: N/A + digests: + chart: sha256:209a98ddfc126250e91b2155a7a0871fa7e969406c3741605e134956081de330 + package: beb79f28e1b13f974a78dd66c565d8786adfcb5e54f2a29c3ec00f9ab550e943 + lastCertifiedTimestamp: "2024-10-09T19:38:37.958167+00:00" + testedOpenShiftVersion: "4.8" + supportedOpenShiftVersions: '>=4.1' + webCatalogOnly: true + chart: + name: nonamesec-ubi + home: "" + sources: [] + version: 3.38.1 + description: Noname Helm on k8s + keywords: [] + maintainers: [] + icon: "" + apiversion: v2 + condition: "" + tags: "" + appversion: 3.38.1 + deprecated: false + annotations: + charts.openshift.io/name: Remote Engine + kubeversion: '>=1.0.0-0' + dependencies: + - name: noname + version: 0.1.0 + repository: file://charts/noname + condition: global.noname.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: engine + version: 0.1.0 + repository: file://charts/engine + condition: global.engine.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: active + version: 0.1.0 + repository: file://charts/active + condition: global.active.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: platform + version: 0.1.0 + repository: file://charts/platform + condition: global.platform.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: router + version: 0.1.0 + repository: file://charts/router + condition: global.router.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: noagentapi + version: 0.1.0 + repository: file://charts/noagentapi + condition: noagentapi.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: rabbitmq + version: 12.5.6 + repository: file://charts/rabbitmq + condition: global.noname.enabled,global.rabbitmq.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + type: "" + chart-overrides: "" +results: + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/has-notes + type: Optional + outcome: PASS + reason: Chart does contain NOTES.txt + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: |- + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nogate:v3.38.1-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/integrations-adapter:v3.38.1-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/cloud-metadata:v3.38.1-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/platform:v3.38.1-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/rhel8/postgresql-15:1-66.1716485364 + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/router:v3.38.1-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nginx:v3.38.1-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nats-jetstream:2.10.11-custom-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/engine:v3.38.1-ubi + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present diff --git a/charts/partners/nonamesec/nonamesec-ubi/3.38.2/report.yaml b/charts/partners/nonamesec/nonamesec-ubi/3.38.2/report.yaml new file mode 100644 index 00000000000..48772758b07 --- /dev/null +++ b/charts/partners/nonamesec/nonamesec-ubi/3.38.2/report.yaml @@ -0,0 +1,159 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.13.8 + profile: + VendorType: partner + version: v1.3 + reportDigest: uint64:7801484870246183438 + chart-uri: N/A + digests: + chart: sha256:68bfd86bed42a4a3b91cc5132a08bc7641ace7c005996e83676040cb3f98dd55 + package: 72b0b3794642f0a4c934cdef2a3eaeb0c7d3a21699d2a4b5b5518e676585cf18 + lastCertifiedTimestamp: "2024-10-13T10:26:10.187833+00:00" + testedOpenShiftVersion: "4.8" + supportedOpenShiftVersions: '>=4.1' + webCatalogOnly: true + chart: + name: nonamesec-ubi + home: "" + sources: [] + version: 3.38.2 + description: Noname Helm on k8s + keywords: [] + maintainers: [] + icon: "" + apiversion: v2 + condition: "" + tags: "" + appversion: 3.38.2 + deprecated: false + annotations: + charts.openshift.io/name: Remote Engine + kubeversion: '>=1.0.0-0' + dependencies: + - name: noname + version: 0.1.0 + repository: file://charts/noname + condition: global.noname.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: engine + version: 0.1.0 + repository: file://charts/engine + condition: global.engine.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: active + version: 0.1.0 + repository: file://charts/active + condition: global.active.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: platform + version: 0.1.0 + repository: file://charts/platform + condition: global.platform.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: router + version: 0.1.0 + repository: file://charts/router + condition: global.router.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: noagentapi + version: 0.1.0 + repository: file://charts/noagentapi + condition: noagentapi.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: rabbitmq + version: 12.5.6 + repository: file://charts/rabbitmq + condition: global.noname.enabled,global.rabbitmq.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + type: "" + chart-overrides: "" +results: + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.0/has-notes + type: Optional + outcome: PASS + reason: Chart does contain NOTES.txt + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: |- + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/platform:v3.38.2-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/rhel8/postgresql-15:1-66.1716485364 + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nginx:v3.38.2-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/cloud-metadata:v3.38.2-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/integrations-adapter:v3.38.2-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nogate:v3.38.2-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/router:v3.38.2-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nats-jetstream:2.10.11-custom-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/engine:v3.38.2-ubi + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present diff --git a/charts/partners/nonamesec/nonamesec-ubi/3.38.3/report.yaml b/charts/partners/nonamesec/nonamesec-ubi/3.38.3/report.yaml new file mode 100644 index 00000000000..61bb6772fe2 --- /dev/null +++ b/charts/partners/nonamesec/nonamesec-ubi/3.38.3/report.yaml @@ -0,0 +1,159 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.13.8 + profile: + VendorType: partner + version: v1.3 + reportDigest: uint64:15156740416224501658 + chart-uri: N/A + digests: + chart: sha256:6952cec59b88728c3de906808ad1ff051dfedcc3562817a8446b2b1429fb191d + package: b434e6bdbc8397b8c56bc37ecbf4695a0d97cfd6d1032e16f809eba165f613f6 + lastCertifiedTimestamp: "2024-10-13T12:34:00.447184+00:00" + testedOpenShiftVersion: "4.8" + supportedOpenShiftVersions: '>=4.1' + webCatalogOnly: true + chart: + name: nonamesec-ubi + home: "" + sources: [] + version: 3.38.3 + description: Noname Helm on k8s + keywords: [] + maintainers: [] + icon: "" + apiversion: v2 + condition: "" + tags: "" + appversion: 3.38.3 + deprecated: false + annotations: + charts.openshift.io/name: Remote Engine + kubeversion: '>=1.0.0-0' + dependencies: + - name: noname + version: 0.1.0 + repository: file://charts/noname + condition: global.noname.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: engine + version: 0.1.0 + repository: file://charts/engine + condition: global.engine.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: active + version: 0.1.0 + repository: file://charts/active + condition: global.active.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: platform + version: 0.1.0 + repository: file://charts/platform + condition: global.platform.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: router + version: 0.1.0 + repository: file://charts/router + condition: global.router.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: noagentapi + version: 0.1.0 + repository: file://charts/noagentapi + condition: noagentapi.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: rabbitmq + version: 12.5.6 + repository: file://charts/rabbitmq + condition: global.noname.enabled,global.rabbitmq.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + type: "" + chart-overrides: "" +results: + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: |- + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/rhel8/postgresql-15:1-66.1716485364 + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/router:v3.38.3-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nogate:v3.38.3-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/platform:v3.38.3-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/integrations-adapter:v3.38.3-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nginx:v3.38.3-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nats-jetstream:2.10.11-custom-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/engine:v3.38.3-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/cloud-metadata:v3.38.3-ubi + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + - check: v1.0/has-notes + type: Optional + outcome: PASS + reason: Chart does contain NOTES.txt + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful diff --git a/charts/partners/nonamesec/nonamesec-ubi/3.38.4/report.yaml b/charts/partners/nonamesec/nonamesec-ubi/3.38.4/report.yaml new file mode 100644 index 00000000000..bbd22a4f1a2 --- /dev/null +++ b/charts/partners/nonamesec/nonamesec-ubi/3.38.4/report.yaml @@ -0,0 +1,159 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.13.8 + profile: + VendorType: partner + version: v1.3 + reportDigest: uint64:15607869167439603269 + chart-uri: N/A + digests: + chart: sha256:af6a10486df841497f5a1729930d8f47f1d23725f38e5deaeadc4df760479e3e + package: 5aa7204f43c098d76fe06db21189f1f2493c7379e67a6c47aa1860fbd879990f + lastCertifiedTimestamp: "2024-10-14T08:34:35.874728+00:00" + testedOpenShiftVersion: "4.8" + supportedOpenShiftVersions: '>=4.1' + webCatalogOnly: true + chart: + name: nonamesec-ubi + home: "" + sources: [] + version: 3.38.4 + description: Noname Helm on k8s + keywords: [] + maintainers: [] + icon: "" + apiversion: v2 + condition: "" + tags: "" + appversion: 3.38.4 + deprecated: false + annotations: + charts.openshift.io/name: Remote Engine + kubeversion: '>=1.0.0-0' + dependencies: + - name: noname + version: 0.1.0 + repository: file://charts/noname + condition: global.noname.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: engine + version: 0.1.0 + repository: file://charts/engine + condition: global.engine.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: active + version: 0.1.0 + repository: file://charts/active + condition: global.active.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: platform + version: 0.1.0 + repository: file://charts/platform + condition: global.platform.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: router + version: 0.1.0 + repository: file://charts/router + condition: global.router.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: noagentapi + version: 0.1.0 + repository: file://charts/noagentapi + condition: noagentapi.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: rabbitmq + version: 12.5.6 + repository: file://charts/rabbitmq + condition: global.noname.enabled,global.rabbitmq.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + type: "" + chart-overrides: "" +results: + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: |- + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/rhel8/postgresql-15:1-66.1716485364 + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/router:v3.38.4-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nginx:v3.38.4-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nogate:v3.38.4-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/platform:v3.38.4-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/integrations-adapter:v3.38.4-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nats-jetstream:2.10.11-custom-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/engine:v3.38.4-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/cloud-metadata:v3.38.4-ubi + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.0/has-notes + type: Optional + outcome: PASS + reason: Chart does contain NOTES.txt diff --git a/charts/partners/nonamesec/nonamesec-ubi/555.555.555-ubi-test/report.yaml b/charts/partners/nonamesec/nonamesec-ubi/555.555.555-ubi-test/report.yaml new file mode 100644 index 00000000000..ed7b0eb92cf --- /dev/null +++ b/charts/partners/nonamesec/nonamesec-ubi/555.555.555-ubi-test/report.yaml @@ -0,0 +1,159 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.13.7 + profile: + VendorType: partner + version: v1.3 + reportDigest: uint64:8917639462399151827 + chart-uri: N/A + digests: + chart: sha256:466730c6655f057358fad68351e694b79bea790c39ebfd4c7015cb7846a825ef + package: 94e79394a1f6f5c68bbcfc21b516b4390873824e72d9b668d90cfa71eccbd0e4 + lastCertifiedTimestamp: "2024-09-17T11:37:20.820883+00:00" + testedOpenShiftVersion: "4.8" + supportedOpenShiftVersions: '>=4.1' + webCatalogOnly: true + chart: + name: nonamesec-ubi + home: "" + sources: [] + version: 555.555.555-ubi-test + description: Noname Helm on k8s + keywords: [] + maintainers: [] + icon: "" + apiversion: v2 + condition: "" + tags: "" + appversion: 555.555.555-ubi-test + deprecated: false + annotations: + charts.openshift.io/name: Remote Engine + kubeversion: '>=1.0.0-0' + dependencies: + - name: noname + version: 0.1.0 + repository: file://charts/noname + condition: global.noname.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: engine + version: 0.1.0 + repository: file://charts/engine + condition: global.engine.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: active + version: 0.1.0 + repository: file://charts/active + condition: global.active.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: platform + version: 0.1.0 + repository: file://charts/platform + condition: global.platform.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: router + version: 0.1.0 + repository: file://charts/router + condition: global.router.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: noagentapi + version: 0.1.0 + repository: file://charts/noagentapi + condition: noagentapi.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + - name: rabbitmq + version: 12.5.6 + repository: file://charts/rabbitmq + condition: global.noname.enabled,global.rabbitmq.enabled + tags: [] + enabled: false + importvalues: [] + alias: "" + type: "" + chart-overrides: "" +results: + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: |- + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nginx:v555.555.555-ubi-test-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nats-jetstream:2.10.11-custom-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/integrations-adapter:v555.555.555-ubi-test-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/platform:v555.555.555-ubi-test-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/rhel8/postgresql-15:1-66.1716485364 + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/router:v555.555.555-ubi-test-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/engine:v555.555.555-ubi-test-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/cloud-metadata:v555.555.555-ubi-test-ubi + Image is Red Hat certified : us-central1-docker.pkg.dev/noname-artifacts/nns-docker/nogate:v555.555.555-ubi-test-ubi + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.0/has-notes + type: Optional + outcome: PASS + reason: Chart does contain NOTES.txt + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 diff --git a/charts/partners/redhat-arkady-test/yingchart0815/OWNERS b/charts/partners/redhat-arkady-test/yingchart0815/OWNERS new file mode 100644 index 00000000000..215a1fdd7fe --- /dev/null +++ b/charts/partners/redhat-arkady-test/yingchart0815/OWNERS @@ -0,0 +1,10 @@ +chart: + name: yingchart0815 + shortDescription: This is a short description testchartprrrrrrrrrrrrrrrr +providerDelivery: true +publicPgpKey: unknown +users: +- githubUsername: testuser +vendor: + label: redhat-arkady-test + name: Red Hat, Inc. diff --git a/charts/partners/redhat-arkady-test/yingchart0816/OWNERS b/charts/partners/redhat-arkady-test/yingchart0816/OWNERS new file mode 100644 index 00000000000..a80e8f29b4b --- /dev/null +++ b/charts/partners/redhat-arkady-test/yingchart0816/OWNERS @@ -0,0 +1,10 @@ +chart: + name: yingchart0816 + shortDescription: This is a short description testchartprrrrrrrrrrrrrrrr +providerDelivery: true +publicPgpKey: unknown +users: +- githubUsername: testuser +vendor: + label: redhat-arkady-test + name: Red Hat, Inc. diff --git a/charts/partners/redhat-arkady-test/yingchart0826/OWNERS b/charts/partners/redhat-arkady-test/yingchart0826/OWNERS new file mode 100644 index 00000000000..4a45d1602d5 --- /dev/null +++ b/charts/partners/redhat-arkady-test/yingchart0826/OWNERS @@ -0,0 +1,10 @@ +chart: + name: yingchart0826 + shortDescription: This is a short description for creating helmchart with 1 PR +providerDelivery: true +publicPgpKey: unknown +users: +- githubUsername: yinguser +vendor: + label: redhat-arkady-test + name: Red Hat, Inc. diff --git a/charts/partners/redhat-arkady-test/yingchart0899/OWNERS b/charts/partners/redhat-arkady-test/yingchart0899/OWNERS new file mode 100644 index 00000000000..2a8eec70a2b --- /dev/null +++ b/charts/partners/redhat-arkady-test/yingchart0899/OWNERS @@ -0,0 +1,10 @@ +chart: + name: yingchart0899 + shortDescription: This is a short description for creating helmchart with 1 PR +providerDelivery: true +publicPgpKey: unknown +users: +- githubUsername: yinguser +vendor: + label: redhat-arkady-test + name: Red Hat, Inc. diff --git a/charts/partners/redhat-test/chart-helm-0810/OWNERS b/charts/partners/redhat-test/chart-helm-0810/OWNERS new file mode 100644 index 00000000000..12c601c4e54 --- /dev/null +++ b/charts/partners/redhat-test/chart-helm-0810/OWNERS @@ -0,0 +1,9 @@ +chart: + name: chart-helm-0810 + shortDescription: unknown +providerDelivery: false +publicPgpKey: unknown +users: [] +vendor: + label: redhat-test + name: Red Hat, Inc. diff --git a/charts/partners/redhat-test/chart1123/OWNERS b/charts/partners/redhat-test/chart1123/OWNERS new file mode 100644 index 00000000000..546f8fde02f --- /dev/null +++ b/charts/partners/redhat-test/chart1123/OWNERS @@ -0,0 +1,9 @@ +chart: + name: chart1123 + shortDescription: unknown +providerDelivery: false +publicPgpKey: unknown +users: [] +vendor: + label: redhat-test + name: Red Hat, Inc. diff --git a/charts/partners/redhat-test/dfgdgfdfg/OWNERS b/charts/partners/redhat-test/dfgdgfdfg/OWNERS new file mode 100644 index 00000000000..863e58ba278 --- /dev/null +++ b/charts/partners/redhat-test/dfgdgfdfg/OWNERS @@ -0,0 +1,9 @@ +chart: + name: dfgdgfdfg + shortDescription: unknown +providerDelivery: false +publicPgpKey: unknown +users: [] +vendor: + label: redhat-test + name: Red Hat, Inc. diff --git a/charts/partners/redhat-test/helm-chart-0509/OWNERS b/charts/partners/redhat-test/helm-chart-0509/OWNERS new file mode 100644 index 00000000000..44de72ff779 --- /dev/null +++ b/charts/partners/redhat-test/helm-chart-0509/OWNERS @@ -0,0 +1,9 @@ +chart: + name: helm-chart-0509 + shortDescription: unknown +providerDelivery: false +publicPgpKey: unknown +users: [] +vendor: + label: redhat-test + name: Red Hat, Inc. diff --git a/charts/partners/redhat-test/helm-chart-cnf-patternfly-0411/OWNERS b/charts/partners/redhat-test/helm-chart-cnf-patternfly-0411/OWNERS new file mode 100644 index 00000000000..c65ba6a85ca --- /dev/null +++ b/charts/partners/redhat-test/helm-chart-cnf-patternfly-0411/OWNERS @@ -0,0 +1,9 @@ +chart: + name: helm-chart-cnf-patternfly-0411 + shortDescription: unknown +providerDelivery: false +publicPgpKey: unknown +users: [] +vendor: + label: redhat-test + name: Red Hat, Inc. diff --git a/charts/partners/redhat-test/helmprodtest/OWNERS b/charts/partners/redhat-test/helmprodtest/OWNERS new file mode 100644 index 00000000000..8ba92f5a79b --- /dev/null +++ b/charts/partners/redhat-test/helmprodtest/OWNERS @@ -0,0 +1,9 @@ +chart: + name: helmprodtest + shortDescription: unknown +providerDelivery: false +publicPgpKey: unknown +users: [] +vendor: + label: redhat-test + name: Red Hat, Inc. diff --git a/charts/partners/scaleops-sh/scaleops/OWNERS b/charts/partners/scaleops-sh/scaleops/OWNERS new file mode 100644 index 00000000000..f8d4e4b4a98 --- /dev/null +++ b/charts/partners/scaleops-sh/scaleops/OWNERS @@ -0,0 +1,9 @@ +chart: + name: scaleops + shortDescription: unknown +providerDelivery: false +publicPgpKey: unknown +users: [] +vendor: + label: scaleops-sh + name: ScaleOps - Cloud-Native Optimization diff --git a/charts/partners/telenity/canvas-oamportal/4.0.0/canvas-oamportal-4.0.0.tgz b/charts/partners/telenity/canvas-oamportal/4.0.0/canvas-oamportal-4.0.0.tgz new file mode 100644 index 00000000000..4ec61927b28 Binary files /dev/null and b/charts/partners/telenity/canvas-oamportal/4.0.0/canvas-oamportal-4.0.0.tgz differ diff --git a/charts/partners/telenity/canvas-oamportal/4.0.0/report.yaml b/charts/partners/telenity/canvas-oamportal/4.0.0/report.yaml new file mode 100644 index 00000000000..a942d0dacdb --- /dev/null +++ b/charts/partners/telenity/canvas-oamportal/4.0.0/report.yaml @@ -0,0 +1,99 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.13.7 + profile: + VendorType: partner + version: v1.3 + reportDigest: uint64:15478629195357775902 + chart-uri: canvas-oamportal-4.0.0.tgz + digests: + chart: sha256:0fd9bcca0ecebe9a603ccb18970f283cb0037a154ca20ce51fafe0cc4a86ca5e + package: 8c170fccdf5ef39fad27dc3edd453eb7e83cd60a40b44359f6b096068987721f + lastCertifiedTimestamp: "2024-10-08T13:24:54.136569-04:00" + testedOpenShiftVersion: "4.8" + supportedOpenShiftVersions: '>=4.8' + webCatalogOnly: false + chart: + name: canvas-oamportal + home: "" + sources: [] + version: 4.0.0 + description: Canvas OAM Portal Helm Chart + keywords: [] + maintainers: + - name: Telenity + email: info@telenity.com + url: https://www.telenity.com + icon: https://www.telenity.com/wp-content/themes/telenity-theme/assets/img/logo.svg + apiversion: v2 + condition: "" + tags: "" + appversion: 4.0.0 + deprecated: false + annotations: + charts.openshift.io/name: Canvas OAM Portal Helm Chart + charts.openshift.io/provider: Telenity INC. + kubeversion: '>=1.21.0' + dependencies: [] + type: "" + chart-overrides: "" +results: + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: No images to certify + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.0/has-notes + type: Optional + outcome: PASS + reason: Chart does contain NOTES.txt + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + diff --git a/charts/partners/telenity/dmi4j-backend/1.0.4-SNAPSHOT/dmi4j-backend-1.0.4-SNAPSHOT.tgz b/charts/partners/telenity/dmi4j-backend/1.0.4-SNAPSHOT/dmi4j-backend-1.0.4-SNAPSHOT.tgz new file mode 100644 index 00000000000..4715a04fe6c Binary files /dev/null and b/charts/partners/telenity/dmi4j-backend/1.0.4-SNAPSHOT/dmi4j-backend-1.0.4-SNAPSHOT.tgz differ diff --git a/charts/partners/telenity/dmi4j-backend/1.0.4-SNAPSHOT/report.yaml b/charts/partners/telenity/dmi4j-backend/1.0.4-SNAPSHOT/report.yaml new file mode 100644 index 00000000000..2e68507a0a8 --- /dev/null +++ b/charts/partners/telenity/dmi4j-backend/1.0.4-SNAPSHOT/report.yaml @@ -0,0 +1,99 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.13.7 + profile: + VendorType: partner + version: v1.3 + reportDigest: uint64:17162302475504257532 + chart-uri: dmi4j-backend-1.0.4-SNAPSHOT.tgz + digests: + chart: sha256:77fb8ce001a77f9e2f12528599afa7370c0cfbf09795ba404cfcb81e89870917 + package: 7e65abdbddd2d5c7d92fa6a05a3c9c8389c038d77faaf72c57d588abcc205ffb + lastCertifiedTimestamp: "2024-10-15T17:26:03.338829-04:00" + testedOpenShiftVersion: "4.8" + supportedOpenShiftVersions: '>=4.8' + webCatalogOnly: false + chart: + name: dmi4j-backend + home: "" + sources: [] + version: 1.0.4-SNAPSHOT + description: DMI4J Backend Helm Chart + keywords: [] + maintainers: + - name: Telenity + email: info@telenity.com + url: https://www.telenity.com + icon: https://www.telenity.com/wp-content/themes/telenity-theme/assets/img/logo.svg + apiversion: v2 + condition: "" + tags: "" + appversion: 1.0.4-SNAPSHOT + deprecated: false + annotations: + charts.openshift.io/name: DMI4J Backend Helm Chart + charts.openshift.io/provider: Telenity INC. + kubeversion: '>=1.21.0' + dependencies: [] + type: application + chart-overrides: "" +results: + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.0/has-notes + type: Optional + outcome: PASS + reason: Chart does contain NOTES.txt + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: No images to certify + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + diff --git a/charts/partners/telenity/dmi4j-backend/OWNERS b/charts/partners/telenity/dmi4j-backend/OWNERS new file mode 100644 index 00000000000..2b990bd765b --- /dev/null +++ b/charts/partners/telenity/dmi4j-backend/OWNERS @@ -0,0 +1,10 @@ +chart: + name: dmi4j-backend + shortDescription: unknown +providerDelivery: false +publicPgpKey: unknown +users: +- githubUsername: gurolakman +vendor: + label: telenity + name: Telenity Iletisim Sistemleri Sa diff --git a/charts/partners/veritas-technologies/veritas-netbackupkops-100/OWNERS b/charts/partners/veritas-technologies/veritas-netbackupkops-100/OWNERS new file mode 100644 index 00000000000..339f3b81c4d --- /dev/null +++ b/charts/partners/veritas-technologies/veritas-netbackupkops-100/OWNERS @@ -0,0 +1,9 @@ +chart: + name: veritas-netbackupkops-100 + shortDescription: unknown +providerDelivery: false +publicPgpKey: unknown +users: [] +vendor: + label: veritas-technologies + name: Veritas Technologies LLC diff --git a/charts/partners/yugabytedb/yugaware-openshift/2.20.2/report.yaml b/charts/partners/yugabytedb/yugaware-openshift/2.20.2/report.yaml new file mode 100644 index 00000000000..f3a94adb948 --- /dev/null +++ b/charts/partners/yugabytedb/yugaware-openshift/2.20.2/report.yaml @@ -0,0 +1,99 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.12.2 + profile: + VendorType: partner + version: v1.2 + reportDigest: uint64:14942409610905437838 + chart-uri: https://charts.yugabyte.com/yugaware-openshift-2.20.2.tgz + digests: + chart: sha256:fcffed26d5f89d6a468e4280e6f84d55e54ece1b4bfaf673c8e53454a8bb0416 + package: 5891112620064f6a5e40fb733416bebabe8d51d89aa590fbe744e6117e196e80 + lastCertifiedTimestamp: "2024-09-13T00:11:02.398507+00:00" + testedOpenShiftVersion: "4.11" + supportedOpenShiftVersions: '>=4.4' + webCatalogOnly: false + chart: + name: yugaware-openshift + home: https://www.yugabyte.com + sources: [] + version: 2.20.2 + description: YugabyteDB Anywhere provides deployment, orchestration, and monitoring for managing YugabyteDB clusters. YugabyteDB Anywhere can create a YugabyteDB cluster with multiple pods provided by Kubernetes or OpenShift and logically grouped together to form one logical distributed database. + keywords: [] + maintainers: + - name: Sanketh Indarapu + email: sanketh@yugabyte.com + url: "" + - name: Govardhan Reddy Jalla + email: gjalla@yugabyte.com + url: "" + icon: https://avatars0.githubusercontent.com/u/17074854?s=200&v=4 + apiversion: v2 + condition: "" + tags: "" + appversion: 2.20.2.4-b3 + deprecated: false + annotations: + charts.openshift.io/name: yugaware-openshift + kubeversion: '>=1.17.0-0' + dependencies: [] + type: "" + chart-overrides: "" +results: + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: |- + Image certification skipped : registry.redhat.io/rhscl/postgresql-13-rhel7:1-88.1661531722 + Image certification skipped : registry.redhat.io/openshift4/ose-prometheus:v4.11.0 + Image is Red Hat certified : quay.io/yugabyte/yugaware-ubi:2.20.2.4-b3 + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified diff --git a/charts/partners/yugabytedb/yugaware-openshift/2.20.2/yugaware-openshift-2.20.2.tgz b/charts/partners/yugabytedb/yugaware-openshift/2.20.2/yugaware-openshift-2.20.2.tgz new file mode 100644 index 00000000000..4f1ad802e45 Binary files /dev/null and b/charts/partners/yugabytedb/yugaware-openshift/2.20.2/yugaware-openshift-2.20.2.tgz differ diff --git a/charts/partners/yugabytedb/yugaware-openshift/2.20.7/report.yaml b/charts/partners/yugabytedb/yugaware-openshift/2.20.7/report.yaml new file mode 100644 index 00000000000..2c42bd883a1 --- /dev/null +++ b/charts/partners/yugabytedb/yugaware-openshift/2.20.7/report.yaml @@ -0,0 +1,99 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.12.2 + profile: + VendorType: partner + version: v1.2 + reportDigest: uint64:15220426333871464181 + chart-uri: https://charts.yugabyte.com/yugaware-openshift-2.20.7.tgz + digests: + chart: sha256:cbc0ae08cab6bbe7de6aeaaa91ee52490ff8440c0262307423d129ac78b87998 + package: 579394b15332cf1c1b7a905b6436a0fb9e4e1174b94a82d3bb4938ac13f21dc9 + lastCertifiedTimestamp: "2024-09-30T18:59:12.018048+00:00" + testedOpenShiftVersion: "4.11" + supportedOpenShiftVersions: '>=4.4' + webCatalogOnly: false + chart: + name: yugaware-openshift + home: https://www.yugabyte.com + sources: [] + version: 2.20.7 + description: YugabyteDB Anywhere provides deployment, orchestration, and monitoring for managing YugabyteDB clusters. YugabyteDB Anywhere can create a YugabyteDB cluster with multiple pods provided by Kubernetes or OpenShift and logically grouped together to form one logical distributed database. + keywords: [] + maintainers: + - name: Sanketh Indarapu + email: sanketh@yugabyte.com + url: "" + - name: Govardhan Reddy Jalla + email: gjalla@yugabyte.com + url: "" + icon: https://avatars0.githubusercontent.com/u/17074854?s=200&v=4 + apiversion: v2 + condition: "" + tags: "" + appversion: 2.20.7.0-b58 + deprecated: false + annotations: + charts.openshift.io/name: yugaware-openshift + kubeversion: '>=1.17.0-0' + dependencies: [] + type: "" + chart-overrides: "" +results: + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: |- + Image certification skipped : registry.redhat.io/rhscl/postgresql-13-rhel7:1-88.1661531722 + Image certification skipped : registry.redhat.io/openshift4/ose-prometheus:v4.11.0 + Image is Red Hat certified : quay.io/yugabyte/yugaware-ubi:2.20.7.0-b58 + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist diff --git a/charts/partners/yugabytedb/yugaware-openshift/2.20.7/yugaware-openshift-2.20.7.tgz b/charts/partners/yugabytedb/yugaware-openshift/2.20.7/yugaware-openshift-2.20.7.tgz new file mode 100644 index 00000000000..b142db2bb94 Binary files /dev/null and b/charts/partners/yugabytedb/yugaware-openshift/2.20.7/yugaware-openshift-2.20.7.tgz differ diff --git a/charts/partners/yugabytedb/yugaware-openshift/2.23.0/report.yaml b/charts/partners/yugabytedb/yugaware-openshift/2.23.0/report.yaml new file mode 100644 index 00000000000..a490c49d739 --- /dev/null +++ b/charts/partners/yugabytedb/yugaware-openshift/2.23.0/report.yaml @@ -0,0 +1,99 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.12.2 + profile: + VendorType: partner + version: v1.2 + reportDigest: uint64:3771881465980546410 + chart-uri: https://charts.yugabyte.com/yugaware-openshift-2.23.0.tgz + digests: + chart: sha256:624099aac2ffa20bf05756b2a1b2fcd5e1a0b82a4147d8d6a4a42448dd55a2ce + package: ed0347c47f87397f413dc20a5430c5bdf731ef62ca7af20cf5730787ba7963f2 + lastCertifiedTimestamp: "2024-09-13T20:19:51.91026+00:00" + testedOpenShiftVersion: "4.11" + supportedOpenShiftVersions: '>=4.4' + webCatalogOnly: false + chart: + name: yugaware-openshift + home: https://www.yugabyte.com + sources: [] + version: 2.23.0 + description: YugabyteDB Anywhere provides deployment, orchestration, and monitoring for managing YugabyteDB clusters. YugabyteDB Anywhere can create a YugabyteDB cluster with multiple pods provided by Kubernetes or OpenShift and logically grouped together to form one logical distributed database. + keywords: [] + maintainers: + - name: Sanketh Indarapu + email: sanketh@yugabyte.com + url: "" + - name: Govardhan Reddy Jalla + email: gjalla@yugabyte.com + url: "" + icon: https://avatars0.githubusercontent.com/u/17074854?s=200&v=4 + apiversion: v2 + condition: "" + tags: "" + appversion: 2.23.0.0-b710 + deprecated: false + annotations: + charts.openshift.io/name: yugaware-openshift + kubeversion: '>=1.17.0-0' + dependencies: [] + type: "" + chart-overrides: "" +results: + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: |- + Image certification skipped : registry.redhat.io/rhscl/postgresql-13-rhel7:1-88.1661531722 + Image certification skipped : registry.redhat.io/openshift4/ose-prometheus:v4.11.0 + Image is Red Hat certified : quay.io/yugabyte/yugaware-ubi:2.23.0.0-b710 + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist diff --git a/charts/partners/yugabytedb/yugaware-openshift/2.23.0/yugaware-openshift-2.23.0.tgz b/charts/partners/yugabytedb/yugaware-openshift/2.23.0/yugaware-openshift-2.23.0.tgz new file mode 100644 index 00000000000..ff3d6c0290f Binary files /dev/null and b/charts/partners/yugabytedb/yugaware-openshift/2.23.0/yugaware-openshift-2.23.0.tgz differ diff --git a/charts/partners/yugabytedb/yugaware-openshift/2024.1.2/report.yaml b/charts/partners/yugabytedb/yugaware-openshift/2024.1.2/report.yaml new file mode 100644 index 00000000000..06b16c5ca71 --- /dev/null +++ b/charts/partners/yugabytedb/yugaware-openshift/2024.1.2/report.yaml @@ -0,0 +1,99 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.12.2 + profile: + VendorType: partner + version: v1.2 + reportDigest: uint64:1142700291506397611 + chart-uri: https://charts.yugabyte.com/yugaware-openshift-2024.1.2.tgz + digests: + chart: sha256:5dba3e4ddcecc9fa6b0f5f8d4db18c8a49aea6378730d3295fb43ce5b7bc1c15 + package: 3bd5e51b0937023bc7fbbbc8f256b6ca509315f95b33efee7205b21452eea759 + lastCertifiedTimestamp: "2024-09-03T19:03:01.284244+00:00" + testedOpenShiftVersion: "4.11" + supportedOpenShiftVersions: '>=4.4' + webCatalogOnly: false + chart: + name: yugaware-openshift + home: https://www.yugabyte.com + sources: [] + version: 2024.1.2 + description: YugabyteDB Anywhere provides deployment, orchestration, and monitoring for managing YugabyteDB clusters. YugabyteDB Anywhere can create a YugabyteDB cluster with multiple pods provided by Kubernetes or OpenShift and logically grouped together to form one logical distributed database. + keywords: [] + maintainers: + - name: Sanketh Indarapu + email: sanketh@yugabyte.com + url: "" + - name: Govardhan Reddy Jalla + email: gjalla@yugabyte.com + url: "" + icon: https://avatars0.githubusercontent.com/u/17074854?s=200&v=4 + apiversion: v2 + condition: "" + tags: "" + appversion: 2024.1.2.0-b77 + deprecated: false + annotations: + charts.openshift.io/name: yugaware-openshift + kubeversion: '>=1.17.0-0' + dependencies: [] + type: "" + chart-overrides: "" +results: + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: |- + Image certification skipped : registry.redhat.io/rhscl/postgresql-13-rhel7:1-88.1661531722 + Image certification skipped : registry.redhat.io/openshift4/ose-prometheus:v4.11.0 + Image is Red Hat certified : quay.io/yugabyte/yugaware-ubi:2024.1.2.0-b77 + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist diff --git a/charts/partners/yugabytedb/yugaware-openshift/2024.1.2/yugaware-openshift-2024.1.2.tgz b/charts/partners/yugabytedb/yugaware-openshift/2024.1.2/yugaware-openshift-2024.1.2.tgz new file mode 100644 index 00000000000..1fe9c21fa86 Binary files /dev/null and b/charts/partners/yugabytedb/yugaware-openshift/2024.1.2/yugaware-openshift-2024.1.2.tgz differ diff --git a/charts/partners/yugabytedb/yugaware-openshift/2024.1.3/report.yaml b/charts/partners/yugabytedb/yugaware-openshift/2024.1.3/report.yaml new file mode 100644 index 00000000000..3f53198940f --- /dev/null +++ b/charts/partners/yugabytedb/yugaware-openshift/2024.1.3/report.yaml @@ -0,0 +1,99 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.12.2 + profile: + VendorType: partner + version: v1.2 + reportDigest: uint64:1130469714162467203 + chart-uri: https://charts.yugabyte.com/yugaware-openshift-2024.1.3.tgz + digests: + chart: sha256:6c9a9d8201002094e9ebfc0750a1a069c7ae0c61ca8ef60e01ab0cc4638a0f4c + package: 9d3516cf41130e7c5755b53fa447d40fa7bba31c991d6fd11fb0d522defe7f9d + lastCertifiedTimestamp: "2024-10-08T19:17:12.926397+00:00" + testedOpenShiftVersion: "4.11" + supportedOpenShiftVersions: '>=4.4' + webCatalogOnly: false + chart: + name: yugaware-openshift + home: https://www.yugabyte.com + sources: [] + version: 2024.1.3 + description: YugabyteDB Anywhere provides deployment, orchestration, and monitoring for managing YugabyteDB clusters. YugabyteDB Anywhere can create a YugabyteDB cluster with multiple pods provided by Kubernetes or OpenShift and logically grouped together to form one logical distributed database. + keywords: [] + maintainers: + - name: Sanketh Indarapu + email: sanketh@yugabyte.com + url: "" + - name: Govardhan Reddy Jalla + email: gjalla@yugabyte.com + url: "" + icon: https://avatars0.githubusercontent.com/u/17074854?s=200&v=4 + apiversion: v2 + condition: "" + tags: "" + appversion: 2024.1.3.0-b105 + deprecated: false + annotations: + charts.openshift.io/name: yugaware-openshift + kubeversion: '>=1.17.0-0' + dependencies: [] + type: "" + chart-overrides: "" +results: + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: |- + Image certification skipped : registry.redhat.io/rhscl/postgresql-13-rhel7:1-88.1661531722 + Image certification skipped : registry.redhat.io/openshift4/ose-prometheus:v4.11.0 + Image is Red Hat certified : quay.io/yugabyte/yugaware-ubi:2024.1.3.0-b105 + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist diff --git a/charts/partners/yugabytedb/yugaware-openshift/2024.1.3/yugaware-openshift-2024.1.3.tgz b/charts/partners/yugabytedb/yugaware-openshift/2024.1.3/yugaware-openshift-2024.1.3.tgz new file mode 100644 index 00000000000..29bc33c4658 Binary files /dev/null and b/charts/partners/yugabytedb/yugaware-openshift/2024.1.3/yugaware-openshift-2024.1.3.tgz differ diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/.helmignore b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/.helmignore new file mode 100644 index 00000000000..0e8a0eb36f4 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/.helmignore @@ -0,0 +1,23 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*.orig +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/Chart.yaml b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/Chart.yaml new file mode 100644 index 00000000000..cc4e9c3ba55 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/Chart.yaml @@ -0,0 +1,46 @@ +apiVersion: v2 +name: redhat-cryostat +description: Securely manage JFR recordings for your containerized Java workloads + +type: application + +version: "1.0.1" + +kubeVersion: ">= 1.25.0-0" + +appVersion: "3.0.1.redhat" + +home: "https://cryostat.io" + +icon: "https://raw.githubusercontent.com/cryostatio/cryostat-helm/main/docs/images/cryostat-icon.svg" + +annotations: + charts.openshift.io/archs: x86_64, aarch64 + charts.openshift.io/name: Red Hat build of Cryostat + charts.openshift.io/provider: Red Hat + charts.openshift.io/supportURL: https://github.com/cryostatio/cryostat-helm + +keywords: +- flightrecorder +- java +- jdk +- jfr +- jmc +- missioncontrol +- monitoring +- profiling +- diagnostic + +sources: +- https://github.com/cryostatio/cryostat3 +- https://github.com/cryostatio/cryostat-core +- https://github.com/cryostatio/cryostat-web +- https://github.com/cryostatio/jfr-datasource +- https://github.com/cryostatio/cryostat-grafana-dashboard +- https://github.com/cryostatio/cryostat-db +- https://github.com/cryostatio/cryostat-storage +- https://github.com/cryostatio/openshift-oauth-proxy + +maintainers: +- name: The Cryostat Community + url: https://groups.google.com/g/cryostat-development diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/LICENSE b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/LICENSE new file mode 100644 index 00000000000..57bc88a15a0 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/LICENSE @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/README.md b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/README.md new file mode 100644 index 00000000000..d26f2a1ad89 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/README.md @@ -0,0 +1,146 @@ +# Cryostat Helm Chart +A Helm chart for deploying [Cryostat](https://cryostat.io/) on Kubernetes and OpenShift + +## Parameters + +### Cryostat Container + +| Name | Description | Value | +| ------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------- | +| `core` | Configuration for the core Cryostat application | | +| `core.image.repository` | Repository for the main Cryostat container image | `registry.redhat.io/cryostat-tech-preview/cryostat-rhel8` | +| `core.image.pullPolicy` | Image pull policy for the main Cryostat container image | `IfNotPresent` | +| `core.image.tag` | Tag for the main Cryostat container image | `3.0.1` | +| `core.service.type` | Type of Service to create for the Cryostat application | `ClusterIP` | +| `core.service.httpPort` | Port number to expose on the Service for Cryostat's HTTP server | `8181` | +| `core.sslProxied` | Enables SSL Proxied Environment Variables, useful when you are offloading SSL/TLS at External Loadbalancer instead of Ingress | `false` | +| `core.ingress.enabled` | Whether to create an Ingress object for the Cryostat service | `false` | +| `core.ingress.className` | Ingress class name for the Cryostat application Ingress | `""` | +| `core.ingress.annotations` | Annotations to apply to the Cryostat application Ingress | `{}` | +| `core.ingress.hosts` | Hosts to create rules for in the Cryostat application Ingress. See: [IngressSpec](https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/#IngressSpec) | `[]` | +| `core.ingress.tls` | TLS configuration for the Cryostat application Ingress. See: [IngressSpec](https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/#IngressSpec) | `[]` | +| `core.route.enabled` | Whether to create a Route object for the Cryostat service. Available only on OpenShift | `true` | +| `core.route.tls.enabled` | Whether to secure the Cryostat application Route with TLS. See: [TLSConfig](https://docs.openshift.com/container-platform/4.10/rest_api/network_apis/route-route-openshift-io-v1.html#spec-tls) | `true` | +| `core.route.tls.termination` | Type of TLS termination to use for the Cryostat application Route. One of: `edge`, `passthrough`, `reencrypt` | `edge` | +| `core.route.tls.insecureEdgeTerminationPolicy` | Specify how to handle insecure traffic for the Cryostat application Route. One of: `Allow`, `Disable`, `Redirect` | `Redirect` | +| `core.route.tls.key` | Custom private key to use when securing the Cryostat application Route | `""` | +| `core.route.tls.certificate` | Custom certificate to use when securing the Cryostat application Route | `""` | +| `core.route.tls.caCertificate` | Custom CA certificate to use, if needed to complete the certificate chain, when securing the Cryostat application Route | `""` | +| `core.route.tls.destinationCACertificate` | Provides the contents of the CA certificate of the final destination when using reencrypt termination for the Cryostat application Route | `""` | +| `core.resources` | Resource requests/limits for the Cryostat container. See: [ResourceRequirements](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#resources) | `{}` | +| `core.securityContext` | Security Context for the Cryostat container. Defaults to meet "restricted" [Pod Security Standard](https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted). See: [SecurityContext](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context-1) | `{}` | +| `core.databaseSecretName` | Name of the secret containing database keys. This secret must contain a CONNECTION_KEY secret which is the database connection password, and an ENCRYPTION_KEY secret which is the key used to encrypt sensitive data stored within the database, such as the target credentials keyring. It must not be updated across chart upgrades. It is recommended that the secret should be marked as immutable to avoid accidental changes to secret's data. More details: https://kubernetes.io/docs/concepts/configuration/secret/#secret-immutable | `""` | +| `core.discovery` | Configuration options to the Cryostat application's target discovery mechanisms | | +| `core.discovery.kubernetes.enabled` | Enables Kubernetes API discovery mechanism | `true` | +| `core.discovery.kubernetes.installNamespaceDisabled` | When false and `namespaces` is empty, the Cryostat application will default to discovery targets in the install namespace (i.e. `{{ .Release.Namespace }}`) | `false` | +| `core.discovery.kubernetes.namespaces` | List of namespaces whose workloads the Cryostat application should be permitted to access and profile | `[]` | +| `core.discovery.kubernetes.builtInPortNamesDisabled` | When false and `portNames` is empty, the Cryostat application will use the default port name `jfr-jmx` to look for JMX connectable targets. | `false` | +| `core.discovery.kubernetes.portNames` | List of port names that the Cryostat application should look for in order to consider a target as JMX connectable | `[]` | +| `core.discovery.kubernetes.builtInPortNumbersDisabled` | When false and `portNumbers` is empty, the Cryostat application will use the default port number `9091` to look for JMX connectable targets. | `false` | +| `core.discovery.kubernetes.portNumbers` | List of port numbers that the Cryostat application should look for in order to consider a target as JMX connectable | `[]` | + +### Database Container + +| Name | Description | Value | +| --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ | +| `db` | Configuration for Cryostat's database | | +| `db.image.repository` | Repository for the database container image | `registry.redhat.io/cryostat-tech-preview/cryostat-db-rhel8` | +| `db.image.pullPolicy` | Image pull policy for the database container image | `IfNotPresent` | +| `db.image.tag` | Tag for the database container image | `3.0.1` | +| `db.resources` | Resource requests/limits for the database container. See: [ResourceRequirements](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#resources) | `{}` | +| `db.securityContext` | Security Context for the database container. Defaults to meet "restricted" [Pod Security Standard](https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted). See: [SecurityContext](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context-1) | `{}` | + +### Storage Container + +| Name | Description | Value | +| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- | +| `storage` | Configuration for Cryostat's object storage provider | | +| `storage.image.repository` | Repository for the storage container image | `registry.redhat.io/cryostat-tech-preview/cryostat-storage-rhel8` | +| `storage.image.pullPolicy` | Image pull policy for the storage container image | `IfNotPresent` | +| `storage.image.tag` | Tag for the storage container image | `3.0.1` | +| `storage.resources` | Resource requests/limits for the storage container. See: [ResourceRequirements](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#resources) | `{}` | +| `storage.securityContext` | Security Context for the storage container. Defaults to meet "restricted" [Pod Security Standard](https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted). See: [SecurityContext](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context-1) | `{}` | + +### Grafana Container + +| Name | Description | Value | +| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `grafana` | Configuration for the customized Grafana instance for Cryostat | | +| `grafana.image.repository` | Repository for the Grafana container image | `registry.redhat.io/cryostat-tech-preview/cryostat-grafana-dashboard-rhel8` | +| `grafana.image.pullPolicy` | Image pull policy for the Grafana container image | `IfNotPresent` | +| `grafana.image.tag` | Tag for the Grafana container image | `3.0.1` | +| `grafana.service.type` | Type of Service to create for Grafana | `ClusterIP` | +| `grafana.service.port` | Port number to expose on the Service for Grafana's HTTP server | `3000` | +| `grafana.resources` | Resource requests/limits for the Grafana container. See: [ResourceRequirements](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#resources) | `{}` | +| `grafana.securityContext` | Security Context for the Grafana container. Defaults to meet "restricted" [Pod Security Standard](https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted). See: [SecurityContext](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context-1) | `{}` | + +### JFR Data Source Container + +| Name | Description | Value | +| ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- | +| `datasource` | Configuration for the JFR Data Source component, which translates recording events into a format consumable by Grafana | | +| `datasource.image.repository` | Repository for the JFR Data Source container image | `registry.redhat.io/cryostat-tech-preview/jfr-datasource-rhel8` | +| `datasource.image.pullPolicy` | Image pull policy for the JFR Data Source container image | `IfNotPresent` | +| `datasource.image.tag` | Tag for the JFR Data Source container image | `3.0.1` | +| `datasource.resources` | Resource requests/limits for the JFR Data Source container. See: [ResourceRequirements](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#resources) | `{}` | +| `datasource.securityContext` | Security Context for the JFR Data Source container. Defaults to meet "restricted" [Pod Security Standard](https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted). See: [SecurityContext](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context-1) | `{}` | + +### Authentication + +| Name | Description | Value | +| ------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- | +| `authentication.openshift.enabled` | Whether the OAuth Proxy deployed for securing Cryostat's Pods should be one that integrates with OpenShift-specific features, or a generic one. | `true` | +| `authentication.openshift.clusterRole.name` | The name of the ClusterRole to bind for the OpenShift OAuth Proxy | `system:auth-delegator` | +| `authentication.basicAuth.enabled` | Whether Cryostat should use basic authentication for users. When false, Cryostat will not perform any form of authentication | `false` | +| `authentication.basicAuth.secretName` | Name of the Secret that contains the credentials within Cryostat's namespace **(Required if basicAuth is enabled)** | `""` | +| `authentication.basicAuth.filename` | Key within Secret containing the `htpasswd` file. The file should contain one user definition entry per line, with the syntax "user:passHash", where "user" is the username and "passHash" is the `bcrypt` hash of the desired password. Such an entry can be generated with ex. `htpasswd -nbB username password` **(Required if basicAuth is enabled)** | `""` | + +### OAuth2 Proxy + +| Name | Description | Value | +| ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | +| `oauth2Proxy.image.repository` | Repository for the OAuth2 Proxy container image | `""` | +| `oauth2Proxy.image.pullPolicy` | Image pull policy for the OAuth2 Proxy container image | `Never` | +| `oauth2Proxy.image.tag` | Tag for the OAuth2 Proxy container image | `""` | +| `oauth2Proxy.securityContext` | Security Context for the OAuth2 Proxy container. Defaults to meet "restricted" [Pod Security Standard](https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted). See: [SecurityContext](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context-1). If the chart is installed in default namespaces (e.g. default), `securityContext.runAsUser` must be set if the proxy image does not specify a numeric non-root user. This is due to OpenShift Security Context Constraints are not applied in default namespaces. See [Understanding and Managing Pod Security Admission](https://docs.openshift.com/container-platform/4.15/authentication/understanding-and-managing-pod-security-admission.html#psa-privileged-namespaces_understanding-and-managing-pod-security-admission). | `{}` | + +### OpenShift OAuth Proxy + +| Name | Description | Value | +| ---------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `openshiftOauthProxy.image.repository` | Repository for the OpenShift OAuth Proxy container image | `registry.redhat.io/cryostat-tech-preview/cryostat-ose-oauth-proxy-rhel8` | +| `openshiftOauthProxy.image.pullPolicy` | Image pull policy for the OpenShift OAuth Proxy container image | `IfNotPresent` | +| `openshiftOauthProxy.image.tag` | Tag for the OpenShift OAuth Proxy container image | `3.0.1` | +| `openshiftOauthProxy.accessReview.enabled` | Whether the SubjectAccessReview/TokenAccessReview role checks for users and clients are enabled. If this is disabled then the proxy will only check that the user has valid credentials or holds a valid token. | `true` | +| `openshiftOauthProxy.accessReview.group` | The OpenShift resource group that the SubjectAccessReview/TokenAccessReview will be performed for. See https://github.com/openshift/oauth-proxy/?tab=readme-ov-file#delegate-authentication-and-authorization-to-openshift-for-infrastructure | `""` | +| `openshiftOauthProxy.accessReview.resource` | The OpenShift resource that the SubjectAccessReview/TokenAccessReview will be performed for. | `pods` | +| `openshiftOauthProxy.accessReview.subresource` | The OpenShift resource that the SubjectAccessReview/TokenAccessReview will be performed for. | `exec` | +| `openshiftOauthProxy.accessReview.name` | The OpenShift resource name that the SubjectAccessReview/TokenAccessReview will be performed for. | `""` | +| `openshiftOauthProxy.accessReview.namespace` | The OpenShift namespace that the SubjectAccessReview/TokenAccessReview will be performed for. | `{{ .Release.Namespace }}` | +| `openshiftOauthProxy.accessReview.verb` | The OpenShift resource name that the SubjectAccessReview/TokenAccessReview will be performed for. | `create` | +| `openshiftOauthProxy.accessReview.version` | The OpenShift resource version that the SubjectAccessReview/TokenAccessReview will be performed for. | `""` | +| `openshiftOauthProxy.securityContext` | Security Context for the OpenShift OAuth Proxy container. Defaults to meet "restricted" [Pod Security Standard](https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted). See: [SecurityContext](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context-1) | `{}` | + +### Other Parameters + +| Name | Description | Value | +| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | +| `imagePullSecrets` | Image pull secrets to be used for the Cryostat deployment | `[]` | +| `nameOverride` | Overrides the name of this Chart | `""` | +| `fullnameOverride` | Overrides the fully qualified application name of `[release name]-[chart name]` | `""` | +| `rbac.create` | Specifies whether RBAC resources should be created | `true` | +| `serviceAccount.create` | Specifies whether a service account should be created | `true` | +| `serviceAccount.annotations` | Annotations to add to the service account | `{}` | +| `serviceAccount.name` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | `""` | +| `podAnnotations` | Annotations to be applied to the Cryostat Pod | `{}` | +| `podSecurityContext` | Security Context for the Cryostat Pod. Defaults to meet "restricted" [Pod Security Standard](https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted). See: [PodSecurityContext](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context) | `{}` | +| `nodeSelector` | Node Selector for the Cryostat Pod. See: [NodeSelector](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling) | `{}` | +| `tolerations` | Tolerations for the Cryostat Pod. See: [Tolerations](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling) | `[]` | +| `affinity` | Affinity for the Cryostat Pod. See: [Affinity](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling) | `{}` | +| `pvc.enabled` | Specify whether to use persistentVolumeClaim or EmptyDir storage | `false` | +| `pvc.annotations` | Annotations to add to the persistentVolumeClaim | `{}` | +| `pvc.storage` | Storage size to request for the persistentVolumeClaim | `500Mi` | +| `pvc.accessModes` | Access mode for the persistentVolumeClaim. See: [Access Modes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims) | `["ReadWriteOnce"]` | +| `pvc.selector` | Selector for the persistentVolumeClaim. See: [Selector](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims) | `{}` | +| `pvc.storageClassName` | The name of the StorageClass for the persistentVolumeClaim. See: [Class](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims) | `undefined` | + diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/release-notes.md b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/release-notes.md new file mode 100644 index 00000000000..99ccb509ef3 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/release-notes.md @@ -0,0 +1 @@ + diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/NOTES.txt b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/NOTES.txt new file mode 100644 index 00000000000..47e22985e37 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/NOTES.txt @@ -0,0 +1,63 @@ +{{- $envVars := list }} +{{- $portForwards := list }} +{{- $listNum := 1 }} +{{- if not .Values.core.ingress.enabled }} +{{ $listNum }}. Tell Cryostat how to serve external traffic: +{{- $listNum = add1 $listNum }} + ``` +{{- if .Values.core.route.enabled }} +{{- /* Do nothing */}} + No actions required with this configuration. +{{- else if .Values.core.ingress.enabled }} +{{- /* Do nothing */}} + No actions required with this configuration. +{{- else if contains "NodePort" .Values.core.service.type }} + export NODE_IP=$(oc get nodes -n {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") + export NODE_PORT=$(oc get -n {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "cryostat.fullname" . }}) +{{- $envVars = list "QUARKUS_HTTP_HOST=$NODE_IP" }} +{{- else if contains "LoadBalancer" .Values.core.service.type }} + NOTE: It may take a few minutes for the LoadBalancer IP to be available. + You can watch the status by running 'oc get -n {{ .Release.Namespace }} -w svc/{{ include "cryostat.fullname" . }}' + export SERVICE_IP=$(oc get svc -n {{ .Release.Namespace }} {{ include "cryostat.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}") +{{- $envVars = list "QUARKUS_HTTP_HOST=$SERVICE_IP" }} +{{- else if contains "ClusterIP" .Values.core.service.type }} + export POD_NAME=$(oc get pods -n {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "cryostat.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" --sort-by=.metadata.creationTimestamp -o jsonpath="{.items[-1:].metadata.name}") + export CONTAINER_PORT=$(oc get pod -n {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}") +{{- $portForwards = prepend $portForwards "8080:$CONTAINER_PORT" }} +{{- end }} + +{{- if not (empty $envVars) }} + oc -n {{ .Release.Namespace }} set env deploy --containers={{ .Chart.Name }} {{ include "cryostat.fullname" . }} {{ join " " $envVars }} +{{- end }} + ``` +{{- end }} + +{{- if not (empty $portForwards) }} + +{{ $listNum }}. Forward local ports to the application's pod: + ``` + export POD_NAME=$(oc get pods -n {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "cryostat.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" --sort-by=.metadata.creationTimestamp -o jsonpath="{.items[-1:].metadata.name}") + oc -n {{ .Release.Namespace }} wait --for=condition=available --timeout=60s deploy/{{ include "cryostat.fullname" . }} + oc -n {{ .Release.Namespace }} port-forward $POD_NAME {{ join " " $portForwards }} + ``` + {{- $listNum = add1 $listNum }} +{{- end }} + +{{ $listNum }}. {{ "Visit the " }}{{ .Chart.Name | camelcase }}{{ " application at: " }} + ``` +{{- if .Values.core.route.enabled }} + echo {{ ternary "https" "http" .Values.core.route.tls.enabled }}://$(oc get route -n {{ .Release.Namespace }} {{ include "cryostat.fullname" . }} -o jsonpath="{.status.ingress[0].host}") +{{- else if .Values.core.ingress.enabled }} +{{- range $host := .Values.core.ingress.hosts -}} + {{- range .paths }} + {{ ternary "http" "https" (empty $.Values.core.ingress.tls) }}://{{ $host.host }}{{ .path }} + {{- end }} +{{- end }} +{{- else if contains "NodePort" .Values.core.service.type }} + echo http://$NODE_IP:$NODE_PORT +{{- else if contains "LoadBalancer" .Values.core.service.type }} + echo http://$SERVICE_IP:{{ .Values.core.service.httpPort }} +{{- else if contains "ClusterIP" .Values.core.service.type }} + http://localhost:8080 +{{- end }} + ``` diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/_helpers.tpl b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/_helpers.tpl new file mode 100644 index 00000000000..e760fa27a21 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/_helpers.tpl @@ -0,0 +1,147 @@ +{{/* +Expand the name of the chart. +*/}} +{{- define "cryostat.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Create a default fully qualified app name. +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +If release name contains chart name it will be used as a full name. +*/}} +{{- define "cryostat.fullname" -}} +{{- if .Values.fullnameOverride }} +{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- $name := default .Chart.Name .Values.nameOverride }} +{{- if contains $name .Release.Name }} +{{- .Release.Name | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} +{{- end }} +{{- end }} +{{- end }} + +{{/* +Create chart name and version as used by the chart label. +*/}} +{{- define "cryostat.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Common labels. +*/}} +{{- define "cryostat.labels" -}} +helm.sh/chart: {{ include "cryostat.chart" . }} +{{ include "cryostat.selectorLabels" . }} +{{- if .Chart.AppVersion }} +app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} +{{- end }} +app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- end }} + +{{/* +Selector labels. +*/}} +{{- define "cryostat.selectorLabels" -}} +app.kubernetes.io/name: {{ include "cryostat.name" . }} +app.kubernetes.io/instance: {{ .Release.Name }} +{{- end }} + +{{/* +Create the name of the service account to use. +*/}} +{{- define "cryostat.serviceAccountName" -}} +{{- if .Values.serviceAccount.create }} +{{- default (include "cryostat.fullname" .) .Values.serviceAccount.name }} +{{- else }} +{{- default "default" .Values.serviceAccount.name }} +{{- end }} +{{- end }} + +{{/* +Get or generate a default connection key for database. +*/}} +{{- define "cryostat.databaseConnectionKey" -}} +{{- $secret := (lookup "v1" "Secret" .Release.Namespace (printf "%s-db" .Release.Name)) -}} +{{- if $secret -}} +{{/* + Use current key. Do not regenerate. +*/}} +{{- $secret.data.CONNECTION_KEY -}} +{{- else -}} +{{/* + Generate new key. +*/}} +{{- (randAlphaNum 32) | b64enc | quote -}} +{{- end -}} +{{- end -}} + +{{/* +Get or generate a default encryption key for database. +*/}} +{{- define "cryostat.databaseEncryptionKey" -}} +{{- $secret := (lookup "v1" "Secret" .Release.Namespace (printf "%s-db" .Release.Name)) -}} +{{- if $secret -}} +{{/* + Use current key. Do not regenerate. +*/}} +{{- $secret.data.ENCRYPTION_KEY -}} +{{- else -}} +{{/* + Generate new key +*/}} +{{- (randAlphaNum 32) | b64enc | quote -}} +{{- end -}} +{{- end -}} + +{{/* +Get or generate a default secret key for object storage. +*/}} +{{- define "cryostat.objectStorageSecretKey" -}} +{{- $secret := (lookup "v1" "Secret" .Release.Namespace (printf "%s-storage" .Release.Name)) -}} +{{- if $secret -}} +{{/* + Use current secret. Do not regenerate. +*/}} +{{- $secret.data.SECRET_KEY -}} +{{- else -}} +{{/* + Generate new secret +*/}} +{{- (randAlphaNum 32) | b64enc | quote -}} +{{- end -}} +{{- end -}} + +{{/* +Get or generate a default secret key for auth proxy cookies. +*/}} +{{- define "cryostat.cookieSecret" -}} +{{- $secret := (lookup "v1" "Secret" .Release.Namespace (printf "%s-cookie-secret" .Release.Name)) -}} +{{- if $secret -}} +{{/* + Use current secret. Do not regenerate. +*/}} +{{- $secret.data.COOKIE_SECRET -}} +{{- else -}} +{{/* + Generate new secret +*/}} +{{- (randAlphaNum 32) | b64enc | quote -}} +{{- end -}} +{{- end -}} + +{{/* + Get sanitized list or defaults (if not disabled) as comma-separated list. +*/}} +{{- define "cryostat.commaSepList" -}} +{{- $l := index . 0 -}} +{{- $default := index . 1 -}} +{{- $disableDefaults := index . 2 -}} +{{- if and (not $l) (not $disableDefaults) -}} +{{- $l = list $default -}} +{{- end -}} +{{- join "," (default list $l | compact | uniq) | quote -}} +{{- end -}} diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/_oauth2Proxy.tpl b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/_oauth2Proxy.tpl new file mode 100644 index 00000000000..3e6861253e9 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/_oauth2Proxy.tpl @@ -0,0 +1,47 @@ +{{/* +Create OAuth2 Proxy container. Configurations defined in alpha_config.yaml +*/}} +{{- define "cryostat.oauth2Proxy" -}} +- name: {{ printf "%s-%s" .Chart.Name "authproxy" }} + securityContext: + {{- toYaml (.Values.oauth2Proxy).securityContext | nindent 4 }} + image: "{{ (.Values.oauth2Proxy).image.repository }}:{{ (.Values.oauth2Proxy).image.tag }}" + args: + - "--alpha-config=/etc/oauth2_proxy/alpha_config/alpha_config.yaml" + imagePullPolicy: {{ (.Values.oauth2Proxy).image.pullPolicy }} + env: + - name: OAUTH2_PROXY_REDIRECT_URL + value: "http://localhost:4180/oauth2/callback" + - name: OAUTH2_PROXY_COOKIE_SECRET + valueFrom: + secretKeyRef: + name: {{ .Release.Name }}-cookie-secret + key: COOKIE_SECRET + optional: false + - name: OAUTH2_PROXY_EMAIL_DOMAINS + value: "*" + {{- if .Values.authentication.basicAuth.enabled }} + - name: OAUTH2_PROXY_HTPASSWD_USER_GROUP + value: write + - name: OAUTH2_PROXY_HTPASSWD_FILE + value: /etc/oauth2_proxy/basicauth/{{ .Values.authentication.basicAuth.filename }} + {{- end }} + {{- if not .Values.authentication.basicAuth.enabled }} + - name: OAUTH2_PROXY_SKIP_AUTH_ROUTES + value: ".*" + {{- else }} + - name: OAUTH2_PROXY_SKIP_AUTH_ROUTES + value: "^/health(/liveness)?$" + {{- end }} + ports: + - containerPort: 4180 + protocol: TCP + volumeMounts: + - name: alpha-config + mountPath: /etc/oauth2_proxy/alpha_config + {{- if .Values.authentication.basicAuth.enabled }} + - name: {{ .Release.Name }}-htpasswd + mountPath: /etc/oauth2_proxy/basicauth + readOnly: true + {{- end }} +{{- end}} diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/_openshiftOauthProxy.tpl b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/_openshiftOauthProxy.tpl new file mode 100644 index 00000000000..6af23010b51 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/_openshiftOauthProxy.tpl @@ -0,0 +1,55 @@ +{{/* +Create OpenShift OAuth Proxy container. +*/}} +{{- define "cryostat.openshiftOauthProxy" -}} +- name: {{ printf "%s-%s" .Chart.Name "authproxy" }} + securityContext: + {{- toYaml .Values.openshiftOauthProxy.securityContext | nindent 4 }} + image: "{{ .Values.openshiftOauthProxy.image.repository }}:{{ .Values.openshiftOauthProxy.image.tag }}" + env: + - name: COOKIE_SECRET + valueFrom: + secretKeyRef: + name: {{ .Release.Name }}-cookie-secret + key: COOKIE_SECRET + optional: false + args: + - --skip-provider-button={{ not .Values.authentication.basicAuth.enabled }} + - --pass-access-token=false + - --pass-user-bearer-token=false + - --pass-basic-auth=false + - --upstream=http://localhost:8181/ + - --upstream=http://localhost:3000/grafana/ + - --upstream=http://localhost:8333/storage/ + - --cookie-secret="$(COOKIE_SECRET)" + - --openshift-service-account={{ include "cryostat.serviceAccountName" . }} + - --proxy-websockets=true + - --http-address=0.0.0.0:4180 + - --https-address=:8443 + - --tls-cert=/etc/tls/private/tls.crt + - --tls-key=/etc/tls/private/tls.key + - --proxy-prefix=/oauth2 + {{- if .Values.openshiftOauthProxy.accessReview.enabled }} + - --openshift-sar=[{{ tpl ( omit .Values.openshiftOauthProxy.accessReview "enabled" | toJson ) . }}] + - --openshift-delegate-urls={"/":{{ tpl ( omit .Values.openshiftOauthProxy.accessReview "enabled" | toJson ) . }}} + {{- end }} + - --bypass-auth-for=^/health(/liveness)?$ + {{- if .Values.authentication.basicAuth.enabled }} + - --htpasswd-file=/etc/openshift_oauth_proxy/basicauth/{{ .Values.authentication.basicAuth.filename }} + {{- end }} + imagePullPolicy: {{ .Values.openshiftOauthProxy.image.pullPolicy }} + ports: + - containerPort: 4180 + protocol: TCP + volumeMounts: + {{- if .Values.authentication.basicAuth.enabled }} + - name: {{ .Release.Name }}-htpasswd + mountPath: /etc/openshift_oauth_proxy/basicauth + readOnly: true + {{- end }} + - name: {{ .Release.Name }}-proxy-tls + mountPath: /etc/tls/private + resources: {} + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File +{{- end}} diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/alpha_config.yaml b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/alpha_config.yaml new file mode 100644 index 00000000000..94f1fa07893 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/alpha_config.yaml @@ -0,0 +1,36 @@ +{{/* + Alpha Configuration is not used with OpenShift OAuth Proxy +*/}} +{{- if not (.Values.authentication.openshift).enabled -}} +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ .Release.Name }}-alpha-config + labels: + {{- include "cryostat.labels" . | nindent 4 }} +data: + alpha_config.yaml: |- + server: + BindAddress: http://0.0.0.0:4180 + upstreamConfig: + proxyRawPath: true + upstreams: + - id: cryostat + path: / + uri: http://localhost:8181 + - id: grafana + path: /grafana/ + uri: http://localhost:3000 + - id: storage + path: ^/storage/(.*)$ + rewriteTarget: /$1 + uri: http://localhost:8333 + passHostHeader: false + proxyWebSockets: false + providers: + - id: dummy + name: Unused - Sign In Below + clientId: CLIENT_ID + clientSecret: CLIENT_SECRET + provider: google +{{- end }} diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/clusterrolebinding.yaml b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/clusterrolebinding.yaml new file mode 100644 index 00000000000..4721c7c3b4d --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/clusterrolebinding.yaml @@ -0,0 +1,16 @@ +{{- if and (.Values.rbac.create) (.Values.authentication.openshift.enabled) -}} +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: {{ include "cryostat.fullname" . }} + labels: + {{- include "cryostat.labels" . | nindent 4 }} +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: {{ .Values.authentication.openshift.clusterRole.name }} +subjects: +- kind: ServiceAccount + name: {{ include "cryostat.serviceAccountName" . }} + namespace: {{ .Release.Namespace }} +{{- end }} diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/cookie_secret.yaml b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/cookie_secret.yaml new file mode 100644 index 00000000000..fe2ade86544 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/cookie_secret.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +kind: Secret +metadata: + name: {{ .Release.Name }}-cookie-secret +type: Opaque +data: + COOKIE_SECRET: {{ include "cryostat.cookieSecret" . }} diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/db_secret.yaml b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/db_secret.yaml new file mode 100644 index 00000000000..26df5339f38 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/db_secret.yaml @@ -0,0 +1,11 @@ +{{- if empty .Values.core.databaseSecretName -}} +apiVersion: v1 +kind: Secret +metadata: + name: {{ .Release.Name }}-db +type: Opaque +immutable: true +data: + ENCRYPTION_KEY: {{ include "cryostat.databaseEncryptionKey" . }} + CONNECTION_KEY: {{ include "cryostat.databaseConnectionKey" . }} +{{- end -}} diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/deployment.yaml b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/deployment.yaml new file mode 100644 index 00000000000..07f1fecc932 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/deployment.yaml @@ -0,0 +1,283 @@ +{{- $fullName := include "cryostat.fullname" . -}} +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ include "cryostat.fullname" . }} + labels: + {{- include "cryostat.labels" . | nindent 4 }} +spec: + replicas: 1 + strategy: + type: Recreate + selector: + matchLabels: + {{- include "cryostat.selectorLabels" . | nindent 6 }} + template: + metadata: + {{- with .Values.podAnnotations }} + annotations: + {{- toYaml . | nindent 8 }} + {{- end }} + labels: + {{- include "cryostat.selectorLabels" . | nindent 8 }} + spec: + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} + serviceAccountName: {{ include "cryostat.serviceAccountName" . }} + securityContext: + {{- toYaml .Values.podSecurityContext | nindent 8 }} + containers: + {{- if (.Values.authentication.openshift).enabled }} + {{- include "cryostat.openshiftOauthProxy" . | nindent 8 }} + {{- else }} + {{- include "cryostat.oauth2Proxy" . | nindent 8 }} + {{- end }} + - name: {{ .Chart.Name }} + securityContext: + {{- toYaml .Values.core.securityContext | nindent 12 }} + image: "{{ .Values.core.image.repository }}:{{ .Values.core.image.tag }}" + imagePullPolicy: {{ .Values.core.image.pullPolicy }} + env: + - name: QUARKUS_HTTP_HOST + value: localhost + - name: QUARKUS_HTTP_PORT + value: "8181" + - name: QUARKUS_HTTP_PROXY_PROXY_ADDRESS_FORWARDING + value: 'true' + - name: QUARKUS_HTTP_PROXY_ALLOW_X_FORWARDED + value: 'true' + - name: QUARKUS_HTTP_PROXY_ENABLE_FORWARDED_HOST + value: 'true' + - name: QUARKUS_HTTP_PROXY_ENABLE_FORWARDED_PREFIX + value: 'true' + - name: QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION + value: drop-and-create + - name: QUARKUS_DATASOURCE_USERNAME + value: cryostat3 + - name: QUARKUS_DATASOURCE_PASSWORD + valueFrom: + secretKeyRef: + name: {{ default (printf "%s-db" .Release.Name) .Values.core.databaseSecretName }} + key: CONNECTION_KEY + optional: false + - name: QUARKUS_DATASOURCE_JDBC_URL + value: jdbc:postgresql://localhost:5432/cryostat3 + - name: STORAGE_BUCKETS_ARCHIVES_NAME + value: archivedrecordings + - name: QUARKUS_S3_ENDPOINT_OVERRIDE + value: http://localhost:8333 + - name: QUARKUS_S3_PATH_STYLE_ACCESS + value: "true" + - name: QUARKUS_S3_AWS_REGION + value: us-east-1 + - name: QUARKUS_S3_AWS_CREDENTIALS_TYPE + value: static + - name: QUARKUS_S3_AWS_CREDENTIALS_STATIC_PROVIDER_ACCESS_KEY_ID + value: cryostat + - name: AWS_ACCESS_KEY_ID + value: $(QUARKUS_S3_AWS_CREDENTIALS_STATIC_PROVIDER_ACCESS_KEY_ID) + - name: QUARKUS_S3_AWS_CREDENTIALS_STATIC_PROVIDER_SECRET_ACCESS_KEY + valueFrom: + secretKeyRef: + name: {{ printf "%s-storage" .Release.Name }} + key: SECRET_KEY + optional: false + - name: AWS_SECRET_ACCESS_KEY + value: $(QUARKUS_S3_AWS_CREDENTIALS_STATIC_PROVIDER_SECRET_ACCESS_KEY) + - name: GRAFANA_DATASOURCE_URL + value: http://localhost:8800 + - name: GRAFANA_DASHBOARD_URL + value: http://localhost:3000 + - name: GRAFANA_DASHBOARD_EXT_URL + value: /grafana/ + {{- if .Values.core.discovery.kubernetes.enabled }} + - name: CRYOSTAT_DISCOVERY_KUBERNETES_ENABLED + value: "true" + {{- with .Values.core.discovery.kubernetes }} + - name: CRYOSTAT_DISCOVERY_KUBERNETES_NAMESPACES + value: {{ include "cryostat.commaSepList" (list .namespaces $.Release.Namespace .installNamespaceDisabled) }} + - name: CRYOSTAT_DISCOVERY_KUBERNETES_PORT_NAMES + value: {{ include "cryostat.commaSepList" (list .portNames "jfr-jmx" .builtInPortNamesDisabled) }} + - name: CRYOSTAT_DISCOVERY_KUBERNETES_PORT_NUMBERS + value: {{ include "cryostat.commaSepList" (list .portNumbers 9091 .builtInPortNumbersDisabled) }} + {{- end }} + {{- end }} + ports: + - containerPort: 8181 + protocol: TCP + livenessProbe: + httpGet: + path: "/health/liveness" + port: 8181 + startupProbe: + httpGet: + path: "/health/liveness" + port: 8181 + failureThreshold: 18 + resources: + {{- toYaml .Values.core.resources | nindent 12 }} + - name: {{ printf "%s-%s" .Chart.Name "db" }} + securityContext: + {{- toYaml (.Values.db).securityContext | nindent 12 }} + image: "{{ (.Values.db).image.repository }}:{{ (.Values.db).image.tag }}" + imagePullPolicy: {{ (.Values.db).image.pullPolicy }} + env: + - name: POSTGRESQL_USER + value: cryostat3 + - name: POSTGRESQL_PASSWORD + valueFrom: + secretKeyRef: + name: {{ default (printf "%s-db" .Release.Name) .Values.core.databaseSecretName }} + key: CONNECTION_KEY + optional: false + - name: POSTGRESQL_DATABASE + value: cryostat3 + - name: PG_ENCRYPT_KEY + valueFrom: + secretKeyRef: + name: {{ default (printf "%s-db" .Release.Name) .Values.core.databaseSecretName }} + key: ENCRYPTION_KEY + optional: false + ports: + - containerPort: 5432 + protocol: TCP + volumeMounts: + - mountPath: /var/lib/pgsql/data + name: {{ .Chart.Name }} + subPath: postgres + readinessProbe: + exec: + command: + - pg_isready + - -U + - cryostat3 + - -d + - cryostat3 + - name: {{ printf "%s-%s" .Chart.Name "storage" }} + securityContext: + {{- toYaml (.Values.storage).securityContext | nindent 12 }} + image: "{{ (.Values.storage).image.repository }}:{{ (.Values.storage).image.tag }}" + imagePullPolicy: {{ (.Values.storage).image.pullPolicy }} + env: + - name: CRYOSTAT_BUCKETS + value: archivedrecordings,archivedreports,eventtemplates,probes + - name: CRYOSTAT_ACCESS_KEY + value: cryostat + - name: CRYOSTAT_SECRET_KEY + valueFrom: + secretKeyRef: + name: {{ printf "%s-storage" .Release.Name }} + key: SECRET_KEY + optional: false + - name: DATA_DIR + value: /data + - name: IP_BIND + value: 0.0.0.0 + ports: + - containerPort: 8333 + protocol: TCP + volumeMounts: + - mountPath: /data + name: {{ .Chart.Name }} + subPath: seaweed + livenessProbe: + httpGet: + path: "/status" + port: 8333 + periodSeconds: 10 + failureThreshold: 2 + startupProbe: + httpGet: + path: "/status" + port: 8333 + periodSeconds: 10 + failureThreshold: 9 + resources: + {{- toYaml (.Values.storage).resources | nindent 12 }} + - name: {{ printf "%s-%s" .Chart.Name "grafana" }} + securityContext: + {{- toYaml .Values.grafana.securityContext | nindent 12 }} + image: "{{ .Values.grafana.image.repository }}:{{ .Values.grafana.image.tag }}" + imagePullPolicy: {{ .Values.grafana.image.pullPolicy }} + env: + - name: GF_AUTH_ANONYMOUS_ENABLED + value: "true" + - name: GF_SERVER_DOMAIN + value: localhost + - name: GF_SERVER_ROOT_URL + value: http://localhost:4180/grafana/ + - name: GF_SERVER_SERVE_FROM_SUB_PATH + value: "true" + - name: JFR_DATASOURCE_URL + value: http://localhost:8800 + ports: + - containerPort: 3000 + protocol: TCP + livenessProbe: + httpGet: + path: /api/health + port: 3000 + resources: + {{- toYaml .Values.grafana.resources | nindent 12 }} + - name: {{ printf "%s-%s" .Chart.Name "jfr-datasource" }} + securityContext: + {{- toYaml .Values.datasource.securityContext | nindent 12 }} + image: "{{ .Values.datasource.image.repository }}:{{ .Values.datasource.image.tag }}" + imagePullPolicy: {{ .Values.datasource.image.pullPolicy }} + env: + - name: LISTEN_HOST + value: localhost + - name: QUARKUS_HTTP_PORT + value: "8800" + ports: + - containerPort: 8800 + protocol: TCP + livenessProbe: + exec: + command: + - curl + - --fail + - http://localhost:8800 + resources: + {{- toYaml .Values.datasource.resources | nindent 12 }} + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.affinity }} + affinity: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} + volumes: + {{- if ((.Values.pvc).enabled) }} + - name: {{ .Chart.Name }} + persistentVolumeClaim: + claimName: {{ .Release.Name }} + {{- end }} + {{- if not ((.Values.pvc).enabled) }} + - name: {{ .Chart.Name }} + emptyDir: {} + {{- end }} + {{- if not (.Values.authentication.openshift).enabled }} + - name: alpha-config + configMap: + name: {{ .Release.Name }}-alpha-config + {{- end }} + {{- if .Values.authentication.basicAuth.enabled }} + - name: {{ .Release.Name }}-htpasswd + secret: + defaultMode: 0440 + secretName: {{ .Values.authentication.basicAuth.secretName }} + {{- end }} + {{- if (.Values.authentication.openshift).enabled }} + - name: {{ .Release.Name }}-proxy-tls + secret: + secretName: {{ .Release.Name }}-proxy-tls + {{- end }} diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/ingress.yaml b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/ingress.yaml new file mode 100644 index 00000000000..4a051f66c3a --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/ingress.yaml @@ -0,0 +1,70 @@ +{{- define "cryostat.createIngress" }} +{{- $svcName := index . 0 }} +{{- $svcPort := index . 1 }} +{{- $ := index . 2 }} +{{- with index . 3 }} +{{- if and .ingress.className (not (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion)) }} + {{- if not (hasKey .ingress.annotations "kubernetes.io/ingress.class") }} + {{- $_ := set .ingress.annotations "kubernetes.io/ingress.class" .ingress.className}} + {{- end }} +{{- end }} +--- +{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion -}} +apiVersion: networking.k8s.io/v1 +{{- else if semverCompare ">=1.14-0" $.Capabilities.KubeVersion.GitVersion -}} +apiVersion: networking.k8s.io/v1beta1 +{{- else -}} +apiVersion: extensions/v1beta1 +{{- end }} +kind: Ingress +metadata: + name: {{ $svcName }} + {{- $labels := include "cryostat.labels" $ | nindent 4 }} + labels: {{ $labels }} + {{- with .ingress.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +spec: + {{- if and .ingress.className (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }} + ingressClassName: {{ .ingress.className }} + {{- end }} + {{- if .ingress.tls }} + tls: + {{- range .ingress.tls }} + - hosts: + {{- range .hosts }} + - {{ . | quote }} + {{- end }} + secretName: {{ .secretName }} + {{- end }} + {{- end }} + rules: + {{- range .ingress.hosts }} + - host: {{ .host | quote }} + http: + paths: + {{- range .paths }} + - path: {{ .path }} + {{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }} + pathType: {{ .pathType }} + {{- end }} + backend: + {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} + service: + name: {{ $svcName }} + port: + number: {{ $svcPort }} + {{- else }} + serviceName: {{ $svcName }} + servicePort: {{ $svcPort }} + {{- end }} + {{- end }} + {{- end }} +{{- end }} +{{- end }} + +{{- $fullName := include "cryostat.fullname" . -}} +{{- if .Values.core.ingress.enabled }} +{{- include "cryostat.createIngress" (list $fullName .Values.core.service.httpPort $ .Values.core)}} +{{- end }} diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/pvc.yaml b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/pvc.yaml new file mode 100644 index 00000000000..9e45362314e --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/pvc.yaml @@ -0,0 +1,27 @@ +{{- if ((.Values.pvc).enabled) }} +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: {{ include "cryostat.fullname" . }} + {{- $labels := include "cryostat.labels" $ | nindent 4 }} + labels: {{ $labels }} + {{- with .Values.pvc.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +spec: + {{- with .Values.pvc.accessModes }} + accessModes: + {{- toYaml . | nindent 4 }} + {{- end }} + resources: + requests: + storage: {{ .Values.pvc.storage }} + {{- if kindIs "string" .Values.pvc.storageClassName }} + storageClassName: {{ .Values.pvc.storageClassName | quote }} + {{- end }} + {{- with .Values.pvc.selector }} + selector: + {{- toYaml . | nindent 4 }} + {{- end }} +{{- end }} diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/role.yaml b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/role.yaml new file mode 100644 index 00000000000..98f96c60995 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/role.yaml @@ -0,0 +1,61 @@ +{{- define "cryostat.createRole" -}} +{{- $ns := index . 0 -}} +{{- with index . 1 -}} +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: {{ include "cryostat.fullname" . }} + namespace: {{ $ns }} + labels: + {{- include "cryostat.labels" . | nindent 4 }} +rules: +- apiGroups: + - "" + resources: + - endpoints + verbs: + - get + - list + - watch +- apiGroups: + - "" + resources: + - pods + - replicationcontrollers + verbs: + - get +- apiGroups: + - apps + resources: + - replicasets + - deployments + - daemonsets + - statefulsets + verbs: + - get +- apiGroups: + - apps.openshift.io + resources: + - deploymentconfigs + verbs: + - get +- apiGroups: + - route.openshift.io + resources: + - routes + verbs: + - get + - list +{{- end -}} +{{- end -}} + +{{- if and .Values.rbac.create .Values.core.discovery.kubernetes.enabled -}} +{{- $watchNs := compact (default list .Values.core.discovery.kubernetes.namespaces) | uniq -}} +{{- if and (not $watchNs) (not .Values.core.discovery.kubernetes.installNamespaceDisabled) -}} +{{- $watchNs = list .Release.Namespace -}} +{{- end -}} +{{- range $ns := $watchNs }} +{{ include "cryostat.createRole" (list $ns $) }} +{{- end -}} +{{- end -}} diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/rolebinding.yaml b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/rolebinding.yaml new file mode 100644 index 00000000000..b2404966749 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/rolebinding.yaml @@ -0,0 +1,31 @@ +{{- define "cryostat.createRolebinding" -}} +{{- $ns := index . 0 -}} +{{- with index . 1 -}} +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: {{ include "cryostat.fullname" . }} + namespace: {{ $ns }} + labels: + {{- include "cryostat.labels" . | nindent 4 }} +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: {{ include "cryostat.fullname" . }} +subjects: +- kind: ServiceAccount + name: {{ include "cryostat.serviceAccountName" . }} + namespace: {{ .Release.Namespace }} +{{- end -}} +{{- end -}} + +{{- if and .Values.rbac.create .Values.core.discovery.kubernetes.enabled -}} +{{- $watchNs := compact (default list .Values.core.discovery.kubernetes.namespaces) | uniq -}} +{{- if and (not $watchNs) (not .Values.core.discovery.kubernetes.installNamespaceDisabled) -}} +{{- $watchNs = list .Release.Namespace -}} +{{- end -}} +{{- range $ns := $watchNs }} +{{ include "cryostat.createRolebinding" (list $ns $) }} +{{- end -}} +{{- end -}} diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/route.yaml b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/route.yaml new file mode 100644 index 00000000000..608269c11d7 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/route.yaml @@ -0,0 +1,50 @@ +{{- define "cryostat.createRoute" }} +{{- $svcName := index . 0 }} +{{- $targetPort := index . 1 }} +{{- $ := index . 2 }} +{{- with index . 3 }} +--- +apiVersion: route.openshift.io/v1 +kind: Route +metadata: + name: {{ $svcName }} + {{- $labels := include "cryostat.labels" $ | nindent 4 }} + labels: {{ $labels }} + {{- with .route.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +spec: + to: + kind: Service + name: {{ $svcName }} + port: + targetPort: {{ $targetPort }} +{{- if .route.tls.enabled }} + tls: + termination: {{ .route.tls.termination }} + insecureEdgeTerminationPolicy: {{ .route.tls.insecureEdgeTerminationPolicy }} + {{- if .route.tls.key }} + key: |- + {{- .route.tls.key | nindent 6 }} + {{- end }} + {{- if .route.tls.destinationCACertificate }} + destinationCACertificate: |- + {{- .route.tls.destinationCACertificate | nindent 6 }} + {{- end }} + {{- if .route.tls.caCertificate }} + caCertificate: |- + {{- .route.tls.caCertificate | nindent 6 }} + {{- end }} + {{- if .route.tls.certificate }} + certificate: |- + {{- .route.tls.certificate | nindent 6 }} + {{- end }} +{{- end }} +{{- end }} +{{- end }} + +{{- $fullName := include "cryostat.fullname" . -}} +{{- if .Values.core.route.enabled }} +{{- include "cryostat.createRoute" (list $fullName 4180 $ .Values.core)}} +{{- end }} diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/service.yaml b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/service.yaml new file mode 100644 index 00000000000..bfadcf62fb2 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/service.yaml @@ -0,0 +1,25 @@ +{{- $fullName := include "cryostat.fullname" . -}} +--- +apiVersion: v1 +kind: Service +metadata: + name: {{ $fullName }} + labels: + {{- include "cryostat.labels" $ | nindent 4 }} + {{- if (.Values.authentication.openshift).enabled }} + annotations: + service.alpha.openshift.io/serving-cert-secret-name: {{ .Release.Name }}-proxy-tls + {{- end }} +spec: + type: {{ .Values.core.service.type }} + ports: + - port: {{ .Values.core.service.httpPort }} + targetPort: 4180 + protocol: TCP + name: cryostat-http + - port: 443 + targetPort: 8443 + protocol: TCP + name: cryostat-https + selector: + {{- include "cryostat.selectorLabels" $ | nindent 4 }} diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/serviceaccount.yaml b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/serviceaccount.yaml new file mode 100644 index 00000000000..e6da50e6158 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/serviceaccount.yaml @@ -0,0 +1,17 @@ +{{- if (.Values.authentication.openshift).enabled -}} +{{- $fullName := include "cryostat.fullname" . -}} +{{- $redirectAnnotations := dict "serviceaccounts.openshift.io/oauth-redirectreference.primary" (printf "{\"kind\":\"OAuthRedirectReference\",\"apiVersion\":\"v1\",\"reference\":{\"kind\":\"Route\",\"name\":\"%s\"}}" $fullName) -}} +{{- $_ := merge .Values.serviceAccount.annotations $redirectAnnotations -}} +{{- end -}} +{{- if .Values.serviceAccount.create -}} +apiVersion: v1 +kind: ServiceAccount +metadata: + name: {{ include "cryostat.serviceAccountName" . }} + labels: + {{- include "cryostat.labels" . | nindent 4 }} + {{- with .Values.serviceAccount.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +{{- end }} diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/storage_access_secret.yaml b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/storage_access_secret.yaml new file mode 100644 index 00000000000..b17a18e37fa --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/storage_access_secret.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +kind: Secret +metadata: + name: {{ .Release.Name }}-storage +type: Opaque +data: + SECRET_KEY: {{ include "cryostat.objectStorageSecretKey" . }} diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/tests/test-core-connection.yaml b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/tests/test-core-connection.yaml new file mode 100644 index 00000000000..cfb917444c7 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/tests/test-core-connection.yaml @@ -0,0 +1,26 @@ +apiVersion: v1 +kind: Pod +metadata: + name: "{{ include "cryostat.fullname" . }}-test-core-connection" + labels: + {{- include "cryostat.labels" . | nindent 4 }} + annotations: + "helm.sh/hook": test +spec: + containers: + - name: curl + image: registry.access.redhat.com/ubi8/ubi:latest + command: + - '/bin/bash' + - '-exc' + - > + dnf install --disableplugin=subscription-manager -yq jq; + curl -sSf --retry 10 --retry-connrefused -o /tmp/out.json http://{{ include "cryostat.fullname" . }}:{{ .Values.core.service.httpPort }}/health; + cat /tmp/out.json; + {{- if hasSuffix "-dev" .Chart.AppVersion }} + jq -e '{{ printf "(.cryostatVersion | test(\"^v%s-snapshot$\"))" (.Chart.AppVersion | trimSuffix "-dev" | squote) }}' /tmp/out.json; + {{- else }} + jq -e '{{ printf "(.cryostatVersion | test(\"^v%s\"))" (.Chart.AppVersion | squote) }}' /tmp/out.json; + {{- end }} + jq -e '.datasourceAvailable' /tmp/out.json + restartPolicy: Never diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/tests/test-grafana-connection.yaml b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/tests/test-grafana-connection.yaml new file mode 100644 index 00000000000..d68c007e921 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/tests/test-grafana-connection.yaml @@ -0,0 +1,17 @@ +apiVersion: v1 +kind: Pod +metadata: + name: "{{ include "cryostat.fullname" . }}-test-grafana-connection" + labels: + {{- include "cryostat.labels" . | nindent 4 }} + annotations: + "helm.sh/hook": test +spec: + containers: + - name: curl + image: registry.access.redhat.com/ubi8/ubi:latest + command: + - '/bin/bash' + - '-exc' + - curl -sSf --retry 10 --retry-connrefused http://{{ include "cryostat.fullname" . }}:{{ .Values.core.service.httpPort }}/grafana/api/health + restartPolicy: Never diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/tests/test-storage-connection.yaml b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/tests/test-storage-connection.yaml new file mode 100644 index 00000000000..d743597526e --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/templates/tests/test-storage-connection.yaml @@ -0,0 +1,17 @@ +apiVersion: v1 +kind: Pod +metadata: + name: "{{ include "cryostat.fullname" . }}-test-storage-connection" + labels: + {{- include "cryostat.labels" . | nindent 4 }} + annotations: + "helm.sh/hook": test +spec: + containers: + - name: curl + image: registry.access.redhat.com/ubi8/ubi:latest + command: + - '/bin/bash' + - '-exc' + - curl -sSf --retry 10 --retry-connrefused http://{{ include "cryostat.fullname" . }}:{{ .Values.core.service.httpPort }}/storage/ + restartPolicy: Never diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/tests/alpha_config_test.yaml b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/tests/alpha_config_test.yaml new file mode 100644 index 00000000000..22b0deb7c49 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/tests/alpha_config_test.yaml @@ -0,0 +1,31 @@ +suite: test alpha_config.yaml +templates: + - templates/alpha_config.yaml + +tests: + - it: should create configmap with correct alpha configurations + asserts: + - matchRegex: + path: data['alpha_config.yaml'] + pattern: "server:\\s*BindAddress: http://0.0.0.0:4180" + - matchRegex: + path: data['alpha_config.yaml'] + pattern: "upstreamConfig:\\s*proxyRawPath: true\\s*upstreams:\\s*- id: cryostat\\s*path: /\\s*uri: http://localhost:8181" + - matchRegex: + path: data['alpha_config.yaml'] + pattern: "- id: grafana\\s*path: /grafana/\\s*uri: http://localhost:3000" + - matchRegex: + path: data['alpha_config.yaml'] + pattern: "- id: storage\\s*path: \\^/storage/\\(\\.\\*\\)\\$\\s*rewriteTarget: /\\$1\\s*uri: http://localhost:8333\\s*passHostHeader: false\\s*proxyWebSockets: false" + - matchRegex: + path: data['alpha_config.yaml'] + pattern: "providers:\\s*- id: dummy\\s*name: Unused - Sign In Below\\s*clientId: CLIENT_ID\\s*clientSecret: CLIENT_SECRET\\s*provider: google" + + - it: should not create alpha_config when openshift authentication is enabled + set: + authentication: + openshift: + enabled: true + asserts: + - hasDocuments: + count: 0 diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/tests/cookie_secret_test.yaml b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/tests/cookie_secret_test.yaml new file mode 100644 index 00000000000..de9479951cc --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/tests/cookie_secret_test.yaml @@ -0,0 +1,20 @@ +suite: test cookie_secret.yaml +templates: + - cookie_secret.yaml + +tests: + - it: should create a Cookie Secret with correct settings + asserts: + - hasDocuments: + count: 1 + - equal: + path: kind + value: Secret + - equal: + path: metadata.name + value: RELEASE-NAME-cookie-secret + - equal: + path: type + value: Opaque + - exists: + path: data.COOKIE_SECRET diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/values.schema.json b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/values.schema.json new file mode 100644 index 00000000000..8199d6d5c95 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/values.schema.json @@ -0,0 +1,752 @@ +{ + "title": "Chart Values", + "type": "object", + "properties": { + "core": { + "type": "object", + "properties": { + "image": { + "type": "object", + "properties": { + "repository": { + "type": "string", + "description": "Repository for the main Cryostat container image", + "default": "registry.redhat.io/cryostat-tech-preview/cryostat-rhel8" + }, + "pullPolicy": { + "type": "string", + "description": "Image pull policy for the main Cryostat container image", + "default": "IfNotPresent" + }, + "tag": { + "type": "string", + "description": "Tag for the main Cryostat container image", + "default": "3.0.1" + } + } + }, + "service": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of Service to create for the Cryostat application", + "default": "ClusterIP" + }, + "httpPort": { + "type": "number", + "description": "Port number to expose on the Service for Cryostat's HTTP server", + "default": 8181 + } + } + }, + "sslProxied": { + "type": "boolean", + "description": "Enables SSL Proxied Environment Variables, useful when you are offloading SSL/TLS at External Loadbalancer instead of Ingress", + "default": false + }, + "ingress": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether to create an Ingress object for the Cryostat service", + "default": false + }, + "className": { + "type": "string", + "description": "Ingress class name for the Cryostat application Ingress", + "default": "" + }, + "hosts": { + "type": "array", + "description": "", + "items": { + "type": "object", + "properties": { + "host": { + "type": "string", + "description": "" + }, + "paths": { + "type": "array", + "description": "", + "items": { + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "" + }, + "pathType": { + "type": "string", + "description": "" + } + } + } + } + } + } + }, + "tls": { + "type": "array", + "description": "TLS configuration for the Cryostat application Ingress. See: [IngressSpec](https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/#IngressSpec)", + "default": [], + "items": {} + } + } + }, + "route": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether to create a Route object for the Cryostat service. Available only on OpenShift", + "default": true + }, + "tls": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether to secure the Cryostat application Route with TLS. See: [TLSConfig](https://docs.openshift.com/container-platform/4.10/rest_api/network_apis/route-route-openshift-io-v1.html#spec-tls)", + "default": true + }, + "termination": { + "type": "string", + "description": "Type of TLS termination to use for the Cryostat application Route. One of: `edge`, `passthrough`, `reencrypt`", + "default": "edge" + }, + "insecureEdgeTerminationPolicy": { + "type": "string", + "description": "Specify how to handle insecure traffic for the Cryostat application Route. One of: `Allow`, `Disable`, `Redirect`", + "default": "Redirect" + }, + "key": { + "type": "string", + "description": "Custom private key to use when securing the Cryostat application Route", + "default": "" + }, + "certificate": { + "type": "string", + "description": "Custom certificate to use when securing the Cryostat application Route", + "default": "" + }, + "caCertificate": { + "type": "string", + "description": "Custom CA certificate to use, if needed to complete the certificate chain, when securing the Cryostat application Route", + "default": "" + }, + "destinationCACertificate": { + "type": "string", + "description": "Provides the contents of the CA certificate of the final destination when using reencrypt termination for the Cryostat application Route", + "default": "" + } + } + } + } + }, + "resources": { + "type": "object", + "description": "Resource requests/limits for the Cryostat container. See: [ResourceRequirements](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#resources)", + "default": {} + }, + "securityContext": { + "type": "object", + "properties": { + "capabilities": { + "type": "object", + "properties": { + "drop": { + "type": "array", + "description": "", + "default": [ + "ALL" + ], + "items": { + "type": "string" + } + } + } + }, + "allowPrivilegeEscalation": { + "type": "boolean", + "description": "", + "default": false + } + } + }, + "databaseSecretName": { + "type": "string", + "description": "Name of the secret containing database keys. This secret must contain a CONNECTION_KEY secret which is the database connection password, and an ENCRYPTION_KEY secret which is the key used to encrypt sensitive data stored within the database, such as the target credentials keyring. It must not be updated across chart upgrades. It is recommended that the secret should be marked as immutable to avoid accidental changes to secret's data. More details: https://kubernetes.io/docs/concepts/configuration/secret/#secret-immutable", + "default": "" + }, + "discovery": { + "type": "object", + "properties": { + "kubernetes": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Enables Kubernetes API discovery mechanism", + "default": true + }, + "installNamespaceDisabled": { + "type": "boolean", + "description": "When false and `namespaces` is empty, the Cryostat application will default to discovery targets in the install namespace (i.e. `{{ .Release.Namespace }}`)", + "default": false + }, + "namespaces": { + "type": "array", + "description": "List of namespaces whose workloads the Cryostat application should be permitted to access and profile", + "default": [], + "items": {} + }, + "builtInPortNamesDisabled": { + "type": "boolean", + "description": "When false and `portNames` is empty, the Cryostat application will use the default port name `jfr-jmx` to look for JMX connectable targets.", + "default": false + }, + "portNames": { + "type": "array", + "description": "List of port names that the Cryostat application should look for in order to consider a target as JMX connectable", + "default": [], + "items": {} + }, + "builtInPortNumbersDisabled": { + "type": "boolean", + "description": "When false and `portNumbers` is empty, the Cryostat application will use the default port number `9091` to look for JMX connectable targets.", + "default": false + }, + "portNumbers": { + "type": "array", + "description": "List of port numbers that the Cryostat application should look for in order to consider a target as JMX connectable", + "default": [], + "items": {} + } + } + } + } + } + } + }, + "db": { + "type": "object", + "properties": { + "securityContext": { + "type": "object", + "properties": { + "capabilities": { + "type": "object", + "properties": { + "drop": { + "type": "array", + "description": "", + "default": [ + "ALL" + ], + "items": { + "type": "string" + } + } + } + }, + "allowPrivilegeEscalation": { + "type": "boolean", + "description": "", + "default": false + } + } + }, + "image": { + "type": "object", + "properties": { + "repository": { + "type": "string", + "description": "Repository for the database container image", + "default": "registry.redhat.io/cryostat-tech-preview/cryostat-db-rhel8" + }, + "pullPolicy": { + "type": "string", + "description": "Image pull policy for the database container image", + "default": "IfNotPresent" + }, + "tag": { + "type": "string", + "description": "Tag for the database container image", + "default": "3.0.1" + } + } + }, + "resources": { + "type": "object", + "description": "Resource requests/limits for the database container. See: [ResourceRequirements](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#resources)", + "default": {} + } + } + }, + "storage": { + "type": "object", + "properties": { + "securityContext": { + "type": "object", + "properties": { + "capabilities": { + "type": "object", + "properties": { + "drop": { + "type": "array", + "description": "", + "default": [ + "ALL" + ], + "items": { + "type": "string" + } + } + } + }, + "allowPrivilegeEscalation": { + "type": "boolean", + "description": "", + "default": false + } + } + }, + "image": { + "type": "object", + "properties": { + "repository": { + "type": "string", + "description": "Repository for the storage container image", + "default": "registry.redhat.io/cryostat-tech-preview/cryostat-storage-rhel8" + }, + "pullPolicy": { + "type": "string", + "description": "Image pull policy for the storage container image", + "default": "IfNotPresent" + }, + "tag": { + "type": "string", + "description": "Tag for the storage container image", + "default": "3.0.1" + } + } + }, + "resources": { + "type": "object", + "description": "Resource requests/limits for the storage container. See: [ResourceRequirements](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#resources)", + "default": {} + } + } + }, + "grafana": { + "type": "object", + "properties": { + "securityContext": { + "type": "object", + "properties": { + "capabilities": { + "type": "object", + "properties": { + "drop": { + "type": "array", + "description": "", + "default": [ + "ALL" + ], + "items": { + "type": "string" + } + } + } + }, + "allowPrivilegeEscalation": { + "type": "boolean", + "description": "", + "default": false + } + } + }, + "image": { + "type": "object", + "properties": { + "repository": { + "type": "string", + "description": "Repository for the Grafana container image", + "default": "registry.redhat.io/cryostat-tech-preview/cryostat-grafana-dashboard-rhel8" + }, + "pullPolicy": { + "type": "string", + "description": "Image pull policy for the Grafana container image", + "default": "IfNotPresent" + }, + "tag": { + "type": "string", + "description": "Tag for the Grafana container image", + "default": "3.0.1" + } + } + }, + "service": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of Service to create for Grafana", + "default": "ClusterIP" + }, + "port": { + "type": "number", + "description": "Port number to expose on the Service for Grafana's HTTP server", + "default": 3000 + } + } + }, + "resources": { + "type": "object", + "description": "Resource requests/limits for the Grafana container. See: [ResourceRequirements](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#resources)", + "default": {} + } + } + }, + "datasource": { + "type": "object", + "properties": { + "securityContext": { + "type": "object", + "properties": { + "capabilities": { + "type": "object", + "properties": { + "drop": { + "type": "array", + "description": "", + "default": [ + "ALL" + ], + "items": { + "type": "string" + } + } + } + }, + "allowPrivilegeEscalation": { + "type": "boolean", + "description": "", + "default": false + } + } + }, + "image": { + "type": "object", + "properties": { + "repository": { + "type": "string", + "description": "Repository for the JFR Data Source container image", + "default": "registry.redhat.io/cryostat-tech-preview/jfr-datasource-rhel8" + }, + "pullPolicy": { + "type": "string", + "description": "Image pull policy for the JFR Data Source container image", + "default": "IfNotPresent" + }, + "tag": { + "type": "string", + "description": "Tag for the JFR Data Source container image", + "default": "3.0.1" + } + } + }, + "resources": { + "type": "object", + "description": "Resource requests/limits for the JFR Data Source container. See: [ResourceRequirements](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#resources)", + "default": {} + } + } + }, + "oauth2Proxy": { + "type": "object", + "properties": { + "securityContext": { + "type": "object", + "properties": { + "capabilities": { + "type": "object", + "properties": { + "drop": { + "type": "array", + "description": "", + "default": [ + "ALL" + ], + "items": { + "type": "string" + } + } + } + }, + "allowPrivilegeEscalation": { + "type": "boolean", + "description": "", + "default": false + } + } + }, + "image": { + "type": "object", + "properties": { + "repository": { + "type": "string", + "description": "Repository for the OAuth2 Proxy container image", + "default": "" + }, + "pullPolicy": { + "type": "string", + "description": "Image pull policy for the OAuth2 Proxy container image", + "default": "Never" + }, + "tag": { + "type": "string", + "description": "Tag for the OAuth2 Proxy container image", + "default": "" + } + } + } + } + }, + "authentication": { + "type": "object", + "properties": { + "openshift": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the OAuth Proxy deployed for securing Cryostat's Pods should be one that integrates with OpenShift-specific features, or a generic one.", + "default": true + }, + "clusterRole": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the ClusterRole to bind for the OpenShift OAuth Proxy", + "default": "system:auth-delegator" + } + } + } + } + }, + "basicAuth": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether Cryostat should use basic authentication for users. When false, Cryostat will not perform any form of authentication", + "default": false + }, + "secretName": { + "type": "string", + "description": "Name of the Secret that contains the credentials within Cryostat's namespace **(Required if basicAuth is enabled)**", + "default": "" + }, + "filename": { + "type": "string", + "description": "Key within Secret containing the `htpasswd` file. The file should contain one user definition entry per line, with the syntax \"user:passHash\", where \"user\" is the username and \"passHash\" is the `bcrypt` hash of the desired password. Such an entry can be generated with ex. `htpasswd -nbB username password` **(Required if basicAuth is enabled)**", + "default": "" + } + } + } + } + }, + "openshiftOauthProxy": { + "type": "object", + "properties": { + "securityContext": { + "type": "object", + "properties": { + "capabilities": { + "type": "object", + "properties": { + "drop": { + "type": "array", + "description": "", + "default": [ + "ALL" + ], + "items": { + "type": "string" + } + } + } + }, + "allowPrivilegeEscalation": { + "type": "boolean", + "description": "", + "default": false + } + } + }, + "image": { + "type": "object", + "properties": { + "repository": { + "type": "string", + "description": "Repository for the OpenShift OAuth Proxy container image", + "default": "registry.redhat.io/cryostat-tech-preview/cryostat-ose-oauth-proxy-rhel8" + }, + "pullPolicy": { + "type": "string", + "description": "Image pull policy for the OpenShift OAuth Proxy container image", + "default": "IfNotPresent" + }, + "tag": { + "type": "string", + "description": "Tag for the OpenShift OAuth Proxy container image", + "default": "3.0.1" + } + } + }, + "accessReview": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the SubjectAccessReview/TokenAccessReview role checks for users and clients are enabled. If this is disabled then the proxy will only check that the user has valid credentials or holds a valid token.", + "default": true + }, + "group": { + "type": "string", + "description": "The OpenShift resource group that the SubjectAccessReview/TokenAccessReview will be performed for. See https://github.com/openshift/oauth-proxy/?tab=readme-ov-file#delegate-authentication-and-authorization-to-openshift-for-infrastructure", + "default": "" + }, + "resource": { + "type": "string", + "description": "The OpenShift resource that the SubjectAccessReview/TokenAccessReview will be performed for.", + "default": "pods" + }, + "subresource": { + "type": "string", + "description": "The OpenShift resource that the SubjectAccessReview/TokenAccessReview will be performed for.", + "default": "exec" + }, + "name": { + "type": "string", + "description": "The OpenShift resource name that the SubjectAccessReview/TokenAccessReview will be performed for.", + "default": "" + }, + "namespace": { + "type": "string", + "description": "The OpenShift namespace that the SubjectAccessReview/TokenAccessReview will be performed for.", + "default": "{{ .Release.Namespace }}" + }, + "verb": { + "type": "string", + "description": "The OpenShift resource name that the SubjectAccessReview/TokenAccessReview will be performed for.", + "default": "create" + }, + "version": { + "type": "string", + "description": "The OpenShift resource version that the SubjectAccessReview/TokenAccessReview will be performed for.", + "default": "" + } + } + } + } + }, + "podSecurityContext": { + "type": "object", + "properties": { + "seccompProfile": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "", + "default": "RuntimeDefault" + } + } + }, + "runAsNonRoot": { + "type": "boolean", + "description": "", + "default": true + } + } + }, + "imagePullSecrets": { + "type": "array", + "description": "Image pull secrets to be used for the Cryostat deployment", + "default": [], + "items": {} + }, + "nameOverride": { + "type": "string", + "description": "Overrides the name of this Chart", + "default": "" + }, + "fullnameOverride": { + "type": "string", + "description": "Overrides the fully qualified application name of `[release name]-[chart name]`", + "default": "" + }, + "rbac": { + "type": "object", + "properties": { + "create": { + "type": "boolean", + "description": "Specifies whether RBAC resources should be created", + "default": true + } + } + }, + "serviceAccount": { + "type": "object", + "properties": { + "create": { + "type": "boolean", + "description": "Specifies whether a service account should be created", + "default": true + }, + "name": { + "type": "string", + "description": "The name of the service account to use. If not set and create is true, a name is generated using the fullname template", + "default": "" + } + } + }, + "tolerations": { + "type": "array", + "description": "Tolerations for the Cryostat Pod. See: [Tolerations](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling)", + "default": [], + "items": {} + }, + "pvc": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Specify whether to use persistentVolumeClaim or EmptyDir storage", + "default": false + }, + "storage": { + "type": "string", + "description": "Storage size to request for the persistentVolumeClaim", + "default": "500Mi" + }, + "accessModes": { + "type": "array", + "description": "Access mode for the persistentVolumeClaim. See: [Access Modes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims)", + "default": [ + "ReadWriteOnce" + ], + "items": { + "type": "string" + } + } + } + } + } +} \ No newline at end of file diff --git a/charts/redhat/redhat/redhat-cryostat/1.0.1/src/values.yaml b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/values.yaml new file mode 100644 index 00000000000..7ec7178bfa4 --- /dev/null +++ b/charts/redhat/redhat/redhat-cryostat/1.0.1/src/values.yaml @@ -0,0 +1,296 @@ +## @section Cryostat Container +## @extra core Configuration for the core Cryostat application +core: + image: + ## @param core.image.repository Repository for the main Cryostat container image + repository: "registry.redhat.io/cryostat-tech-preview/cryostat-rhel8" + ## @param core.image.pullPolicy Image pull policy for the main Cryostat container image + pullPolicy: IfNotPresent + ## @param core.image.tag Tag for the main Cryostat container image + tag: "3.0.1" + service: + ## @param core.service.type Type of Service to create for the Cryostat application + type: ClusterIP + ## @param core.service.httpPort Port number to expose on the Service for Cryostat's HTTP server + httpPort: 8181 + ## @param core.sslProxied Enables SSL Proxied Environment Variables, useful when you are offloading SSL/TLS at External Loadbalancer instead of Ingress + sslProxied: false + ingress: + ## @param core.ingress.enabled Whether to create an Ingress object for the Cryostat service + enabled: false + ## @param core.ingress.className Ingress class name for the Cryostat application Ingress + className: "" + ## @param core.ingress.annotations [object] Annotations to apply to the Cryostat application Ingress + annotations: {} + ## @param core.ingress.hosts [array] Hosts to create rules for in the Cryostat application Ingress. See: [IngressSpec](https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/#IngressSpec) + hosts: + - host: cryostat.local + paths: + - path: / + pathType: ImplementationSpecific + ## @param core.ingress.tls [array] TLS configuration for the Cryostat application Ingress. See: [IngressSpec](https://kubernetes.io/docs/reference/kubernetes-api/service-resources/ingress-v1/#IngressSpec) + tls: [] + route: + ## @param core.route.enabled Whether to create a Route object for the Cryostat service. Available only on OpenShift + enabled: true + tls: + ## @param core.route.tls.enabled Whether to secure the Cryostat application Route with TLS. See: [TLSConfig](https://docs.openshift.com/container-platform/4.10/rest_api/network_apis/route-route-openshift-io-v1.html#spec-tls) + enabled: true + ## @param core.route.tls.termination Type of TLS termination to use for the Cryostat application Route. One of: `edge`, `passthrough`, `reencrypt` + termination: edge + ## @param core.route.tls.insecureEdgeTerminationPolicy Specify how to handle insecure traffic for the Cryostat application Route. One of: `Allow`, `Disable`, `Redirect` + insecureEdgeTerminationPolicy: Redirect + ## @param core.route.tls.key Custom private key to use when securing the Cryostat application Route + key: "" + ## @param core.route.tls.certificate Custom certificate to use when securing the Cryostat application Route + certificate: "" + ## @param core.route.tls.caCertificate Custom CA certificate to use, if needed to complete the certificate chain, when securing the Cryostat application Route + caCertificate: "" + ## @param core.route.tls.destinationCACertificate Provides the contents of the CA certificate of the final destination when using reencrypt termination for the Cryostat application Route + destinationCACertificate: "" + ## @param core.resources Resource requests/limits for the Cryostat container. See: [ResourceRequirements](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#resources) + resources: {} + ## @param core.securityContext [object] Security Context for the Cryostat container. Defaults to meet "restricted" [Pod Security Standard](https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted). See: [SecurityContext](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context-1) + securityContext: + ## @skip core.securityContext.allowPrivilegeEscalation + allowPrivilegeEscalation: false + ## @skip core.securityContext.capabilities + capabilities: + drop: + - ALL + ## @param core.databaseSecretName Name of the secret containing database keys. This secret must contain a CONNECTION_KEY secret which is the database connection password, and an ENCRYPTION_KEY secret which is the key used to encrypt sensitive data stored within the database, such as the target credentials keyring. It must not be updated across chart upgrades. It is recommended that the secret should be marked as immutable to avoid accidental changes to secret's data. More details: https://kubernetes.io/docs/concepts/configuration/secret/#secret-immutable + databaseSecretName: "" + ## @extra core.discovery Configuration options to the Cryostat application's target discovery mechanisms + discovery: + kubernetes: + ## @param core.discovery.kubernetes.enabled Enables Kubernetes API discovery mechanism + enabled: true + ## @param core.discovery.kubernetes.installNamespaceDisabled When false and `namespaces` is empty, the Cryostat application will default to discovery targets in the install namespace (i.e. `{{ .Release.Namespace }}`) + installNamespaceDisabled: false + ## @param core.discovery.kubernetes.namespaces [array] List of namespaces whose workloads the Cryostat application should be permitted to access and profile + namespaces: [] + ## @param core.discovery.kubernetes.builtInPortNamesDisabled When false and `portNames` is empty, the Cryostat application will use the default port name `jfr-jmx` to look for JMX connectable targets. + builtInPortNamesDisabled: false + ## @param core.discovery.kubernetes.portNames [array] List of port names that the Cryostat application should look for in order to consider a target as JMX connectable + portNames: [] + ## @param core.discovery.kubernetes.builtInPortNumbersDisabled When false and `portNumbers` is empty, the Cryostat application will use the default port number `9091` to look for JMX connectable targets. + builtInPortNumbersDisabled: false + ## @param core.discovery.kubernetes.portNumbers [array] List of port numbers that the Cryostat application should look for in order to consider a target as JMX connectable + portNumbers: [] + +## @section Database Container +## @extra db Configuration for Cryostat's database +db: + image: + ## @param db.image.repository Repository for the database container image + repository: "registry.redhat.io/cryostat-tech-preview/cryostat-db-rhel8" + ## @param db.image.pullPolicy Image pull policy for the database container image + pullPolicy: IfNotPresent + ## @param db.image.tag Tag for the database container image + tag: "3.0.1" + ## @param db.resources Resource requests/limits for the database container. See: [ResourceRequirements](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#resources) + resources: {} + ## @param db.securityContext [object] Security Context for the database container. Defaults to meet "restricted" [Pod Security Standard](https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted). See: [SecurityContext](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context-1) + securityContext: + ## @skip db.securityContext.allowPrivilegeEscalation + allowPrivilegeEscalation: false + ## @skip db.securityContext.capabilities + capabilities: + drop: + - ALL + +## @section Storage Container +## @extra storage Configuration for Cryostat's object storage provider +storage: + image: + ## @param storage.image.repository Repository for the storage container image + repository: "registry.redhat.io/cryostat-tech-preview/cryostat-storage-rhel8" + ## @param storage.image.pullPolicy Image pull policy for the storage container image + pullPolicy: IfNotPresent + ## @param storage.image.tag Tag for the storage container image + tag: "3.0.1" + ## @param storage.resources Resource requests/limits for the storage container. See: [ResourceRequirements](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#resources) + resources: {} + ## @param storage.securityContext [object] Security Context for the storage container. Defaults to meet "restricted" [Pod Security Standard](https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted). See: [SecurityContext](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context-1) + securityContext: + ## @skip storage.securityContext.allowPrivilegeEscalation + allowPrivilegeEscalation: false + ## @skip storage.securityContext.capabilities + capabilities: + drop: + - ALL + +## @section Grafana Container +## @extra grafana Configuration for the customized Grafana instance for Cryostat +grafana: + image: + ## @param grafana.image.repository Repository for the Grafana container image + repository: "registry.redhat.io/cryostat-tech-preview/cryostat-grafana-dashboard-rhel8" + ## @param grafana.image.pullPolicy Image pull policy for the Grafana container image + pullPolicy: IfNotPresent + ## @param grafana.image.tag Tag for the Grafana container image + tag: "3.0.1" + service: + ## @param grafana.service.type Type of Service to create for Grafana + type: ClusterIP + ## @param grafana.service.port Port number to expose on the Service for Grafana's HTTP server + port: 3000 + ## @param grafana.resources Resource requests/limits for the Grafana container. See: [ResourceRequirements](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#resources) + resources: {} + ## @param grafana.securityContext [object] Security Context for the Grafana container. Defaults to meet "restricted" [Pod Security Standard](https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted). See: [SecurityContext](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context-1) + securityContext: + ## @skip grafana.securityContext.allowPrivilegeEscalation + allowPrivilegeEscalation: false + ## @skip grafana.securityContext.capabilities + capabilities: + drop: + - ALL + +## @section JFR Data Source Container +## @extra datasource Configuration for the JFR Data Source component, which translates recording events into a format consumable by Grafana +datasource: + image: + ## @param datasource.image.repository Repository for the JFR Data Source container image + repository: "registry.redhat.io/cryostat-tech-preview/jfr-datasource-rhel8" + ## @param datasource.image.pullPolicy Image pull policy for the JFR Data Source container image + pullPolicy: IfNotPresent + ## @param datasource.image.tag Tag for the JFR Data Source container image + tag: "3.0.1" + ## @param datasource.resources Resource requests/limits for the JFR Data Source container. See: [ResourceRequirements](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#resources) + resources: {} + ## @param datasource.securityContext [object] Security Context for the JFR Data Source container. Defaults to meet "restricted" [Pod Security Standard](https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted). See: [SecurityContext](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context-1) + securityContext: + ## @skip datasource.securityContext.allowPrivilegeEscalation + allowPrivilegeEscalation: false + ## @skip datasource.securityContext.capabilities + capabilities: + drop: + - ALL + +## @section Authentication + +authentication: + openshift: + ## @param authentication.openshift.enabled Whether the OAuth Proxy deployed for securing Cryostat's Pods should be one that integrates with OpenShift-specific features, or a generic one. + enabled: true + clusterRole: + ## @param authentication.openshift.clusterRole.name The name of the ClusterRole to bind for the OpenShift OAuth Proxy + name: system:auth-delegator + basicAuth: + ## @param authentication.basicAuth.enabled Whether Cryostat should use basic authentication for users. When false, Cryostat will not perform any form of authentication + enabled: false + ## @param authentication.basicAuth.secretName Name of the Secret that contains the credentials within Cryostat's namespace **(Required if basicAuth is enabled)** + secretName: "" + ## @param authentication.basicAuth.filename Key within Secret containing the `htpasswd` file. The file should contain one user definition entry per line, with the syntax "user:passHash", where "user" is the username and "passHash" is the `bcrypt` hash of the desired password. Such an entry can be generated with ex. `htpasswd -nbB username password` **(Required if basicAuth is enabled)** + filename: "" + +## @section OAuth2 Proxy + +oauth2Proxy: + image: + ## @param oauth2Proxy.image.repository Repository for the OAuth2 Proxy container image + repository: "" + ## @param oauth2Proxy.image.pullPolicy Image pull policy for the OAuth2 Proxy container image + pullPolicy: Never + ## @param oauth2Proxy.image.tag Tag for the OAuth2 Proxy container image + tag: "" + ## @param oauth2Proxy.securityContext [object] Security Context for the OAuth2 Proxy container. Defaults to meet "restricted" [Pod Security Standard](https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted). See: [SecurityContext](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context-1). If the chart is installed in default namespaces (e.g. default), `securityContext.runAsUser` must be set if the proxy image does not specify a numeric non-root user. This is due to OpenShift Security Context Constraints are not applied in default namespaces. See [Understanding and Managing Pod Security Admission](https://docs.openshift.com/container-platform/4.15/authentication/understanding-and-managing-pod-security-admission.html#psa-privileged-namespaces_understanding-and-managing-pod-security-admission). + securityContext: + ## @skip oauth2Proxy.securityContext.allowPrivilegeEscalation + allowPrivilegeEscalation: false + ## @skip oauth2Proxy.securityContext.capabilities + capabilities: + drop: + - ALL + +## @section OpenShift OAuth Proxy + +openshiftOauthProxy: + image: + ## @param openshiftOauthProxy.image.repository Repository for the OpenShift OAuth Proxy container image + repository: "registry.redhat.io/cryostat-tech-preview/cryostat-ose-oauth-proxy-rhel8" + ## @param openshiftOauthProxy.image.pullPolicy Image pull policy for the OpenShift OAuth Proxy container image + pullPolicy: IfNotPresent + ## @param openshiftOauthProxy.image.tag Tag for the OpenShift OAuth Proxy container image + tag: "3.0.1" + accessReview: + ## @param openshiftOauthProxy.accessReview.enabled Whether the SubjectAccessReview/TokenAccessReview role checks for users and clients are enabled. If this is disabled then the proxy will only check that the user has valid credentials or holds a valid token. + enabled: true + ## @param openshiftOauthProxy.accessReview.group The OpenShift resource group that the SubjectAccessReview/TokenAccessReview will be performed for. See https://github.com/openshift/oauth-proxy/?tab=readme-ov-file#delegate-authentication-and-authorization-to-openshift-for-infrastructure + group: "" + ## @param openshiftOauthProxy.accessReview.resource The OpenShift resource that the SubjectAccessReview/TokenAccessReview will be performed for. + resource: "pods" + ## @param openshiftOauthProxy.accessReview.subresource The OpenShift resource that the SubjectAccessReview/TokenAccessReview will be performed for. + subresource: "exec" + ## @param openshiftOauthProxy.accessReview.name The OpenShift resource name that the SubjectAccessReview/TokenAccessReview will be performed for. + name: "" + ## @param openshiftOauthProxy.accessReview.namespace The OpenShift namespace that the SubjectAccessReview/TokenAccessReview will be performed for. + namespace: "{{ .Release.Namespace }}" + ## @param openshiftOauthProxy.accessReview.verb The OpenShift resource name that the SubjectAccessReview/TokenAccessReview will be performed for. + verb: "create" + ## @param openshiftOauthProxy.accessReview.version The OpenShift resource version that the SubjectAccessReview/TokenAccessReview will be performed for. + version: "" + ## @param openshiftOauthProxy.securityContext [object] Security Context for the OpenShift OAuth Proxy container. Defaults to meet "restricted" [Pod Security Standard](https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted). See: [SecurityContext](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context-1) + securityContext: + ## @skip openshiftOauthProxy.securityContext.allowPrivilegeEscalation + allowPrivilegeEscalation: false + ## @skip openshiftOauthProxy.securityContext.capabilities + capabilities: + drop: + - ALL + +## @section Other Parameters + +## @param imagePullSecrets [array] Image pull secrets to be used for the Cryostat deployment +imagePullSecrets: [] +## @param nameOverride Overrides the name of this Chart +nameOverride: "" +## @param fullnameOverride Overrides the fully qualified application name of `[release name]-[chart name]` +fullnameOverride: "" + +rbac: + ## @param rbac.create Specifies whether RBAC resources should be created + create: true + +serviceAccount: + ## @param serviceAccount.create Specifies whether a service account should be created + create: true + ## @param serviceAccount.annotations [object] Annotations to add to the service account + annotations: {} + ## @param serviceAccount.name The name of the service account to use. If not set and create is true, a name is generated using the fullname template + name: "" + +## @param podAnnotations [object] Annotations to be applied to the Cryostat Pod +podAnnotations: {} + +## @param podSecurityContext [object] Security Context for the Cryostat Pod. Defaults to meet "restricted" [Pod Security Standard](https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted). See: [PodSecurityContext](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context) +podSecurityContext: + ## @skip podSecurityContext.runAsNonRoot + runAsNonRoot: true + ## @skip podSecurityContext.seccompProfile + seccompProfile: + type: RuntimeDefault + +## @param nodeSelector [object] Node Selector for the Cryostat Pod. See: [NodeSelector](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling) +nodeSelector: {} + +## @param tolerations [array] Tolerations for the Cryostat Pod. See: [Tolerations](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling) +tolerations: [] + +## @param affinity [object] Affinity for the Cryostat Pod. See: [Affinity](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling) +affinity: {} + +pvc: + ## @param pvc.enabled Specify whether to use persistentVolumeClaim or EmptyDir storage + enabled: false + ## @param pvc.annotations [object] Annotations to add to the persistentVolumeClaim + annotations: {} + ## @param pvc.storage Storage size to request for the persistentVolumeClaim + storage: 500Mi + ## @param pvc.accessModes Access mode for the persistentVolumeClaim. See: [Access Modes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims) + accessModes: + - ReadWriteOnce + ## @param pvc.selector [object] Selector for the persistentVolumeClaim. See: [Selector](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims) + selector: {} + ## @param pvc.storageClassName [string, nullable] The name of the StorageClass for the persistentVolumeClaim. See: [Class](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims) + # storageClassName: diff --git a/charts/redhat/redhat/redhat-data-grid/8.5.1/redhat-data-grid-8.5.1.tgz b/charts/redhat/redhat/redhat-data-grid/8.5.1/redhat-data-grid-8.5.1.tgz new file mode 100644 index 00000000000..39b510e8c60 Binary files /dev/null and b/charts/redhat/redhat/redhat-data-grid/8.5.1/redhat-data-grid-8.5.1.tgz differ diff --git a/charts/redhat/redhat/redhat-developer-hub/1.2.3/redhat-developer-hub-1.2.3.tgz b/charts/redhat/redhat/redhat-developer-hub/1.2.3/redhat-developer-hub-1.2.3.tgz new file mode 100644 index 00000000000..6975358e6b2 Binary files /dev/null and b/charts/redhat/redhat/redhat-developer-hub/1.2.3/redhat-developer-hub-1.2.3.tgz differ diff --git a/charts/redhat/redhat/redhat-developer-hub/1.2.4/redhat-developer-hub-1.2.4.tgz b/charts/redhat/redhat/redhat-developer-hub/1.2.4/redhat-developer-hub-1.2.4.tgz new file mode 100644 index 00000000000..83c4879d8de Binary files /dev/null and b/charts/redhat/redhat/redhat-developer-hub/1.2.4/redhat-developer-hub-1.2.4.tgz differ diff --git a/charts/redhat/redhat/redhat-developer-hub/1.3.0/redhat-developer-hub-1.3.0.tgz b/charts/redhat/redhat/redhat-developer-hub/1.3.0/redhat-developer-hub-1.3.0.tgz new file mode 100644 index 00000000000..c6c88a89f05 Binary files /dev/null and b/charts/redhat/redhat/redhat-developer-hub/1.3.0/redhat-developer-hub-1.3.0.tgz differ diff --git a/charts/redhat/redhat/redhat-developer-hub/1.3.1/redhat-developer-hub-1.3.1.tgz b/charts/redhat/redhat/redhat-developer-hub/1.3.1/redhat-developer-hub-1.3.1.tgz new file mode 100644 index 00000000000..1bb66654389 Binary files /dev/null and b/charts/redhat/redhat/redhat-developer-hub/1.3.1/redhat-developer-hub-1.3.1.tgz differ diff --git a/charts/redhat/redhat/redhat-knative-istio-authz/1.34.0/redhat-knative-istio-authz-1.34.0.tgz b/charts/redhat/redhat/redhat-knative-istio-authz/1.34.0/redhat-knative-istio-authz-1.34.0.tgz new file mode 100644 index 00000000000..77ffde4438f Binary files /dev/null and b/charts/redhat/redhat/redhat-knative-istio-authz/1.34.0/redhat-knative-istio-authz-1.34.0.tgz differ diff --git a/charts/redhat/redhat/redhat-postgresql-imagestreams/0.0.4/src/Chart.yaml b/charts/redhat/redhat/redhat-postgresql-imagestreams/0.0.4/src/Chart.yaml new file mode 100644 index 00000000000..bbfbd67dc05 --- /dev/null +++ b/charts/redhat/redhat/redhat-postgresql-imagestreams/0.0.4/src/Chart.yaml @@ -0,0 +1,13 @@ +description: |- + This content is experimental, do not use it in production. Red Hat PostgreSQL database service imagestreams. + For more information about PostgreSQL container see https://github.com/sclorg/postgresql-container/. +annotations: + charts.openshift.io/name: Red Hat PostgreSQL database service imagestreams (experimental) +apiVersion: v2 +appVersion: 0.0.4 +kubeVersion: '>=1.20.0' +name: redhat-postgresql-imagestreams +tags: database,postgresql +sources: + - https://github.com/sclorg/helm-charts +version: 0.0.4 diff --git a/charts/redhat/redhat/redhat-postgresql-imagestreams/0.0.4/src/README.md b/charts/redhat/redhat/redhat-postgresql-imagestreams/0.0.4/src/README.md new file mode 100644 index 00000000000..32e3ed99318 --- /dev/null +++ b/charts/redhat/redhat/redhat-postgresql-imagestreams/0.0.4/src/README.md @@ -0,0 +1,50 @@ +# PostgreSQL Helm Chart imagestreams + +The file contains all supported PostgreSQL imagestreams. + +For more information about helm charts see the offical [Helm Charts Documentation](https://helm.sh/). + +You need to have access to a cluster for each operation with OpenShift 4, like deploying and testing. + +## How to start with helm charts + +The first download and install Helm. Follow instructions mentioned [here](https://helm.sh/docs/intro/install/). + +## How to work with PostgreSQL helm chart + +Before deploying helm chart to OpenShift, you have to create a package. +This can be done by command: + +```commandline +$ helm package ./ +``` + +that will create a helm package named, `postgresql-imagestreams-v0.0.1.tgz` in this directory. + +The next step is to upload Helm Chart to OpenShift. This is done by command: + +```commandline +$ helm install postgresql-imagestreams postgresql-imagestreams-v0.0.1.tgz +``` + +In order to check if everything is imported properly, run command: +```commandline +$ oc get is -o json +``` +that will print all support PostgreSQL imagestreams. + + +## Troubleshooting +For case you need a computer readable output you can add to command mentioned above option `-o json`. + +In case of installation failed for reason like: +```commandline +// Error: INSTALLATION FAILED: cannot re-use a name that is still in use +``` +you have to uninstall previous PostgreSQL Helm Chart by command: + +```commandline +$ helm uninstall postgresql-imagestreams +``` + + diff --git a/charts/redhat/redhat/redhat-postgresql-imagestreams/0.0.4/src/templates/imagestreams.yaml b/charts/redhat/redhat/redhat-postgresql-imagestreams/0.0.4/src/templates/imagestreams.yaml new file mode 100644 index 00000000000..1304d74d72a --- /dev/null +++ b/charts/redhat/redhat/redhat-postgresql-imagestreams/0.0.4/src/templates/imagestreams.yaml @@ -0,0 +1,147 @@ +kind: ImageStream +apiVersion: image.openshift.io/v1 +metadata: + name: postgresql + annotations: + openshift.io/display-name: PostgreSQL +spec: + tags: + - name: latest + annotations: + openshift.io/display-name: PostgreSQL (Latest) + openshift.io/provider-display-name: 'Red Hat, Inc.' + description: >- + Provides a PostgreSQL database on RHEL. For more information about + using this database image, including OpenShift considerations, see + https://github.com/sclorg/postgresql-container/blob/master/README.md. + + + WARNING: By selecting this tag, your application will automatically + update to use the latest version of PostgreSQL available on OpenShift, + including major version updates. + iconClass: icon-postgresql + tags: 'database,postgresql' + from: + kind: ImageStreamTag + name: 16-el8 + referencePolicy: + type: Local + - name: 16-el9 + annotations: + openshift.io/display-name: PostgreSQL 16 (RHEL 9) + openshift.io/provider-display-name: 'Red Hat, Inc.' + description: >- + Provides a PostgreSQL 16 database on RHEL 9. For more information + about using this database image, including OpenShift considerations, + see + https://github.com/sclorg/postgresql-container/blob/master/README.md. + iconClass: icon-postgresql + tags: 'database,postgresql' + version: '16' + from: + kind: DockerImage + name: 'registry.redhat.io/rhel9/postgresql-16:latest' + referencePolicy: + type: Local + - name: 16-el8 + annotations: + openshift.io/display-name: PostgreSQL 16 (RHEL 8) + openshift.io/provider-display-name: 'Red Hat, Inc.' + description: >- + Provides a PostgreSQL 16 database on RHEL 8. For more information + about using this database image, including OpenShift considerations, + see + https://github.com/sclorg/postgresql-container/blob/master/README.md. + iconClass: icon-postgresql + tags: 'database,postgresql' + version: '16' + from: + kind: DockerImage + name: 'registry.redhat.io/rhel8/postgresql-16:latest' + referencePolicy: + type: Local + - name: 15-el9 + annotations: + openshift.io/display-name: PostgreSQL 15 (RHEL 9) + openshift.io/provider-display-name: 'Red Hat, Inc.' + description: >- + Provides a PostgreSQL 15 database on RHEL 9. For more information + about using this database image, including OpenShift considerations, + see + https://github.com/sclorg/postgresql-container/blob/master/README.md. + iconClass: icon-postgresql + tags: 'database,postgresql' + version: '15' + from: + kind: DockerImage + name: 'registry.redhat.io/rhel9/postgresql-15:latest' + referencePolicy: + type: Local + - name: 15-el8 + annotations: + openshift.io/display-name: PostgreSQL 15 (RHEL 8) + openshift.io/provider-display-name: 'Red Hat, Inc.' + description: >- + Provides a PostgreSQL 15 database on RHEL 8. For more information + about using this database image, including OpenShift considerations, + see + https://github.com/sclorg/postgresql-container/blob/master/README.md. + iconClass: icon-postgresql + tags: 'database,postgresql' + version: '15' + from: + kind: DockerImage + name: 'registry.redhat.io/rhel8/postgresql-15:latest' + referencePolicy: + type: Local + - name: 13-el9 + annotations: + openshift.io/display-name: PostgreSQL 13 (RHEL 9) + openshift.io/provider-display-name: 'Red Hat, Inc.' + description: >- + Provides a PostgreSQL 13 database on RHEL 9. For more information + about using this database image, including OpenShift considerations, + see + https://github.com/sclorg/postgresql-container/blob/master/README.md. + iconClass: icon-postgresql + tags: 'database,postgresql' + version: '13' + from: + kind: DockerImage + name: 'registry.redhat.io/rhel9/postgresql-13:latest' + referencePolicy: + type: Local + - name: 13-el8 + annotations: + openshift.io/display-name: PostgreSQL 13 (RHEL 8) + openshift.io/provider-display-name: 'Red Hat, Inc.' + description: >- + Provides a PostgreSQL 13 database on RHEL 8. For more information + about using this database image, including OpenShift considerations, + see + https://github.com/sclorg/postgresql-container/blob/master/README.md. + iconClass: icon-postgresql + tags: 'database,postgresql' + version: '13' + from: + kind: DockerImage + name: 'registry.redhat.io/rhel8/postgresql-13:latest' + referencePolicy: + type: Local + - name: 12-el8 + annotations: + openshift.io/display-name: PostgreSQL 12 (RHEL 8) + openshift.io/provider-display-name: 'Red Hat, Inc.' + description: >- + Provides a PostgreSQL 12 database on RHEL 8. For more information + about using this database image, including OpenShift considerations, + see + https://github.com/sclorg/postgresql-container/blob/master/README.md. + iconClass: icon-postgresql + tags: 'database,postgresql' + version: '12' + from: + kind: DockerImage + name: 'registry.redhat.io/rhel8/postgresql-12:latest' + referencePolicy: + type: Local diff --git a/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/Chart.yaml b/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/Chart.yaml new file mode 100644 index 00000000000..f8868a01d9d --- /dev/null +++ b/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/Chart.yaml @@ -0,0 +1,16 @@ +description: |- + This content is expermental, do not use it in production. PostgreSQL database service, with persistent storage. For more information about using this template, including OpenShift considerations, see https://github.com/sclorg/postgresql-container/. + + NOTE: Scaling to more than one replica is not supported. You must have persistent volumes available in your cluster to use this template. +annotations: + charts.openshift.io/name: Red Hat PostgreSQL database service, with persistent storage (experimental) + charts.openshift.io/provider: Red Hat + charts.openshift.io/providerType: redhat +apiVersion: v2 +appVersion: 0.0.4 +name: redhat-postgresql-persistent +tags: database,postgresql +sources: + - https://github.com/sclorg/helm-charts +version: 0.0.4 + diff --git a/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/README.md b/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/README.md new file mode 100644 index 00000000000..53b3c5f7289 --- /dev/null +++ b/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/README.md @@ -0,0 +1,23 @@ +# PostgreSQL helm chart + +# MariaDB helm chart + +A Helm chart for building and deploying a [PostgreSQL](https://github/sclorg/postgresql-container) application on OpenShift. + +For more information about helm charts see the official [Helm Charts Documentation](https://helm.sh/). + +You need to have access to a cluster for each operation with OpenShift 4, like deploying and testing. + +## Values +Below is a table of each value used to configure this chart. + +| Value | Description | Default | Additional Information | +|---------------------------------------------| ----------- | -- | ---------------------- | +| `database_service_name` | The name of the OpenShift Service exposed for the database. | `postgresql` | - | +| `postgresql_user` | Username for PostgreSQL user that will be used for accessing the database. | - | Expresion like: `user[A-Z0-9]{3}` | +| `postgresql_database` | Name of the PostgreSQL database accessed. | `sampledb` | | +| `postgresql_password` | Password for the PostgreSQL connection user. | | Expression like: `[a-zA-Z0-9]{16}` | +| `postgresql_version` | Version of PostgreSQL image to be used (10-el7, 10-el8, or latest). | `10-el8` | | +| `namespace` | The OpenShift Namespace where the ImageStream resides. | `openshift` | | +| `memory_limit` | Maximum amount of memory the container can use. | `521Mi` | | +| `volume_capacity` | Volume space available for data, e.g. 512Mi, 2Gi. | `1Gi` | | diff --git a/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/templates/deployment.yaml b/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/templates/deployment.yaml new file mode 100644 index 00000000000..c1a21a57d03 --- /dev/null +++ b/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/templates/deployment.yaml @@ -0,0 +1,85 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + template.alpha.openshift.io/wait-for-ready: "true" + image.openshift.io/triggers: |- + [ + { + "from": { + "kind": "ImageStreamTag", + "name": "postgresql:{{ .Values.image.tag }}" + }, + "fieldPath": "spec.template.spec.containers[0].image" + } + ] + labels: + template: postgresql-persistent-template + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + name: {{ .Release.Name }} +spec: + replicas: 1 + selector: + matchLabels: + name: {{ .Values.database_service_name }} + strategy: + type: Recreate + template: + metadata: + labels: + name: {{ .Values.database_service_name }} + spec: + containers: + - env: + - name: POSTGRESQL_USER + valueFrom: + secretKeyRef: + key: database-user + name: {{ .Values.database_service_name }} + - name: POSTGRESQL_PASSWORD + valueFrom: + secretKeyRef: + key: database-password + name: {{ .Values.database_service_name }} + - name: POSTGRESQL_DATABASE + valueFrom: + secretKeyRef: + key: database-name + name: {{ .Values.database_service_name }} + image: " " + imagePullPolicy: IfNotPresent + livenessProbe: + exec: + command: + - /usr/libexec/check-container + - --live + initialDelaySeconds: 120 + timeoutSeconds: 10 + name: "postgresql-persistent" + ports: + - containerPort: {{ .Values.config.port }} + protocol: TCP + readinessProbe: + exec: + command: + - /usr/libexec/check-container + initialDelaySeconds: 5 + timeoutSeconds: 1 + resources: + limits: + memory: {{ .Values.memory_limit }} + securityContext: + capabilities: {} + privileged: false + terminationMessagePath: /dev/termination-log + volumeMounts: + - mountPath: /var/lib/pgsql/data + name: {{ .Values.database_service_name }}-data + dnsPolicy: ClusterFirst + restartPolicy: Always + volumes: + - name: {{ .Values.database_service_name }}-data + persistentVolumeClaim: + claimName: {{ .Values.database_service_name }} +status: {} diff --git a/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/templates/persistentvolumeclaim.yaml b/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/templates/persistentvolumeclaim.yaml new file mode 100644 index 00000000000..cdb599d32e9 --- /dev/null +++ b/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/templates/persistentvolumeclaim.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + labels: + template: postgresql-persistent-template + name: {{ .Values.database_service_name }} +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: {{ .Values.volume_capacity }} diff --git a/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/templates/secret.yaml b/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/templates/secret.yaml new file mode 100644 index 00000000000..1b5e8d4ad76 --- /dev/null +++ b/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/templates/secret.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: Secret +metadata: + annotations: + template.openshift.io/expose-database_name: '{.data[''database-name'']}' + template.openshift.io/expose-password: '{.data[''database-password'']}' + template.openshift.io/expose-username: '{.data[''database-user'']}' + labels: + template: postgresql-persistent-template + name: {{ .Values.database_service_name }} +stringData: + database-name: {{ .Values.config.postgresql_database }} + database-password: {{ .Values.config.postgresql_password }} + database-user: {{ .Values.config.postgresql_user }} diff --git a/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/templates/service.yaml b/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/templates/service.yaml new file mode 100644 index 00000000000..cc083718708 --- /dev/null +++ b/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/templates/service.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + template.openshift.io/expose-uri: postgres://{.spec.clusterIP}:{.spec.ports[?(.name=="postgresql")].port} + labels: + template: postgresql-persistent-template + name: {{ .Values.database_service_name }} +spec: + ports: + - name: postgresql + nodePort: 0 + port: 5432 + protocol: TCP + targetPort: 5432 + selector: + name: {{ .Values.database_service_name }} + sessionAffinity: None + type: ClusterIP +status: + loadBalancer: {} diff --git a/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/templates/tests/test-postgresql-connection.yaml b/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/templates/tests/test-postgresql-connection.yaml new file mode 100644 index 00000000000..933246ec5f3 --- /dev/null +++ b/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/templates/tests/test-postgresql-connection.yaml @@ -0,0 +1,29 @@ +apiVersion: v1 +kind: Pod +metadata: + name: "{{ .Release.Name }}-connection-test" + namespace: "{{ .Release.Namespace }}" + annotations: + "helm.sh/hook": test + labels: + name: {{ .Values.database_service_name }} +spec: + #serviceAccount: {{ .Values.serviceAccount }} + containers: + - name: "postgresql-connection-test" + image: "registry.redhat.io/rhel8/postgresql-13:latest" + imagePullPolicy: IfNotPresent + env: + - name: POSTGRESQL_USER + value: "{{ .Values.config.postgresql_user }}" + - name: PGPASSWORD + value: "{{ .Values.config.postgresql_password }}" + - name: POSTGRESQL_DATABASE + value: "{{ .Values.config.postgresql_database }}" + - name: POSTGRESQL_PORT + value: "{{ .Values.config.port }}" + command: + - /bin/bash + - -exc + - "PGPASSWORD=$PGPASSWORD /usr/bin/pg_isready -d $POSTGRESQL_DATABASE -h {{ .Values.database_service_name }} -p $POSTGRESQL_PORT -U $POSTGRESQL_USER" + restartPolicy: Never diff --git a/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/values.schema.json b/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/values.schema.json new file mode 100644 index 00000000000..b73d0cd1741 --- /dev/null +++ b/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/values.schema.json @@ -0,0 +1,58 @@ +{ + "$schema": "http://json-schema.org/schema#", + "type": "object", + "properties": { + "database_service_name": { + "type": "string", + "pattern": "^[a-z0-9-_]+$" + }, + "namespace": { + "type": "string" + }, + "config": { + "type": "object", + "properties": { + "postgresql_database": { + "type": "string" + }, + "postgresql_password": { + "type": "string" + }, + "postgresql_user": { + "type": "string" + }, + "port": { + "type": "integer" + } + } + }, + "volume_capacity": { + "type": "string", + "title": "Persistent Volume Size", + "form": true, + "render": "slider", + "sliderMin": 1, + "sliderMax": 100, + "sliderUnit": "Gi" + }, + "memory_limit": { + "type": "string", + "title": "Database memory limit", + "form": true, + "render": "slider", + "sliderMin": 512, + "sliderMax": 65536, + "sliderUnit": "Mi" + }, + "image": { + "type": "object", + "properties": { + "tag": { + "type": "string", + "description": "Specify postgresql imagestream tag", + "enum": ["latest", "16-el9", "16-el8", "15-el9", "15-el8","13-el9", "13-el8", "12-el8", "12" ] + } + } + } + } +} \ No newline at end of file diff --git a/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/values.yaml b/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/values.yaml new file mode 100644 index 00000000000..625f1f3c6f8 --- /dev/null +++ b/charts/redhat/redhat/redhat-postgresql-persistent/0.0.4/src/values.yaml @@ -0,0 +1,11 @@ +database_service_name: postgresql-persistent +memory_limit: 512Mi +namespace: postgresql-persistent-testing +volume_capacity: 1Gi +config: + postgresql_database: testdb + postgresql_password: testp + postgresql_user: testu + port: 5432 +image: + tag: "13-el8" diff --git a/charts/redhat/redhat/redhat-trusted-profile-analyzer/0.1.2/redhat-trusted-profile-analyzer-0.1.2.tgz b/charts/redhat/redhat/redhat-trusted-profile-analyzer/0.1.2/redhat-trusted-profile-analyzer-0.1.2.tgz new file mode 100644 index 00000000000..49f53e2b854 Binary files /dev/null and b/charts/redhat/redhat/redhat-trusted-profile-analyzer/0.1.2/redhat-trusted-profile-analyzer-0.1.2.tgz differ diff --git a/charts/redhat/redhat/redhat-trusted-profile-analyzer/0.1.2/report.yaml b/charts/redhat/redhat/redhat-trusted-profile-analyzer/0.1.2/report.yaml new file mode 100644 index 00000000000..69dc02a9b11 --- /dev/null +++ b/charts/redhat/redhat/redhat-trusted-profile-analyzer/0.1.2/report.yaml @@ -0,0 +1,101 @@ +apiversion: v1 +kind: verify-report +metadata: + tool: + verifier-version: 1.13.7 + profile: + VendorType: redhat + version: v1.3 + reportDigest: uint64:6925653884413423920 + chart-uri: ./redhat-trusted-profile-analyzer-0.1.2.tgz + digests: + chart: sha256:9d6c814244302996d6f6725a6bb2bd58b5767578c390cc3cfde707478730116b + package: d832e0742e5f8adc01abfb1f68a24e28bd87964afd83892cfe88cbddd8a04897 + lastCertifiedTimestamp: "2024-08-27T12:17:50.710459+02:00" + testedOpenShiftVersion: "4.14" + supportedOpenShiftVersions: '>=4.12' + webCatalogOnly: false + chart: + name: redhat-trusted-profile-analyzer + home: https://access.redhat.com/products/red-hat-trusted-profile-analyzer + sources: [] + version: 0.1.2 + description: An Helm chart for deploying Red Hat Trusted Profile Analyzer (RHTPA) + keywords: [] + maintainers: + - name: Red Hat + email: rhtpa-support@redhat.com + url: https://www.redhat.com + icon: data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjM4IiBoZWlnaHQ9IjM4IiB2aWV3Qm94PSIwIDAgMzggMzgiPjxkZWZzPjxzdHlsZT4uZHtmaWxsOiNlMDA7fS5le2ZpbGw6I2ZmZjt9LmZ7ZmlsbDojZTBlMGUwO308L3N0eWxlPjwvZGVmcz48ZyBpZD0iYSI+PHJlY3QgY2xhc3M9ImUiIHg9IjEiIHk9IjEiIHdpZHRoPSIzNiIgaGVpZ2h0PSIzNiIgcng9IjkiIHJ5PSI5Ii8+PHBhdGggY2xhc3M9ImYiIGQ9Im0yOCwyLjI1YzQuMjczNCwwLDcuNzUsMy40NzY2LDcuNzUsNy43NXYxOGMwLDQuMjczNC0zLjQ3NjYsNy43NS03Ljc1LDcuNzVIMTBjLTQuMjczNCwwLTcuNzUtMy40NzY2LTcuNzUtNy43NVYxMGMwLTQuMjczNCwzLjQ3NjYtNy43NSw3Ljc1LTcuNzVoMThtMC0xLjI1SDEwQzUuMDI5NCwxLDEsNS4wMjk0LDEsMTB2MThjMCw0Ljk3MDYsNC4wMjk0LDksOSw5aDE4YzQuOTcwNiwwLDktNC4wMjk0LDktOVYxMGMwLTQuOTcwNi00LjAyOTQtOS05LTloMFoiLz48L2c+PGcgaWQ9ImIiPjxwYXRoIGNsYXNzPSJkIiBkPSJtMjguNDQyNCwyNy41NTgxbC00LjgxODUtNC44MTg1Yy43MTM1LS42OTQ2LDEuMjc3Ni0xLjU1MjcsMS42MjMyLTIuNTMxNi4xMTUyLS4zMjUyLS4wNTU3LS42ODIxLS4zODA5LS43OTc0LS4zMjIzLS4xMTYyLS42ODI2LjA1NTItLjc5NjkuMzgxMy0uNzU3OCwyLjE0MzEtMi43OTQ5LDMuNTgzLTUuMDY5MywzLjU4My0yLjk2MzksMC01LjM3NS0yLjQxMTEtNS4zNzUtNS4zNzVzMi40MTExLTUuMzc1LDUuMzc1LTUuMzc1Yy4zNDQ3LDAsLjYyNS0uMjc5OC42MjUtLjYyNXMtLjI4MDMtLjYyNS0uNjI1LS42MjVjLTMuNjUzMywwLTYuNjI1LDIuOTcyMi02LjYyNSw2LjYyNXMyLjk3MTcsNi42MjUsNi42MjUsNi42MjVjMS4zMjUxLDAsMi41Nzc3LS40MDc0LDMuNjM2Mi0xLjEwNDVsNC45MjE0LDQuOTIxNGMuMTIyMS4xMjIxLjI4MjIuMTgzMS40NDI0LjE4MzFzLjMyMDMtLjA2MS40NDI0LS4xODMxYy4yNDMyLS4yNDQxLjI0MzItLjYzOTYsMC0uODgzOFoiLz48cGF0aCBkPSJtMjAuNDQyNCwyNy41NTgxbC0yLTJjLS4yNDQxLS4yNDQxLS42NDA2LS4yNDQxLS44ODQ4LDAtLjI0MzIuMjQ0MS0uMjQzMi42Mzk2LDAsLjg4MzhsLjkwNjIuOTA1OWMtNC45MTkxLS4yODA0LTguODM4OC00LjM1OTQtOC44Mzg4LTkuMzQ3OCwwLTUuMTY5NCw0LjIwNjEtOS4zNzUsOS4zNzUtOS4zNzUuMzQ0NywwLC42MjUtLjI3OTguNjI1LS42MjVzLS4yODAzLS42MjUtLjYyNS0uNjI1Yy01Ljg1ODQsMC0xMC42MjUsNC43NjY2LTEwLjYyNSwxMC42MjUsMCw1LjY5NDksNC41MDc3LDEwLjM0NDUsMTAuMTQwNiwxMC42MDA1bC0uOTU3OS45NTc2Yy0uMjQzMi4yNDQxLS4yNDMyLjYzOTYsMCwuODgzOC4xMjIxLjEyMjEuMjgyMi4xODMxLjQ0MjQuMTgzMXMuMzIwMy0uMDYxLjQ0MjQtLjE4MzFsMi0yYy4yNDMyLS4yNDQxLjI0MzItLjYzOTYsMC0uODgzOFoiLz48cGF0aCBkPSJtMjUuNSwxNy42MjVjLTIuMjc0NCwwLTQuMTI1LTEuODUwNi00LjEyNS00LjEyNXYtNC4wMjg4YzAtLjI5NDkuMjA2MS0uNTQ5OC40OTUxLS42MTEzbDMuNS0uNzQ0MWMuMDg1OS0uMDE4Ni4xNzM4LS4wMTg2LjI1OTgsMGwzLjUuNzQ0MWMuMjg5MS4wNjEuNDk1MS4zMTY0LjQ5NTEuNjExM3Y0LjAyODhjMCwyLjI3NDQtMS44NTA2LDQuMTI1LTQuMTI1LDQuMTI1Wm0tMi44NzUtNy42NDc5djMuNTIyOWMwLDEuNTg1NCwxLjI5LDIuODc1LDIuODc1LDIuODc1czIuODc1LTEuMjg5NiwyLjg3NS0yLjg3NXYtMy41MjI5bC0yLjg3NS0uNjEwOC0yLjg3NS42MTA4WiIvPjxwYXRoIGNsYXNzPSJkIiBkPSJtMjUsMTQuMzUyMWMtLjE2MDIsMC0uMzIwMy0uMDYxLS40NDI0LS4xODMxbC0xLTFjLS4yNDMyLS4yNDQxLS4yNDMyLS42Mzk2LDAtLjg4MzguMjQ0MS0uMjQ0MS42NDA2LS4yNDQxLjg4NDgsMGwuNTU3Ni41NTgxLDEuNTU3Ni0xLjU1ODFjLjI0NDEtLjI0NDEuNjQwNi0uMjQ0MS44ODQ4LDAsLjI0MzIuMjQ0MS4yNDMyLjYzOTYsMCwuODgzOGwtMiwyYy0uMTIyMS4xMjIxLS4yODIyLjE4MzEtLjQ0MjQuMTgzMVoiLz48L2c+PC9zdmc+ + apiversion: v2 + condition: "" + tags: "" + appversion: 1.1.2 + deprecated: false + annotations: + charts.openshift.io/archs: x86_64 + charts.openshift.io/name: Red Hat Trusted Profile Analyzer + charts.openshift.io/provider: Red Hat + charts.openshift.io/supportURL: https://access.redhat.com/support + kubeversion: ^1.25.0 + dependencies: [] + type: application + chart-overrides: "" +results: + - check: v1.0/has-readme + type: Mandatory + outcome: PASS + reason: Chart has a README + - check: v1.0/chart-testing + type: Mandatory + outcome: PASS + reason: Chart tests have passed + - check: v1.0/not-contain-csi-objects + type: Mandatory + outcome: PASS + reason: CSI objects do not exist + - check: v1.0/signature-is-valid + type: Mandatory + outcome: SKIPPED + reason: 'Chart is not signed : Signature verification not required' + - check: v1.0/is-helm-v3 + type: Mandatory + outcome: PASS + reason: API version is V2, used in Helm 3 + - check: v1.0/not-contains-crds + type: Mandatory + outcome: PASS + reason: Chart does not contain CRDs + - check: v1.0/required-annotations-present + type: Mandatory + outcome: PASS + reason: All required annotations present + - check: v1.0/contains-values-schema + type: Mandatory + outcome: PASS + reason: Values schema file exist + - check: v1.0/has-notes + type: Optional + outcome: PASS + reason: Chart does contain NOTES.txt + - check: v1.1/has-kubeversion + type: Mandatory + outcome: PASS + reason: Kubernetes version specified + - check: v1.1/images-are-certified + type: Mandatory + outcome: PASS + reason: No images to certify + - check: v1.0/contains-values + type: Mandatory + outcome: PASS + reason: Values file exist + - check: v1.0/helm-lint + type: Mandatory + outcome: PASS + reason: Helm lint successful + - check: v1.0/contains-test + type: Mandatory + outcome: PASS + reason: Chart test files exist +