mirror of
https://github.com/clearlinux/cloud-native-setup.git
synced 2026-09-01 19:31:46 +00:00
updating the deprecated APIs for K8s v1.16 (#259)
This commit is contained in:
committed by
Syed Ahsan
parent
9574f44b20
commit
103bfcc681
@@ -6,7 +6,7 @@ patchesJson6902:
|
||||
# adds "networking.k8s.io" to ClusterRole's apiGroups
|
||||
- target:
|
||||
group: rbac.authorization.k8s.io
|
||||
version: v1beta1
|
||||
version: v1
|
||||
kind: ClusterRole
|
||||
name: nginx-ingress-clusterrole
|
||||
path: patch_clusterrole.yaml
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# operator
|
||||
apiVersion: apps/v1beta1
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: rook-ceph-operator
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
# name must match the spec fields below, and be in the form: <plural>.<group>
|
||||
|
||||
@@ -119,7 +119,7 @@ patchesJson6902:
|
||||
# adds "networking.k8s.io" to ClusterRole's apiGroups
|
||||
- target:
|
||||
group: rbac.authorization.k8s.io
|
||||
version: v1beta1
|
||||
version: v1
|
||||
kind: ClusterRole
|
||||
name: nginx-ingress-clusterrole
|
||||
path: patch_clusterrole.yaml
|
||||
@@ -137,7 +137,7 @@ itself contains the operation to perform, target path and value. The `rules/3/ap
|
||||
operation (in this case "add") at the `apiGroups:` list found under the 4th list item of `rules:`.
|
||||
|
||||
```yaml
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: nginx-ingress-clusterrole
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
apiVersion: admissionregistration.k8s.io/v1beta1
|
||||
apiVersion: admissionregistration.k8s.io/v1
|
||||
kind: MutatingWebhookConfiguration
|
||||
metadata:
|
||||
name: pod-annotate-webhook
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
apiVersion: extensions/v1beta1
|
||||
apiVersion: extensions/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: pod-annotate-webhook
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
apiVersion: extensions/v1beta1
|
||||
apiVersion: extensions/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: php-apache-kata
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
apiVersion: extensions/v1beta1
|
||||
apiVersion: extensions/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: php-apache-runc
|
||||
|
||||
Reference in New Issue
Block a user