diff --git a/.github/workflows/helm-charts.yaml b/.github/workflows/helm-charts.yaml index 3982af386..bdd8b63c2 100644 --- a/.github/workflows/helm-charts.yaml +++ b/.github/workflows/helm-charts.yaml @@ -1,3 +1,18 @@ +## +# Copyright (C) 2024 Hedera Hashgraph, LLC +# +# 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. +## name: Lint and Test Charts on: pull_request @@ -29,22 +44,22 @@ jobs: - name: Set up chart-testing uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1 - #- name: Run chart-testing (list-changed) - # id: list-changed - # run: | - # changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) - # if [[ -n "$changed" ]]; then - # echo "changed=true" >> "$GITHUB_OUTPUT" - # fi + - name: Run chart-testing (list-changed) + id: list-changed + run: | + changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) + if [[ -n "$changed" ]]; then + echo "changed=true" >> "$GITHUB_OUTPUT" + fi - name: Run chart-testing (lint) - # if: steps.list-changed.outputs.changed == 'true' + if: steps.list-changed.outputs.changed == 'true' run: ct lint --target-branch ${{ github.event.repository.default_branch }} - name: Create kind cluster - # if: steps.list-changed.outputs.changed == 'true' + if: steps.list-changed.outputs.changed == 'true' uses: helm/kind-action@v1.10.0 - name: Run chart-testing (install) - # if: steps.list-changed.outputs.changed == 'true' + if: steps.list-changed.outputs.changed == 'true' run: ct install --target-branch ${{ github.event.repository.default_branch }} diff --git a/charts/hedera-block-node/values.yaml b/charts/hedera-block-node/values.yaml index 63a2b72dc..fa55b8ae8 100644 --- a/charts/hedera-block-node/values.yaml +++ b/charts/hedera-block-node/values.yaml @@ -73,14 +73,13 @@ tolerations: [] affinity: {} blockNode: - version: "" # if blank will use same as AppVersion of chart. + # if blank will use same as AppVersion of chart. + version: "" config: # Add any additional env configuration here # key: value BLOCKNODE_STORAGE_ROOT_PATH: "/app/storage" secret: - PRIVATE_KEY_TYPE: "ED25519" # ED25519 or ECDSA - PRIVATE_KEY_ENCODING: "HEX" # HEX or DER - PRIVATE_KEY_ACCOUNT_ID: "0.0.0" # Hedera account ID - PRIVATE_KEY: "fake_private_key" # Hedera account private key, format depends on encoding - HEDERA_NETWORK: "testnet" # testnet, previewnet or mainnet + # if blank will use same as AppVersion of chart. + PRIVATE_KEY: "fake_private_key" +