Skip to content

Commit

Permalink
fix: warnings on admissionregistration version (#581)
Browse files Browse the repository at this point in the history
* fix: warnings on admissionregistration version

Signed-off-by: Hector Fernandez <hectorf@vmware.com>

* fix: bump Chart version

Signed-off-by: Hector Fernandez <hectorf@vmware.com>

* chore: limit admission review versions to v1

Signed-off-by: Hector Fernandez <hectorf@vmware.com>
  • Loading branch information
hectorj2f committed Aug 27, 2021
1 parent cf9cced commit fe21c9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chart/cosigned/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ sources:
- https://github.com/sigstore/cosign
name: cosigned
type: application
version: v0.0.1-dev
version: v0.0.2-dev
appVersion: "dev"
maintainers:
- name: dlorenc
Expand Down
4 changes: 3 additions & 1 deletion chart/cosigned/templates/webhook/webhook_validating.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: admissionregistration.k8s.io/v1beta1
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
annotations:
Expand All @@ -33,6 +33,8 @@ webhooks:
# matchLabels:
# cosigned: "true"
name: webhook.cosigned.sigstore.dev
admissionReviewVersions:
- v1
rules:
- apiGroups:
- ""
Expand Down

0 comments on commit fe21c9f

Please sign in to comment.