mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-10-19 13:49:53 +00:00
34fc1d847e
to v1.18.0 Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
33 lines
1.3 KiB
Go
33 lines
1.3 KiB
Go
/*
|
|
Copyright 2020 The Kubernetes Authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
package v1beta1
|
|
|
|
const (
|
|
// AnnotationIsDefaultIngressClass can be used to indicate that an
|
|
// IngressClass should be considered default. When a single IngressClass
|
|
// resource has this annotation set to true, new Ingress resources without a
|
|
// class specified will be assigned this default class.
|
|
AnnotationIsDefaultIngressClass = "ingressclass.kubernetes.io/is-default-class"
|
|
|
|
// AnnotationIngressClass indicates the class of an Ingress to be used when
|
|
// determining which controller should implement the Ingress. Use of this
|
|
// annotation is deprecated. The Ingress class field should be used instead
|
|
// of this annotation.
|
|
// +deprecated
|
|
AnnotationIngressClass = "kubernetes.io/ingress.class"
|
|
)
|