Update 3 files
- /internalproxy/templates/nexus.yaml - /internalproxy/templates/registry.yaml - /internalproxy/templates/wazuh.yaml
This commit is contained in:
@@ -1,64 +1,64 @@
|
|||||||
#apiVersion: v1
|
apiVersion: v1
|
||||||
#kind: Service
|
kind: Service
|
||||||
#metadata:
|
metadata:
|
||||||
# name: nexus
|
name: nexus
|
||||||
#spec:
|
spec:
|
||||||
# ports:
|
ports:
|
||||||
# - name: app
|
- name: app
|
||||||
# port: 8081
|
port: 8081
|
||||||
# protocol: TCP
|
protocol: TCP
|
||||||
# targetPort: 8081
|
targetPort: 8081
|
||||||
# clusterIP: None
|
clusterIP: None
|
||||||
# type: ClusterIP
|
type: ClusterIP
|
||||||
#
|
|
||||||
#---
|
---
|
||||||
#
|
|
||||||
#apiVersion: v1
|
apiVersion: v1
|
||||||
#kind: Endpoints
|
kind: Endpoints
|
||||||
#metadata:
|
metadata:
|
||||||
# name: nexus
|
name: nexus
|
||||||
#subsets:
|
subsets:
|
||||||
#- addresses:
|
- addresses:
|
||||||
# - ip: 192.168.20.253
|
- ip: 192.168.20.253
|
||||||
# ports:
|
ports:
|
||||||
# - name: app
|
- name: app
|
||||||
# port: 8081
|
port: 8081
|
||||||
# protocol: TCP
|
protocol: TCP
|
||||||
#
|
|
||||||
#---
|
---
|
||||||
#
|
|
||||||
#apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
#kind: IngressRoute
|
kind: IngressRoute
|
||||||
#metadata:
|
metadata:
|
||||||
# name: nexus-ingress
|
name: nexus-ingress
|
||||||
#spec:
|
spec:
|
||||||
# entryPoints:
|
entryPoints:
|
||||||
# - websecure
|
- websecure
|
||||||
# routes:
|
routes:
|
||||||
# - match: Host(`nexus.durp.info`) && PathPrefix(`/`)
|
- match: Host(`nexus.durp.info`) && PathPrefix(`/`)
|
||||||
# kind: Rule
|
kind: Rule
|
||||||
# services:
|
services:
|
||||||
# - name: nexus
|
- name: nexus
|
||||||
# port: 8081
|
port: 8081
|
||||||
# tls:
|
tls:
|
||||||
# secretName: nexus-tls
|
secretName: nexus-tls
|
||||||
#
|
|
||||||
#---
|
---
|
||||||
#
|
|
||||||
#apiVersion: cert-manager.io/v1
|
apiVersion: cert-manager.io/v1
|
||||||
#kind: Certificate
|
kind: Certificate
|
||||||
#metadata:
|
metadata:
|
||||||
# name: nexus-tls
|
name: nexus-tls
|
||||||
#spec:
|
spec:
|
||||||
# secretName: nexus-tls
|
secretName: nexus-tls
|
||||||
# issuerRef:
|
issuerRef:
|
||||||
# name: letsencrypt-production
|
name: letsencrypt-production
|
||||||
# kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
# commonName: "nexus.durp.info"
|
commonName: "nexus.durp.info"
|
||||||
# dnsNames:
|
dnsNames:
|
||||||
# - "nexus.durp.info"
|
- "nexus.durp.info"
|
||||||
#
|
|
||||||
#---
|
---
|
||||||
|
|
||||||
kind: Service
|
kind: Service
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
|||||||
@@ -1,64 +1,64 @@
|
|||||||
#apiVersion: v1
|
apiVersion: v1
|
||||||
#kind: Service
|
kind: Service
|
||||||
#metadata:
|
metadata:
|
||||||
# name: registry
|
name: registry
|
||||||
#spec:
|
spec:
|
||||||
# ports:
|
ports:
|
||||||
# - name: app
|
- name: app
|
||||||
# port: 5000
|
port: 5000
|
||||||
# protocol: TCP
|
protocol: TCP
|
||||||
# targetPort: 5000
|
targetPort: 5000
|
||||||
# clusterIP: None
|
clusterIP: None
|
||||||
# type: ClusterIP
|
type: ClusterIP
|
||||||
#
|
|
||||||
#---
|
---
|
||||||
#
|
|
||||||
#apiVersion: v1
|
apiVersion: v1
|
||||||
#kind: Endpoints
|
kind: Endpoints
|
||||||
#metadata:
|
metadata:
|
||||||
# name: registry
|
name: registry
|
||||||
#subsets:
|
subsets:
|
||||||
#- addresses:
|
- addresses:
|
||||||
# - ip: 192.168.20.253
|
- ip: 192.168.20.253
|
||||||
# ports:
|
ports:
|
||||||
# - name: app
|
- name: app
|
||||||
# port: 5000
|
port: 5000
|
||||||
# protocol: TCP
|
protocol: TCP
|
||||||
#
|
|
||||||
#---
|
---
|
||||||
#
|
|
||||||
#apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
#kind: IngressRoute
|
kind: IngressRoute
|
||||||
#metadata:
|
metadata:
|
||||||
# name: registry-ingress
|
name: registry-ingress
|
||||||
#spec:
|
spec:
|
||||||
# entryPoints:
|
entryPoints:
|
||||||
# - websecure
|
- websecure
|
||||||
# routes:
|
routes:
|
||||||
# - match: Host(`registry.durp.info`) && PathPrefix(`/`)
|
- match: Host(`registry.durp.info`) && PathPrefix(`/`)
|
||||||
# kind: Rule
|
kind: Rule
|
||||||
# services:
|
services:
|
||||||
# - name: registry
|
- name: registry
|
||||||
# port: 5000
|
port: 5000
|
||||||
# tls:
|
tls:
|
||||||
# secretName: registry-tls
|
secretName: registry-tls
|
||||||
#
|
|
||||||
#---
|
---
|
||||||
#
|
|
||||||
#apiVersion: cert-manager.io/v1
|
apiVersion: cert-manager.io/v1
|
||||||
#kind: Certificate
|
kind: Certificate
|
||||||
#metadata:
|
metadata:
|
||||||
# name: registry-tls
|
name: registry-tls
|
||||||
#spec:
|
spec:
|
||||||
# secretName: registry-tls
|
secretName: registry-tls
|
||||||
# issuerRef:
|
issuerRef:
|
||||||
# name: letsencrypt-production
|
name: letsencrypt-production
|
||||||
# kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
# commonName: "registry.durp.info"
|
commonName: "registry.durp.info"
|
||||||
# dnsNames:
|
dnsNames:
|
||||||
# - "registry.durp.info"
|
- "registry.durp.info"
|
||||||
#
|
|
||||||
#---
|
---
|
||||||
|
|
||||||
kind: Service
|
kind: Service
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
|||||||
@@ -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