diener

command module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

README

diener

A kubernets ingress controller with multiple backends like S3

The CRD for the S3Backend

https://github.com/mabels/diener/k8s-crds/s3backends.diener.adviser.com.crd.yaml

we need to add the ingressClass

apiVersion: networking.k8s.io/v1
kind: IngressClass
metadata:
  name: diener
spec:
  controller: diener.adviser.com/controller

sample:

apiVersion: diener.adviser.com/v1alpha1
kind: S3Backend
metadata:
  name: example
spec:
    accessKey: "accessKey"
    bucketName: "bucketName"
    endpoint: "http://doof"
    maxAgeSeconds: 3700
    maxObjectSize: 10000000
    region: "us-west-1"
    secretKey: "geheim"
    transferBufSize: 2939393

the matching ingress looks like:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: pictures.whatever.tech
spec:
  ingressClassName: diener
  rules:
    - http:
        paths:
          - path: /
            pathType: ImplementationSpecific
            backend:
              resource:
                apiGroup: diener.adviser.com
                kind: S3Backend
                name: picture

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
backend
s3
k8s

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL