Skip to content

Enable to set a password to a User #40

@angelbarrera92

Description

@angelbarrera92

By default, every new user receives the changemeplease password

It would be amazing if the password can be set from a secret object like you can configure environment variables from secrets in the container spec:

---
apiVersion: v1
kind: Secret
metadata:
  name: angelbarrera92-pw
  namespace: monitoring
type: Opaque
stringData:
  password: jujuju
---
apiVersion: grafana.k8spin.cloud/v1
kind: User
metadata:
  name: angelbarrera92
  namespace: monitoring
spec:
  email: angelbarrera92@yopmail.com
  password:
    valueFrom:
      secretKeyRef:
        name: angelbarrera92-pw
        key: password
  organizations:
    - k8spin.cloud

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions