Skip to content

Commit

Permalink
Add parameter for cluster name
Browse files Browse the repository at this point in the history
Signed-off-by: Matej Gera <[email protected]>
  • Loading branch information
matej-g committed Mar 4, 2024
1 parent 1c63274 commit f20cad2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/actions/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ inputs:
description: 'Whether or not to create a kind cluster during setup'
required: true
default: "false"
cluster-name: # id of input
description: 'Name of the kind cluster to create'
required: false
default: ""
runs:
using: "composite"
steps:
Expand All @@ -25,7 +29,7 @@ runs:
if: ${{ inputs.create-kind-cluster == 'true' }}
with:
node_image: kindest/node:v1.24.12
cluster_name: ${{ inputs.cluster-name}}
cluster_name: ${{ inputs.cluster-name }}

- name: Add Dependencies
shell: bash
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/otel-integration-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:
run: kubectl create secret generic coralogix-keys --from-literal=PRIVATE_KEY=123
- name: Install chart for testing
run: |
helm upgrade --install otel-integration-agent-e2e ./otel-integration/k8s-helm/ \
cd ./otel-integration/k8s-helm
helm dependency build
helm upgrade --install otel-integration-agent-e2e . \
--set global.clusterName="otel-integration-agent-e2e" \
--set global.domain="coralogix.com" \
-f ./otel-integration/k8s-helm/values.yaml \
Expand Down

0 comments on commit f20cad2

Please sign in to comment.