Moved Kubernetes resources to the right folders
This commit is contained in:
16
argocd/namespaces/network/certificates.yaml
Normal file
16
argocd/namespaces/network/certificates.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: argocd
|
||||
namespace: network
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "25"
|
||||
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
|
||||
spec:
|
||||
secretName: argocd-tls
|
||||
issuerRef:
|
||||
name: letsencrypt-http01
|
||||
kind: ClusterIssuer
|
||||
dnsNames:
|
||||
# Configure the FQDN for ArgoCD here
|
||||
- "argocd.yourdomain.com"
|
||||
48
argocd/namespaces/network/gateways.yaml
Normal file
48
argocd/namespaces/network/gateways.yaml
Normal file
@@ -0,0 +1,48 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: Gateway
|
||||
metadata:
|
||||
name: acme
|
||||
namespace: network
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "30"
|
||||
spec:
|
||||
gatewayClassName: cilium
|
||||
addresses:
|
||||
- type: IPAddress
|
||||
# Configure your IP address here
|
||||
value: 192.168.10.96
|
||||
listeners:
|
||||
- name: http
|
||||
protocol: HTTP
|
||||
port: 80
|
||||
allowedRoutes:
|
||||
namespaces:
|
||||
from: All
|
||||
---
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: Gateway
|
||||
metadata:
|
||||
name: public
|
||||
namespace: network
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "30"
|
||||
spec:
|
||||
gatewayClassName: cilium
|
||||
addresses:
|
||||
- type: IPAddress
|
||||
# Configure your IP address here
|
||||
value: 192.168.10.97
|
||||
listeners:
|
||||
- name: argocd
|
||||
protocol: HTTPS
|
||||
port: 443
|
||||
# Configure the FQDN for ArgoCD here
|
||||
hostname: "argocd.yourdomain.com"
|
||||
tls:
|
||||
mode: Terminate
|
||||
certificateRefs:
|
||||
- kind: Secret
|
||||
name: argocd-tls
|
||||
allowedRoutes:
|
||||
namespaces:
|
||||
from: All
|
||||
9
argocd/namespaces/network/namespace.yaml
Normal file
9
argocd/namespaces/network/namespace.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: network
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "-1000"
|
||||
labels:
|
||||
name: network
|
||||
spec: {}
|
||||
Reference in New Issue
Block a user