Skip to content

Commit

Permalink
Update KLT Helm chart (#101)
Browse files Browse the repository at this point in the history
Co-authored-by: thisthat <[email protected]>
Co-authored-by: Giovanni Liva <[email protected]>
  • Loading branch information
3 people authored Jul 7, 2023
1 parent 183ddf6 commit 30c01d2
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 16 deletions.
4 changes: 2 additions & 2 deletions charts/keptn-lifecycle-toolkit/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ 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.2.4
version: 0.2.5

# 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: "v0.8.0" # x-release-please-version
appVersion: "v0.8.1" # x-release-please-version
10 changes: 5 additions & 5 deletions charts/keptn-lifecycle-toolkit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ checks
| `scheduler.scheduler.containerSecurityContext` | Sets security context | |
| `scheduler.scheduler.env.otelCollectorUrl` | sets url for open telemetry collector | `otel-collector:4317` |
| `scheduler.scheduler.image.repository` | set image repository for scheduler | `ghcr.io/keptn/scheduler` |
| `scheduler.scheduler.image.tag` | set image tag for scheduler <!---x-release-please-version--> | `v0.8.0` |
| `scheduler.scheduler.image.tag` | set image tag for scheduler <!---x-release-please-version--> | `v0.8.1` |
| `scheduler.scheduler.imagePullPolicy` | set image pull policy for scheduler | `Always` |
| `scheduler.scheduler.livenessProbe` | customizable liveness probe for the scheduler | |
| `scheduler.scheduler.readinessProbe` | customizable readiness probe for the scheduler | |
Expand Down Expand Up @@ -91,10 +91,10 @@ checks
| `lifecycleOperator.manager.env.keptnWorkloadInstanceControllerLogLevel` | sets the log level of Keptn WorkloadInstance Controller | `0` |
| `lifecycleOperator.manager.env.optionsControllerLogLevel` | sets the log level of Keptn Options Controller | `0` |
| `lifecycleOperator.manager.env.otelCollectorUrl` | Sets the URL for the open telemetry collector | `otel-collector:4317` |
| `lifecycleOperator.manager.env.functionRunnerImage` | specify image for deno task runtime <!---x-release-please-version--> | `ghcr.io/keptn/functions-runtime:v0.8.0` |
| `lifecycleOperator.manager.env.pythonRunnerImage` | specify image for python task runtime <!---x-release-please-version--> | `ghcr.io/keptn/python-runtime:v0.8.0` |
| `lifecycleOperator.manager.env.functionRunnerImage` | specify image for deno task runtime <!---x-release-please-version--> | `ghcr.io/keptn/functions-runtime:v0.8.1` |
| `lifecycleOperator.manager.env.pythonRunnerImage` | specify image for python task runtime <!---x-release-please-version--> | `ghcr.io/keptn/python-runtime:v0.8.1` |
| `lifecycleOperator.manager.image.repository` | specify registry for manager image | `ghcr.io/keptn/lifecycle-operator` |
| `lifecycleOperator.manager.image.tag` | select tag for manager image <!---x-release-please-version--> | `v0.8.0` |
| `lifecycleOperator.manager.image.tag` | select tag for manager image <!---x-release-please-version--> | `v0.8.1` |
| `lifecycleOperator.manager.imagePullPolicy` | specify pull policy for manager image | `Always` |
| `lifecycleOperator.manager.livenessProbe` | custom livenessprobe for manager container | |
| `lifecycleOperator.manager.readinessProbe` | custom readinessprobe for manager container | |
Expand Down Expand Up @@ -147,7 +147,7 @@ checks
| `metricsOperator.manager.containerSecurityContext.runAsUser` | | `65532` |
| `metricsOperator.manager.containerSecurityContext.seccompProfile.type` | | `RuntimeDefault` |
| `metricsOperator.manager.image.repository` | specify registry for manager image | `ghcr.io/keptn/metrics-operator` |
| `metricsOperator.manager.image.tag` | select tag for manager image <!---x-release-please-version--> | `v0.8.0` |
| `metricsOperator.manager.image.tag` | select tag for manager image <!---x-release-please-version--> | `v0.8.1` |
| `metricsOperator.manager.env.exposeKeptnMetrics` | enable metrics exporter | `true` |
| `metricsOperator.manager.env.metricsControllerLogLevel` | sets the log level of Metrics Controller | `0` |
| `metricsOperator.manager.livenessProbe` | custom livenessprobe for manager container | |
Expand Down
4 changes: 0 additions & 4 deletions charts/keptn-lifecycle-toolkit/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,7 @@ spec:
spec:
containers:
- args:
- webhook-server
- --leader-elect
- --adapter-port=6443
- --adapter-certs-dir=/tmp/metrics-adapter/serving-certs
- --v=10
command:
- /manager
env:
Expand Down
10 changes: 10 additions & 0 deletions charts/keptn-lifecycle-toolkit/templates/keptnmetric-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,16 @@ spec:
query:
description: Query represents the query to be run
type: string
range:
description: Range represents the time range for which data is to be
queried
properties:
interval:
default: 5m
description: Interval specifies the duration of the time interval
for the data query
type: string
type: object
required:
- fetchIntervalSeconds
- provider
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
annotations:
cert-manager.io/inject-ca-from: {{ .Release.Namespace }}/{{ include "chart.fullname" . }}-
labels:
keptn.sh/inject-cert: "true"
{{- include "chart.labels" . | nindent 4 }}
webhooks:
- admissionReviewVersions:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
name: {{ include "chart.fullname" . }}-metrics-validating-webhook-configuration
annotations:
cert-manager.io/inject-ca-from: {{ .Release.Namespace }}/{{ include "chart.fullname" . }}-
labels:
keptn.sh/inject-cert: "true"
{{- include "chart.labels" . | nindent 4 }}
webhooks:
- admissionReviewVersions:
- v1
clientConfig:
service:
name: '{{ include "chart.fullname" . }}-metrics-webhook-service'
namespace: '{{ .Release.Namespace }}'
path: /validate-metrics-keptn-sh-v1alpha3-keptnmetric
failurePolicy: Fail
name: vkeptnmetric.kb.io
rules:
- apiGroups:
- metrics.keptn.sh
apiVersions:
- v1alpha3
operations:
- CREATE
- UPDATE
resources:
- keptnmetrics
sideEffects: None
10 changes: 5 additions & 5 deletions charts/keptn-lifecycle-toolkit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ lifecycleOperator:
seccompProfile:
type: RuntimeDefault
env:
functionRunnerImage: ghcr.io/keptn/functions-runtime:v0.8.0
functionRunnerImage: ghcr.io/keptn/functions-runtime:v0.8.1
keptnAppControllerLogLevel: "0"
keptnAppCreationRequestControllerLogLevel: "0"
keptnAppVersionControllerLogLevel: "0"
Expand All @@ -78,10 +78,10 @@ lifecycleOperator:
keptnWorkloadInstanceControllerLogLevel: "0"
optionsControllerLogLevel: "0"
otelCollectorUrl: otel-collector:4317
pythonRunnerImage: ghcr.io/keptn/python-runtime:v0.8.0
pythonRunnerImage: ghcr.io/keptn/python-runtime:v0.8.1
image:
repository: ghcr.io/keptn/lifecycle-operator
tag: v0.8.0
tag: v0.8.1
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down Expand Up @@ -148,7 +148,7 @@ metricsOperator:
metricsControllerLogLevel: "0"
image:
repository: ghcr.io/keptn/metrics-operator
tag: v0.8.0
tag: v0.8.1
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -211,7 +211,7 @@ scheduler:
otelCollectorUrl: otel-collector:4317
image:
repository: ghcr.io/keptn/scheduler
tag: v0.8.0
tag: v0.8.1
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down

0 comments on commit 30c01d2

Please sign in to comment.