update
This commit is contained in:
@@ -1,65 +1,65 @@
|
|||||||
apiVersion: v1
|
#apiVersion: v1
|
||||||
kind: Service
|
#kind: Service
|
||||||
metadata:
|
#metadata:
|
||||||
name: wazuh
|
# name: wazuh
|
||||||
spec:
|
#spec:
|
||||||
ports:
|
# ports:
|
||||||
- name: app
|
# - name: app
|
||||||
port: 443
|
# port: 443
|
||||||
protocol: TCP
|
# protocol: TCP
|
||||||
targetPort: 443
|
# targetPort: 443
|
||||||
clusterIP: None
|
# clusterIP: None
|
||||||
type: ClusterIP
|
# type: ClusterIP
|
||||||
|
#
|
||||||
---
|
#---
|
||||||
|
#
|
||||||
apiVersion: v1
|
#apiVersion: v1
|
||||||
kind: Endpoints
|
#kind: Endpoints
|
||||||
metadata:
|
#metadata:
|
||||||
name: wazuh
|
# name: wazuh
|
||||||
subsets:
|
#subsets:
|
||||||
- addresses:
|
#- addresses:
|
||||||
- ip: 192.168.20.102
|
# - ip: 192.168.20.102
|
||||||
ports:
|
# ports:
|
||||||
- name: app
|
# - name: app
|
||||||
port: 443
|
# port: 443
|
||||||
protocol: TCP
|
# protocol: TCP
|
||||||
|
#
|
||||||
---
|
#---
|
||||||
|
#
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
#apiVersion: traefik.containo.us/v1alpha1
|
||||||
kind: IngressRoute
|
#kind: IngressRoute
|
||||||
metadata:
|
#metadata:
|
||||||
name: wazuh-ingress
|
# name: wazuh-ingress
|
||||||
spec:
|
#spec:
|
||||||
entryPoints:
|
# entryPoints:
|
||||||
- websecure
|
# - websecure
|
||||||
routes:
|
# routes:
|
||||||
- match: Host(`wazuh.durp.info`) && PathPrefix(`/`)
|
# - match: Host(`wazuh.durp.info`) && PathPrefix(`/`)
|
||||||
kind: Rule
|
# kind: Rule
|
||||||
services:
|
# services:
|
||||||
- name: wazuh
|
# - name: wazuh
|
||||||
port: 443
|
# port: 443
|
||||||
tls:
|
# tls:
|
||||||
secretName: wazuh-tls
|
# secretName: wazuh-tls
|
||||||
|
#
|
||||||
---
|
#---
|
||||||
|
#
|
||||||
apiVersion: cert-manager.io/v1
|
#apiVersion: cert-manager.io/v1
|
||||||
kind: Certificate
|
#kind: Certificate
|
||||||
metadata:
|
#metadata:
|
||||||
name: wazuh-tls
|
# name: wazuh-tls
|
||||||
spec:
|
#spec:
|
||||||
secretName: wazuh-tls
|
# secretName: wazuh-tls
|
||||||
issuerRef:
|
# issuerRef:
|
||||||
name: letsencrypt-production
|
# name: letsencrypt-production
|
||||||
kind: ClusterIssuer
|
# kind: ClusterIssuer
|
||||||
commonName: "wazuh.durp.info"
|
# commonName: "wazuh.durp.info"
|
||||||
dnsNames:
|
# dnsNames:
|
||||||
- "wazuh.durp.info"
|
# - "wazuh.durp.info"
|
||||||
|
#
|
||||||
---
|
#---
|
||||||
|
#
|
||||||
kind: Service
|
kind: Service
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
Reference in New Issue
Block a user