Helm chartv2.0.2App 1.0.0Verified publisher

Render raw kubernetes manifests managed by a helm release

About this chart

Raw

Render raw kubernetes manifests managed by a helm release

This chart is a port to Helm v3 of the original raw chart. The chart works for the most parts the same (keep it as simple as possible). So all credits to the original authors. Don't forget to check the library functions, these can be used as well within your templates. It is under active development and may contain bugs/unfinished documentation. Any testing/contributions are welcome! :)

Homepage: https://github.com/bedag/helm-charts/tree/master/charts/raw

Maintainers

NameEmailUrl
SRE[email protected]

Source Code

Requirements

RepositoryNameVersion
https://buttahtoast.github.io/helm-charts/library3.0.0-rc.3

Examples

See the following examples to see the full potential:

global:
  imageRegistry: "company-registry/"

# Consider this Image tag Mainly. But considers global imageRegistry, if set by parent chart.
image:
  registry: docker.io
  repository: bitnami/apache

templates:
  - |
      apiVersion: v1
      kind: Pod
      metadata:
        name: static-web
        labels:
          role: myrole
      spec:
        containers:
          - name: web
            image: \{\{ include "lib.utils.globals.image" (dict "image" .Values.image "context" $ ) }}
            ports:
              - name: web
                containerPort: 80
                protocol: TCP

A very basic example. But might get you started.

Values

KeyTypeDefaultDescription
commonLabelsobject{}Common Labels are added to each kubernetes resource manifest.
overwriteLabelsobject{}Overwrites default labels, but not resource specific labels and common labels
resourceslist[]Define resources to be deployed by the raw chart
templateslist[]Define templates which will be executed using the tpl function

Deploy raw with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has raw 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartraw is pinned at v2.0.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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