fix: correct spelling of 'nginix' to 'nginx' in deployment, ingress, and service YAML files

This commit is contained in:
suyiiyii 2024-11-16 00:57:04 +08:00
parent 41b0dd5753
commit d42481d1a8
Signed by: suyiiyii
GPG Key ID: 044704CB29B8AD85
3 changed files with 11 additions and 11 deletions

View File

@ -3,19 +3,19 @@ kind: Deployment
metadata:
creationTimestamp: null
labels:
app: nginix
name: nginix
app: nginx
name: nginx
spec:
replicas: 1
selector:
matchLabels:
app: nginix
app: nginx
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: nginix
app: nginx
spec:
containers:
- image: docker.m.ixdev.cn/library/nginx:latest

View File

@ -1,22 +1,22 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: nginix-ingress
name: nginx-ingress
annotations:
cert-manager.io/issuer: letsencrypt-issuer
spec:
tls:
- hosts:
- nginix.kl.suyiiyii.top
secretName: nginix-tls
- nginx.kl.suyiiyii.top
secretName: nginx-tls
rules:
- host: nginix.kl.suyiiyii.top
- host: nginx.kl.suyiiyii.top
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: nginix-service
name: nginx-service
port:
number: 80

View File

@ -1,10 +1,10 @@
apiVersion: v1
kind: Service
metadata:
name: nginix-service
name: nginx-service
spec:
selector:
app: nginix
app: nginx
ports:
- protocol: TCP
port: 80