Skip to content
Snippets Groups Projects
Commit 3a2ef391 authored by Vincent Sellier's avatar Vincent Sellier
Browse files

rancher: cleanup old rke cluster resources

parent c36ceace
No related branches found
No related tags found
1 merge request!13rancher: cleanup old rke cluster resources
Showing
with 0 additions and 273 deletions
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-production-gandi
namespace: cert-manager
spec:
acme:
# The ACME server URL
server: https://acme-v02.api.letsencrypt.org/directory
email: sysop+k8sproduction@softwareheritage.org
# Name of a secret used to store the ACME account private key
privateKeySecretRef:
name: letsencrypt-production
solvers:
- dns01:
webhook:
groupName: acme.bwolf.me
solverName: gandi
config:
apiKeySecretRef:
key: api-token
name: gandi-credentials
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-staging-gandi
namespace: cert-manager
spec:
acme:
# The ACME server URL
server: https://acme-staging-v02.api.letsencrypt.org/directory
email: sysop+k8sproduction@softwareheritage.org
# Name of a secret used to store the ACME account private key
privateKeySecretRef:
name: letsencrypt-staging
solvers:
- dns01:
webhook:
groupName: acme.bwolf.me
solverName: gandi
config:
apiKeySecretRef:
key: api-token
name: gandi-credentials
---
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: production-metallb-pool
namespace: metallb
spec:
addresses:
- 192.168.100.119/32
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: l2-advertisement
namespace: metallb
---
# Namespace dedicated to the cassandra replaying
apiVersion: v1
kind: Namespace
metadata:
name: cassandra-replay
---
# Namespace for keda
apiVersion: v1
kind: Namespace
metadata:
name: keda
---
# Namespace for cassandra monitoring
apiVersion: v1
kind: Namespace
metadata:
name: cassandra
---
# Namespace dedicated to the swh elastic environment
apiVersion: v1
kind: Namespace
metadata:
name: swh
---
# Namespace dedicated to the metallb environment
apiVersion: v1
kind: Namespace
metadata:
name: metallb
---
# Namespace dedicated to the ingress-nginx environment
apiVersion: v1
kind: Namespace
metadata:
name: ingress-nginx
---
apiVersion: v1
kind: Namespace
metadata:
name: local-path-provisioner
---
apiVersion: v1
kind: Namespace
metadata:
name: cert-manager
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-production-gandi
namespace: cert-manager
spec:
acme:
# The ACME server URL
server: https://acme-v02.api.letsencrypt.org/directory
email: sysop+k8sstaging@softwareheritage.org
# Name of a secret used to store the ACME account private key
privateKeySecretRef:
name: letsencrypt-production
solvers:
- dns01:
webhook:
groupName: acme.bwolf.me
solverName: gandi
config:
apiKeySecretRef:
key: api-token
name: gandi-credentials
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-staging-gandi
namespace: cert-manager
spec:
acme:
# The ACME server URL
server: https://acme-staging-v02.api.letsencrypt.org/directory
email: sysop+k8sstaging@softwareheritage.org
# Name of a secret used to store the ACME account private key
privateKeySecretRef:
name: letsencrypt-staging
solvers:
- dns01:
webhook:
groupName: acme.bwolf.me
solverName: gandi
config:
apiKeySecretRef:
key: api-token
name: gandi-credentials
---
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: staging-metallb-pool
namespace: metallb
spec:
addresses:
- 192.168.130.129/32
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: l2-advertisement
namespace: metallb
---
# Namespace dedicated to keda
apiVersion: v1
kind: Namespace
metadata:
name: keda
---
# Namespace dedicated to the swh services (e.g. loaders, rpc, ...)
apiVersion: v1
kind: Namespace
metadata:
name: swh
---
# Namespace dedicated to cluster monitoring services
apiVersion: v1
kind: Namespace
metadata:
name: cattle-monitoring-system
---
apiVersion: v1
kind: Namespace
metadata:
name: local-path-provisioner
---
apiVersion: v1
kind: Namespace
metadata:
name: metallb
---
apiVersion: v1
kind: Namespace
metadata:
name: cert-manager
# Declare the application to manage keda
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: archive-staging-keda
namespace: argocd
spec:
project: default
source:
chart: keda
repoURL: "https://kedacore.github.io/charts"
targetRevision: 2.8.1
helm:
releaseName: keda
destination:
server: https://rancher.euwest.azure.internal.softwareheritage.org/k8s/clusters/c-cx2bq
namespace: keda
syncPolicy:
automated:
prune: true
selfHeal: true
# Declare the application to manage keda
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: archive-staging-local-path-provisioner
namespace: argocd
spec:
project: default
source:
repoURL: "https://github.com/rancher/local-path-provisioner.git"
path: deploy/chart/local-path-provisioner
targetRevision: v0.0.23
helm:
releaseName: local-path-provisioner
values: |
nodePathMap:
- node: DEFAULT_PATH_FOR_NON_LISTED_NODES
paths:
- /tmp/k8s-ephemeral-storage
destination:
server: https://rancher.euwest.azure.internal.softwareheritage.org/k8s/clusters/c-cx2bq
namespace: local-path-provisioner
syncPolicy:
automated:
prune: true
selfHeal: true
# Declare the application to deploy the swh services
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: archive-staging-swh
namespace: argocd
spec:
project: default
source:
repoURL: 'https://gitlab.softwareheritage.org/swh/infra/ci-cd/swh-charts.git'
path: swh
targetRevision: staging
helm:
valueFiles:
- ../values-swh-application-versions.yaml
- values/default.yaml
- values/staging.yaml
releaseName: swh
destination:
server: https://rancher.euwest.azure.internal.softwareheritage.org/k8s/clusters/c-cx2bq
namespace: swh
syncPolicy:
automated:
prune: true
selfHeal: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment