docs: replace deprecated ingress.class annotation

Documentation and examples used a deprecated annotation to set the Ingress class name. This commit replaces it with the correct version using spec.ingressClassName .

Signed-off-by: Marcel Lautenbach <mlautenb@gmail.com>
(cherry picked from commit 9d335ad814)
This commit is contained in:
Marcel Lautenbach authored and Mergify committed 2023-06-29 14:39:20 +00:00
1 parent b5382ccc71
commit ab66e24320
3 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -11,12 +11,12 @@ metadata:
name: rook-ceph-mgr-dashboard
namespace: rook-ceph # namespace:cluster
annotations:
kubernetes.io/ingress.class: "nginx"
kubernetes.io/tls-acme: "true"
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
nginx.ingress.kubernetes.io/server-snippet: |
proxy_ssl_verify off;
spec:
ingressClassName: "nginx"
tls:
- hosts:
- rook-ceph.example.com