Skip to content

Commit

Permalink
Update keptn-metrics-operator Helm chart (#177)
Browse files Browse the repository at this point in the history
Co-authored-by: mowies <[email protected]>
Co-authored-by: Moritz Wiesinger <[email protected]>
  • Loading branch information
3 people authored Oct 31, 2024
1 parent be652ff commit 152950a
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 55 deletions.
4 changes: 2 additions & 2 deletions charts/keptn-metrics-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ annotations:
artifacthub.io/operator: 'true'
kubeVersion: '>= 1.24.0-0'
type: application
version: 0.3.0
appVersion: v1.1.0 # x-release-please-version
version: 0.3.1
appVersion: v1.1.1 # x-release-please-version
dependencies:
- name: common
repository: https://charts.lifecycle.keptn.sh
Expand Down
2 changes: 1 addition & 1 deletion charts/keptn-metrics-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Prometheus, Dynatrace, DataDog and K8s metric server...
| `env.analysisControllerLogLevel` | sets the log level of Analysis Controller | `0` |
| `image.registry` | specify the container registry for the metrics-operator image | `""` |
| `image.repository` | specify registry for manager image | `keptn/metrics-operator` |
| `image.tag` | select tag for manager image | `v1.1.0` |
| `image.tag` | select tag for manager image | `v1.1.1` |
| `image.imagePullPolicy` | specify pull policy for the manager image. This overrides global values | `""` |
| `livenessProbe` | custom livenessprobe for manager container | |
| `readinessProbe` | custom readinessprobe for manager container | |
Expand Down
2 changes: 1 addition & 1 deletion charts/keptn-metrics-operator/templates/analysis-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: CustomResourceDefinition
metadata:
name: analyses.metrics.keptn.sh
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.5
{{- with .Values.global.caInjectionAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: CustomResourceDefinition
metadata:
name: analysisdefinitions.metrics.keptn.sh
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.5
{{- with .Values.global.caInjectionAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: CustomResourceDefinition
metadata:
name: analysisvaluetemplates.metrics.keptn.sh
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.5
{{- with .Values.global.caInjectionAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: CustomResourceDefinition
metadata:
name: keptnmetrics.metrics.keptn.sh
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.5
{{- with .Values.global.caInjectionAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: CustomResourceDefinition
metadata:
name: keptnmetricsproviders.metrics.keptn.sh
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.16.5
{{- with .Values.global.caInjectionAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
Expand Down Expand Up @@ -67,7 +67,6 @@ spec:
description: |-
Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?
type: string
optional:
description: Specify whether the Secret or its key must be defined
Expand Down Expand Up @@ -133,7 +132,6 @@ spec:
description: |-
Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?
type: string
optional:
description: Specify whether the Secret or its key must be defined
Expand Down Expand Up @@ -193,7 +191,6 @@ spec:
description: |-
Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?
type: string
optional:
description: Specify whether the Secret or its key must be defined
Expand Down Expand Up @@ -260,7 +257,6 @@ spec:
description: |-
Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?
type: string
optional:
description: Specify whether the Secret or its key must be defined
Expand Down
44 changes: 2 additions & 42 deletions charts/keptn-metrics-operator/templates/metrics-operator-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,14 @@ rules:
- metrics.keptn.sh
resources:
- analyses/finalizers
- keptnmetrics/finalizers
verbs:
- update
- apiGroups:
- metrics.keptn.sh
resources:
- analyses/status
- keptnmetrics/status
verbs:
- get
- patch
Expand All @@ -54,51 +56,9 @@ rules:
- metrics.keptn.sh
resources:
- analysisdefinitions
verbs:
- get
- list
- watch
- apiGroups:
- metrics.keptn.sh
resources:
- analysisvaluetemplates
verbs:
- get
- list
- watch
- apiGroups:
- metrics.keptn.sh
resources:
- keptnmetrics
verbs:
- get
- list
- watch
- apiGroups:
- metrics.keptn.sh
resources:
- keptnmetrics/finalizers
verbs:
- update
- apiGroups:
- metrics.keptn.sh
resources:
- keptnmetrics/status
verbs:
- get
- patch
- update
- apiGroups:
- metrics.keptn.sh
resources:
- keptnmetricsproviders
verbs:
- get
- list
- watch
- apiGroups:
- metrics.keptn.sh
resources:
- providers
verbs:
- get
Expand Down
2 changes: 1 addition & 1 deletion charts/keptn-metrics-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ image:
## @param image.repository specify registry for manager image
repository: keptn/metrics-operator
## @param image.tag select tag for manager image
tag: v1.1.0 # x-release-please-version
tag: v1.1.1 # x-release-please-version
## @param image.imagePullPolicy specify pull policy for the manager image. This overrides global values
imagePullPolicy: ""
## @extra livenessProbe custom livenessprobe for manager container
Expand Down

0 comments on commit 152950a

Please sign in to comment.