Compare commits
9
Commits
489841aa1e
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4856813d30 | ||
|
|
24e1b3dfe0 | ||
|
|
4b13854cad | ||
|
|
4d96e046b1 | ||
|
|
965991a75e | ||
|
|
ea05a93bc2 | ||
|
|
59db862b12 | ||
|
|
7ad990a444 | ||
|
|
18e7fd7ea3 |
@@ -0,0 +1,24 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: rancher
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://releases.rancher.com/server-charts/stable
|
||||||
|
chart: rancher
|
||||||
|
targetRevision: "2.14.2"
|
||||||
|
helm:
|
||||||
|
valueFiles:
|
||||||
|
- $values/helm/rancher/values.yaml
|
||||||
|
- repoURL: http://gitea-http.gitea.svc.cluster.local:3000/admin/k8s-manifests
|
||||||
|
targetRevision: HEAD
|
||||||
|
ref: values
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: cattle-system
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
@@ -1,2 +1,7 @@
|
|||||||
bootstrapPassword: CHANGEME
|
|
||||||
hostname: rancher.uzbutterfly.com
|
hostname: rancher.uzbutterfly.com
|
||||||
|
bootstrapPassword: ""
|
||||||
|
ingress:
|
||||||
|
ingressClassName: nginx
|
||||||
|
tls:
|
||||||
|
source: secret
|
||||||
|
secretName: rancher-tls
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: external-secrets.io/v1
|
||||||
|
kind: ExternalSecret
|
||||||
|
metadata:
|
||||||
|
name: rancher-secret
|
||||||
|
namespace: cattle-system
|
||||||
|
spec:
|
||||||
|
refreshInterval: 1h
|
||||||
|
secretStoreRef:
|
||||||
|
name: vault-backend
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
target:
|
||||||
|
name: rancher-bootstrap-secret
|
||||||
|
creationPolicy: Owner
|
||||||
|
data:
|
||||||
|
- secretKey: bootstrapPassword
|
||||||
|
remoteRef:
|
||||||
|
key: secret/rancher
|
||||||
|
property: bootstrapPassword
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
||||||
name: rancher-ingress
|
|
||||||
namespace: cattle-system
|
|
||||||
spec:
|
|
||||||
ingressClassName: nginx-private
|
|
||||||
rules:
|
|
||||||
- host: rancher.uzbutterfly.com
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- backend:
|
|
||||||
service:
|
|
||||||
name: rancher
|
|
||||||
port:
|
|
||||||
number: 80
|
|
||||||
path: /
|
|
||||||
pathType: Prefix
|
|
||||||
tls:
|
|
||||||
- hosts:
|
|
||||||
- rancher.uzbutterfly.com
|
|
||||||
secretName: rancher-tls
|
|
||||||
@@ -8,7 +8,7 @@ items:
|
|||||||
name: minio-ingress
|
name: minio-ingress
|
||||||
namespace: minio
|
namespace: minio
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: nginx-private
|
ingressClassName: nginx
|
||||||
rules:
|
rules:
|
||||||
- host: minio.uzbutterfly.com
|
- host: minio.uzbutterfly.com
|
||||||
http:
|
http:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: nginx-private
|
ingressClassName: nginx
|
||||||
rules:
|
rules:
|
||||||
- host: grafana.uzbutterfly.com
|
- host: grafana.uzbutterfly.com
|
||||||
http:
|
http:
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ items:
|
|||||||
name: vault-ingress
|
name: vault-ingress
|
||||||
namespace: vault
|
namespace: vault
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: nginx-private
|
ingressClassName: nginx
|
||||||
rules:
|
rules:
|
||||||
- host: vault.uzbutterfly.com
|
- host: vault.uzbutterfly.com
|
||||||
http:
|
http:
|
||||||
|
|||||||
Reference in New Issue
Block a user