Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jolestar committed Oct 8, 2024
1 parent 577ca12 commit a25c582
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion kube/mainnet/mainnet-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ metadata:
namespace: mainnet
annotations:
kubernetes.io/ingress.global-static-ip-name: "mainnet-ingress-static-ip"
#Note: there is a waring: Warning: annotation "kubernetes.io/ingress.class" is deprecated, please use 'spec.ingressClassName' instead
#But if we set the spec.ingressClassName, it do not worked.
kubernetes.io/ingress.class: "gce"
networking.gke.io/managed-certificates: "mainnet-cert"
spec:
ingressClassName: gce
rules:
- host: main-faucet.rooch.network
http:
Expand Down
6 changes: 4 additions & 2 deletions kube/testnet/testnet-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ metadata:
name: testnet-ingress
namespace: testnet
annotations:
kubernetes.io/ingress.global-static-ip-name: "testnet-ingress-static-ip"
kubernetes.io/ingress.global-static-ip-name: "testnet-ingress-static-ip"
#Note: there is a waring: Warning: annotation "kubernetes.io/ingress.class" is deprecated, please use 'spec.ingressClassName' instead
#But if we set the spec.ingressClassName, it do not worked.
kubernetes.io/ingress.class: "gce"
networking.gke.io/managed-certificates: "testnet-cert"
spec:
ingressClassName: gce
rules:
- host: test-faucet.rooch.network
http:
Expand Down

0 comments on commit a25c582

Please sign in to comment.