any-resource
by Helm
Helm chartv0.1.0App 0.1.0
A Helm chart to bring any kind of resources in a k8s cluster
About this chart
A Helm Chart for any Kind of Resources
The purpose of this chart is to become able to manage every installed resources in a Kubernetes cluster via HELM.
For example:
- Global secrets (e.g. TLS certs or
imagePullSecrets) - ConfigMaps (e.g. grafana-dashboards, see https://github.com/helm/charts/tree/master/stable/grafana#sidecar-for-dashboards)
- Custom Resources (e.g.
GcpNamespaceRestriction, see https://github.com/kiwigrid/gcp-serviceaccount-controller)
Example
Create a file called custom-values.yaml with following content:
anyResources:
myPullSecret: |-
apiVersion: v1
data:
.dockercfg: eyJodHRwczovL215LmRvY2tlci5yZWdpc3RyeSI6eyJ1c2VybmFtZSI6ImRvY2tlciIsInBhc3N3b3JkIjoidW5rbm93biIsImF1dGgiOiJFaWsxYWhrdXVzaG9ocGhpdWY5emFocGhlZVRoYXhhPSJ9fQo=
kind: Secret
metadata:
name: myPullSecret
type: kubernetes.io/dockercfg
Install
helm upgrade --install my-pull-secret --values custom-values.yaml kiwigrid/any-resource
Open Issue
- HELM standard label support
Deploy any-resource with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has any-resource on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartany-resource is pinned at v0.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply