Skip to content

[FEATURE] Include in official documentation: tinyauth ACLs using kubernetes and traefik #1022

Description

@idcrook

Is your feature request related to a problem? Please describe.

Followup to #1011. the v5.1.1-rc.1 in kubernetes now successfully starts.

Official docs mention traefik and kubernetes for tinyauth, but include no example, leaving as exercise to reader.

Describe the solution you'd like.

Include a tested example for tinyauth ACLs in the kubernetes section for traefik in official documentation.

Copying part of currently working kubernetes ingress API config copied from #1011 here:

---
apiVersion: v1
kind: Namespace
metadata:
  name: tinyauth

# ---
# apiVersion: v1
# kind: ServiceAccount
# metadata:
#   name: tinyauth-sa
#   namespace: tinyauth

---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: tinyauth-ingress
rules:
  - apiGroups: ["networking.k8s.io"]
    resources: ["ingresses"]
    verbs: ["get", "list", "watch"]

---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: tinyauth-ingress
  namespace: tinyauth

subjects:
  - kind: ServiceAccount
    # name: tinyauth-sa
    name: default
    namespace: tinyauth
roleRef:
  kind: ClusterRole
  name: tinyauth-ingress
  apiGroup: rbac.authorization.k8s.io

Describe alternatives you've considered.

encountered as process of attempting to debug/resolve #1011

Additional context

Official docs mention traefik in kubernetes page for tinyauth, but include no example, leaving as exercise to reader.

Human Written Confirmation

  • I confirm this request was written by me and not generated by an LLM or AI assistant.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions