From 3430519a52cea19d5eef94cc484bf3de555f6cd3 Mon Sep 17 00:00:00 2001 From: Alfredo Gutierrez Date: Thu, 9 Jan 2025 00:34:08 -0600 Subject: [PATCH] adding licence header to all helm templates, and helm chart files Signed-off-by: Alfredo Gutierrez --- charts/blockstream-simulator/Chart.yaml | 1 + charts/blockstream-simulator/templates/NOTES.txt | 4 ++-- charts/blockstream-simulator/templates/_helpers.tpl | 4 ++++ charts/blockstream-simulator/templates/configmap.yaml | 4 ++++ charts/blockstream-simulator/templates/deployment.yaml | 4 ++++ charts/blockstream-simulator/templates/secret.yaml | 4 ++++ charts/blockstream-simulator/values.yaml | 1 + charts/hedera-block-node/Chart.yaml | 1 + charts/hedera-block-node/templates/configmap.yaml | 4 ++++ charts/hedera-block-node/templates/deployment.yaml | 4 ++++ .../templates/grafana-dashboard-configmap.yaml | 4 ++++ charts/hedera-block-node/templates/grafana-datasource.yaml | 4 ++++ charts/hedera-block-node/templates/ingress.yaml | 4 ++++ charts/hedera-block-node/templates/secret.yaml | 4 ++++ charts/hedera-block-node/templates/service.yaml | 4 ++++ charts/hedera-block-node/templates/serviceaccount.yaml | 4 ++++ charts/hedera-block-node/templates/servicemonitor.yaml | 4 ++++ charts/hedera-block-node/values.yaml | 2 ++ 18 files changed, 59 insertions(+), 2 deletions(-) diff --git a/charts/blockstream-simulator/Chart.yaml b/charts/blockstream-simulator/Chart.yaml index 932668878..ad11b694a 100644 --- a/charts/blockstream-simulator/Chart.yaml +++ b/charts/blockstream-simulator/Chart.yaml @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 apiVersion: v2 appVersion: 0.3.0-SNAPSHOT description: A Helm chart for Hedera Blockstream Simulator. diff --git a/charts/blockstream-simulator/templates/NOTES.txt b/charts/blockstream-simulator/templates/NOTES.txt index bb3bb48ac..306537c54 100644 --- a/charts/blockstream-simulator/templates/NOTES.txt +++ b/charts/blockstream-simulator/templates/NOTES.txt @@ -1,5 +1,5 @@ -Simulator Chart has been deployed successfully. -The simulator does not exposes any services or API, but it automatically starts to work with the provided documentation. +BlockStream Simulator Chart has been deployed successfully. +The simulator does not expose any services or API, but it automatically starts to work with the provided documentation. The configuration can be overridden by providing a custom values.yaml with the following dictionary: simulator.config diff --git a/charts/blockstream-simulator/templates/_helpers.tpl b/charts/blockstream-simulator/templates/_helpers.tpl index 3834e3023..789cfdd09 100644 --- a/charts/blockstream-simulator/templates/_helpers.tpl +++ b/charts/blockstream-simulator/templates/_helpers.tpl @@ -1,3 +1,7 @@ +{{- /* +SPDX-License-Identifier: Apache-2.0 +*/}} + {{/* Expand the name of the chart. */}} diff --git a/charts/blockstream-simulator/templates/configmap.yaml b/charts/blockstream-simulator/templates/configmap.yaml index d211b1c80..aab484327 100644 --- a/charts/blockstream-simulator/templates/configmap.yaml +++ b/charts/blockstream-simulator/templates/configmap.yaml @@ -1,3 +1,7 @@ +{{- /* +SPDX-License-Identifier: Apache-2.0 +*/}} + apiVersion: v1 kind: ConfigMap metadata: diff --git a/charts/blockstream-simulator/templates/deployment.yaml b/charts/blockstream-simulator/templates/deployment.yaml index 316425c2d..d6b0493e3 100644 --- a/charts/blockstream-simulator/templates/deployment.yaml +++ b/charts/blockstream-simulator/templates/deployment.yaml @@ -1,3 +1,7 @@ +{{- /* +SPDX-License-Identifier: Apache-2.0 +*/}} + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/charts/blockstream-simulator/templates/secret.yaml b/charts/blockstream-simulator/templates/secret.yaml index fab161fdc..0cfeac833 100644 --- a/charts/blockstream-simulator/templates/secret.yaml +++ b/charts/blockstream-simulator/templates/secret.yaml @@ -1,3 +1,7 @@ +{{- /* +SPDX-License-Identifier: Apache-2.0 +*/}} + apiVersion: v1 kind: Secret metadata: diff --git a/charts/blockstream-simulator/values.yaml b/charts/blockstream-simulator/values.yaml index 12cfa580e..4df800d88 100644 --- a/charts/blockstream-simulator/values.yaml +++ b/charts/blockstream-simulator/values.yaml @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 image: repository: ghcr.io/hashgraph/hedera-block-node/simulator-image pullPolicy: IfNotPresent diff --git a/charts/hedera-block-node/Chart.yaml b/charts/hedera-block-node/Chart.yaml index a599ba38e..608a189ca 100644 --- a/charts/hedera-block-node/Chart.yaml +++ b/charts/hedera-block-node/Chart.yaml @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 apiVersion: v2 appVersion: 0.3.0-SNAPSHOT description: A Helm chart for Hedera Block Node diff --git a/charts/hedera-block-node/templates/configmap.yaml b/charts/hedera-block-node/templates/configmap.yaml index b101617b6..e68372269 100644 --- a/charts/hedera-block-node/templates/configmap.yaml +++ b/charts/hedera-block-node/templates/configmap.yaml @@ -1,3 +1,7 @@ +{{- /* +SPDX-License-Identifier: Apache-2.0 +*/}} + apiVersion: v1 kind: ConfigMap metadata: diff --git a/charts/hedera-block-node/templates/deployment.yaml b/charts/hedera-block-node/templates/deployment.yaml index e637196ab..0b0193926 100644 --- a/charts/hedera-block-node/templates/deployment.yaml +++ b/charts/hedera-block-node/templates/deployment.yaml @@ -1,3 +1,7 @@ +{{- /* +SPDX-License-Identifier: Apache-2.0 +*/}} + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/charts/hedera-block-node/templates/grafana-dashboard-configmap.yaml b/charts/hedera-block-node/templates/grafana-dashboard-configmap.yaml index 55ddddf0c..9a162e13b 100644 --- a/charts/hedera-block-node/templates/grafana-dashboard-configmap.yaml +++ b/charts/hedera-block-node/templates/grafana-dashboard-configmap.yaml @@ -1,3 +1,7 @@ +{{- /* +SPDX-License-Identifier: Apache-2.0 +*/}} + {{ if .Values.kubepromstack.enabled }} apiVersion: v1 kind: ConfigMap diff --git a/charts/hedera-block-node/templates/grafana-datasource.yaml b/charts/hedera-block-node/templates/grafana-datasource.yaml index f30e32101..ac17e013f 100644 --- a/charts/hedera-block-node/templates/grafana-datasource.yaml +++ b/charts/hedera-block-node/templates/grafana-datasource.yaml @@ -1,3 +1,7 @@ +{{- /* +SPDX-License-Identifier: Apache-2.0 +*/}} + {{ if .Values.kubepromstack.enabled }} apiVersion: v1 kind: ConfigMap diff --git a/charts/hedera-block-node/templates/ingress.yaml b/charts/hedera-block-node/templates/ingress.yaml index 893b8ada9..81a5d89a5 100644 --- a/charts/hedera-block-node/templates/ingress.yaml +++ b/charts/hedera-block-node/templates/ingress.yaml @@ -1,3 +1,7 @@ +{{- /* +SPDX-License-Identifier: Apache-2.0 +*/}} + {{- if .Values.ingress.enabled -}} {{- $fullName := include "hedera-block-node.fullname" . -}} {{- $svcPort := .Values.service.port -}} diff --git a/charts/hedera-block-node/templates/secret.yaml b/charts/hedera-block-node/templates/secret.yaml index 908ab7bb8..4a7dd0180 100644 --- a/charts/hedera-block-node/templates/secret.yaml +++ b/charts/hedera-block-node/templates/secret.yaml @@ -1,3 +1,7 @@ +{{- /* +SPDX-License-Identifier: Apache-2.0 +*/}} + apiVersion: v1 kind: Secret metadata: diff --git a/charts/hedera-block-node/templates/service.yaml b/charts/hedera-block-node/templates/service.yaml index ab17ac1fb..4e5b636b3 100644 --- a/charts/hedera-block-node/templates/service.yaml +++ b/charts/hedera-block-node/templates/service.yaml @@ -1,3 +1,7 @@ +{{- /* +SPDX-License-Identifier: Apache-2.0 +*/}} + apiVersion: v1 kind: Service metadata: diff --git a/charts/hedera-block-node/templates/serviceaccount.yaml b/charts/hedera-block-node/templates/serviceaccount.yaml index 32b8b9a16..605af26a5 100644 --- a/charts/hedera-block-node/templates/serviceaccount.yaml +++ b/charts/hedera-block-node/templates/serviceaccount.yaml @@ -1,3 +1,7 @@ +{{- /* +SPDX-License-Identifier: Apache-2.0 +*/}} + {{- if .Values.serviceAccount.create -}} apiVersion: v1 kind: ServiceAccount diff --git a/charts/hedera-block-node/templates/servicemonitor.yaml b/charts/hedera-block-node/templates/servicemonitor.yaml index 5ccccb223..c92068df7 100644 --- a/charts/hedera-block-node/templates/servicemonitor.yaml +++ b/charts/hedera-block-node/templates/servicemonitor.yaml @@ -1,3 +1,7 @@ +{{- /* +SPDX-License-Identifier: Apache-2.0 +*/}} + {{ if .Values.kubepromstack.enabled }} apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor diff --git a/charts/hedera-block-node/values.yaml b/charts/hedera-block-node/values.yaml index 96cf25213..2f72ba186 100644 --- a/charts/hedera-block-node/values.yaml +++ b/charts/hedera-block-node/values.yaml @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 + # Default values for hedera-block-node. # This is a YAML-formatted file. # Declare variables to be passed into your templates.