Skip to content

Commit

Permalink
Update flowcontrol.apiserver.k8s.io to v1 (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
fhielpos committed May 22, 2024
1 parent 3acd70e commit 5157204
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Update `flowcontrol.apiserver.k8s.io` to v1.

## [0.8.0] - 2024-05-16

### Changed
Expand Down
6 changes: 3 additions & 3 deletions helm/trivy-operator/templates/flow-schema.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- if .Capabilities.APIVersions.Has "flowcontrol.apiserver.k8s.io/v1beta2"}}
apiVersion: flowcontrol.apiserver.k8s.io/v1beta2
{{- if .Capabilities.APIVersions.Has "flowcontrol.apiserver.k8s.io/v1"}}
apiVersion: flowcontrol.apiserver.k8s.io/v1
{{- else }}
apiVersion: flowcontrol.apiserver.k8s.io/v1beta1
apiVersion: flowcontrol.apiserver.k8s.io/v1beta2
{{- end }}
kind: FlowSchema
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- if .Capabilities.APIVersions.Has "flowcontrol.apiserver.k8s.io/v1beta2" }}
apiVersion: flowcontrol.apiserver.k8s.io/v1beta2
{{- if .Capabilities.APIVersions.Has "flowcontrol.apiserver.k8s.io/v1" }}
apiVersion: flowcontrol.apiserver.k8s.io/v1
{{- else }}
apiVersion: flowcontrol.apiserver.k8s.io/v1beta1
apiVersion: flowcontrol.apiserver.k8s.io/v1beta2
{{- end }}
kind: PriorityLevelConfiguration
metadata:
Expand Down

0 comments on commit 5157204

Please sign in to comment.