Open sloev opened 3 years ago
i see no way of using multi tenancy (operator https://docs.nats.io/nats-server/configuration/securing_nats/accounts) with this operator.
i have tried:
apiVersion: nats.io/v1alpha2 kind: NatsCluster metadata: name: nats spec: size: 3 version: "2.1.8" pod: enableConfigReload: true volumeMounts: - name: authconfig mountPath: /etc/nats-config/authconfig template: spec: volumes: - name: authconfig configMap: name: nats-config --- apiVersion: v1 kind: Service metadata: name: nats-lb namespace: default labels: app: nats spec: type: LoadBalancer externalTrafficPolicy: Local selector: app: nats ports: - name: nats protocol: TCP port: 4222 targetPort: 4222 --- apiVersion: v1 kind: ConfigMap metadata: name: nats-config data: nats.conf: | pid_file: "/var/run/nats/nats.pid" http: 8222 debug=true trace=true accounts: { World1: { users: [ { nkey: UAONLF6PPTG2YRFIQFW3A5IV4D5S3C4DSJ3IQEFXODU7TRXQXUTRRN44 } ] }, }
but it doesnt seem like it picks up the accounts
i see no way of using multi tenancy (operator https://docs.nats.io/nats-server/configuration/securing_nats/accounts) with this operator.
i have tried:
but it doesnt seem like it picks up the accounts