Skip to content

Commit

Permalink
Merge branch 'main' into feat/controller-update-for-multiple-metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
rakshitgondwal authored Jan 7, 2024
2 parents 89455c1 + 192c0b1 commit a92b566
Show file tree
Hide file tree
Showing 919 changed files with 63,537 additions and 14,434 deletions.
2 changes: 1 addition & 1 deletion .github/.kubescape/exceptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
]
},
{
"name": "data desctruction",
"name": "data destruction",
"policyType": "postureExceptionPolicy",
"actions": [
"alertOnly"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "Deploy Keptn Lifecycle Toolkit on GH cluster"
description: "Creates a Kind cluster and deploys Keptn Lifecycle Toolkit"
name: "Deploy Keptn on GH cluster"
description: "Creates a Kind cluster and deploys Keptn"
inputs:
kind-version:
required: false
Expand Down Expand Up @@ -30,15 +30,15 @@ runs:
using: "composite"
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
cache: true
cache-dependency-path: '**/go.sum'
check-latest: true

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: ~/download/artifacts

Expand Down Expand Up @@ -73,7 +73,7 @@ runs:
for chart_dir in ./lifecycle-operator/chart \
./metrics-operator/chart \
./klt-cert-manager/chart \
./keptn-cert-manager/chart \
./chart; do
cd "$chart_dir"
echo "updating charts for" $chart_dir
Expand All @@ -82,7 +82,7 @@ runs:
cd - # Return to the previous directory
done
cd .github/actions/deploy-klt-on-cluster
cd .github/actions/deploy-keptn-on-cluster
if [ "${{ inputs.allowed-namespaces }}" == "allowed_ns_on" ]; then
echo " allowedNamespaces: [allowed-ns-test]" >> values.yaml
Expand All @@ -91,15 +91,13 @@ runs:
if [ "${{ inputs.scheduling-gates }}" == "gates_on" ]; then
echo " schedulingGatesEnabled: true" >> values.yaml
fi
export TAG=${{ inputs.runtime_tag }}
envsubst < values.yaml > tmp.yaml
echo "installing with values.yaml file:"
cat values.yaml
cat tmp.yaml
helm install -n keptn-lifecycle-toolkit-system --create-namespace keptn ../../../chart \
--values ./values.yaml \
--set lifecycleOperator.scheduler.image.tag=${{ inputs.runtime_tag }} \
--set lifecycleOperator.lifecycleOperator.image.tag=${{ inputs.runtime_tag }} \
--set lifecycleOperator.lifecycleOperator.env.functionRunnerImage=localhost:5000/keptn/deno-runtime:${{ inputs.runtime_tag }} \
--set lifecycleOperator.lifecycleOperator.env.pythonRunnerImage=localhost:5000/keptn/python-runtime:${{ inputs.runtime_tag }} \
--set certManager.image.tag=${{ inputs.runtime_tag }} \
--set metricsOperator.image.tag=${{ inputs.runtime_tag }} \
helm install -n keptn-system --create-namespace keptn ../../../chart \
--values ./tmp.yaml \
--debug --wait --timeout 1m
24 changes: 24 additions & 0 deletions .github/actions/deploy-keptn-on-cluster/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
global:
imageRegistry: "localhost:5000"

certManager:
imagePullPolicy: Never
image:
tag: $TAG
metricsOperator:
imagePullPolicy: Never
image:
tag: $TAG

lifecycleOperator:
lifecycleOperator:
imagePullPolicy: Never
image:
tag: $TAG
env:
functionRunnerImage: localhost:5000/keptn/deno-runtime:$TAG
pythonRunnerImage: localhost:5000/keptn/python-runtime:$TAG
scheduler:
imagePullPolicy: Never
image:
tag: $TAG
16 changes: 0 additions & 16 deletions .github/actions/deploy-klt-on-cluster/values.yaml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/actions/spelling/excludes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
(?:^|/)(?i)LICENSE
/package-lock\.json$
/swagger-ui/
\.editorconfig$
\.gif$
\.gitkeep$
\.ico$
\.jpg$
\.map$
\.mod$
\.npmrc$
\.png$
\.sav$
\.sum$
\.svg$
\.ttf$
\.xlf$
\.zip$
^\.github/actions/spelling
^\.github/scripts/\.helm-tests/[a-zA-Z0-9-]+/result.ya?ml
^\Qdocs/layouts/partials/hooks/body-end.html\E$
^dashboards/grafana/configmap/.*\.ya?ml
^dashboards/grafana/import/.*\.json
^examples/support/observability/assets/
^examples/support/observability/config/
^test/prometheus/
_test\.go$
CHANGELOG.md
CODEOWNERS
CONTRIBUTORS.md
ignore$
Loading

0 comments on commit a92b566

Please sign in to comment.