Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(helm-chart): fix missing values in the KLT helm chart #1082

Merged
merged 5 commits into from
Mar 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ jobs:
run: make helm-package

- name: Copy charts from klt to helm repo
run: rsync -av --exclude='charts/*.tgz' ./helm/chart/ ./helm-charts-repository/charts/keptn-lifecycle-toolkit/
run: rsync -av --delete --exclude='charts/*.tgz' ./helm/chart/ ./helm-charts-repository/charts/keptn-lifecycle-toolkit/

- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
Expand Down
6 changes: 4 additions & 2 deletions helm/chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,14 @@ kubeVersion: ">= 1.24.0-0"
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: 0.2.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.5.0" # x-release-please-version
appVersion: "v0.7.0" # x-release-please-version
105 changes: 53 additions & 52 deletions helm/chart/README.md

Large diffs are not rendered by default.

9 changes: 8 additions & 1 deletion helm/chart/doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,14 @@

## @param lifecycleOperator.replicas customize number of installed lifecycle operator replicas

## @extra Mutating Webhook Configurations for lifecycle Operator
## @extra lifecycleOperatorMetricsService Adjust settings here to change the k8s service for scraping Prometheus metrics
## @skip lifecycleOperatorMetricsService.ports[0].name
## @skip lifecycleOperatorMetricsService.ports[0].port
## @skip lifecycleOperatorMetricsService.ports[0].protocol
## @skip lifecycleOperatorMetricsService.ports[0].targetPort
## @skip lifecycleOperatorMetricsService.type

## @extra lifecycleWebhookService Mutating Webhook Configurations for lifecycle Operator
## @param lifecycleWebhookService.ports[0].port
## @param lifecycleWebhookService.ports[0].protocol
## @param lifecycleWebhookService.ports[0].targetPort
Expand Down
25 changes: 16 additions & 9 deletions helm/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ certificateOperator:
seccompProfile:
type: RuntimeDefault
image:
repository: ghcr.io/keptn/certificate-operator
tag: 0.6.0
repository: ghcr.keptn.sh/keptn/certificate-operator
tag: v0.7.0
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down Expand Up @@ -64,7 +64,7 @@ lifecycleOperator:
seccompProfile:
type: RuntimeDefault
env:
functionRunnerImage: ghcr.keptn.sh/keptn/functions-runtime:v0.6.0
functionRunnerImage: ghcr.keptn.sh/keptn/functions-runtime:v0.7.0
keptnAppControllerLogLevel: "0"
keptnAppVersionControllerLogLevel: "0"
keptnEvaluationControllerLogLevel: "0"
Expand All @@ -75,8 +75,8 @@ lifecycleOperator:
optionsControllerLogLevel: "0"
otelCollectorUrl: otel-collector:4317
image:
repository: ghcr.io/keptn/lifecycle-operator
tag: 0.6.0
repository: ghcr.keptn.sh/keptn/lifecycle-operator
tag: v0.7.0
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand All @@ -101,6 +101,13 @@ lifecycleOperator:
replicas: 1
tolerations: []
topologySpreadConstraints: []
lifecycleOperatorMetricsService:
ports:
- name: metrics
port: 2222
protocol: TCP
targetPort: metrics
type: ClusterIP
lifecycleWebhookService:
ports:
- port: 443
Expand Down Expand Up @@ -129,8 +136,8 @@ metricsOperator:
exposeKeptnMetrics: "true"
metricsControllerLogLevel: "0"
image:
repository: ghcr.io/keptn/metrics-operator
tag: 0.6.0
repository: ghcr.keptn.sh/keptn/metrics-operator
tag: v0.7.0
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -192,8 +199,8 @@ scheduler:
env:
otelCollectorUrl: otel-collector:4317
image:
repository: ghcr.io/keptn/scheduler
tag: 0.6.0
repository: ghcr.keptn.sh/keptn/scheduler
tag: v0.7.0
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down
4 changes: 2 additions & 2 deletions klt-cert-manager/config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: ghcr.io/keptn/certificate-operator
newTag: 0.6.0
newName: ghcr.keptn.sh/keptn/certificate-operator
newTag: v0.7.0
4 changes: 2 additions & 2 deletions metrics-operator/config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: ghcr.io/keptn/metrics-operator
newTag: 0.6.0
newName: ghcr.keptn.sh/keptn/metrics-operator
newTag: v0.7.0
4 changes: 2 additions & 2 deletions operator/config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: ghcr.io/keptn/lifecycle-operator
newTag: 0.6.0
newName: ghcr.keptn.sh/keptn/lifecycle-operator
newTag: v0.7.0
4 changes: 2 additions & 2 deletions scheduler/manifests/install/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: scheduler
newName: ghcr.io/keptn/scheduler
newTag: 0.6.0
newName: ghcr.keptn.sh/keptn/scheduler
newTag: v0.7.0