# Chipster auth's users file for defining Chipster user accounts
apiVersion: v1
kind: Secret
metadata:
  name: auth-security
  labels:
    app: chipster
type: Opaque
stringData:
  users: |-
    # User accounts
    #
    # One user per line, format as follows:
    #
    # username:password:expiration date (yyyy-mm-dd):comment
    #
    # accounts from values.yaml
    {{- range $key, $user := .Values.users }}
    {{ $key }}:{{ required "users.*.password is required" $user.password }}::
    {{- end }}
