ptyin opened a new pull request, #17:
URL: https://github.com/apache/incubator-seata-k8s/pull/17
The older method to configure SeataServer is to use `env` property like
following,
```yaml
apiVersion: operator.seata.apache.org/v1alpha1
kind: SeataServer
# ...
spec:
# ...
env:
console.user.username: seata
console.user.password: seata
```
However, the `env` property is just a map, it does not support `valueFrom`
like Kubernetes [`EnvVar`](https://pkg.go.dev/k8s.io/api/core/v1#EnvVar). We
would like to refactor the current `env` implementation from map type to
`EnvVar` so to support ConfigMap and Secret. The current form is something like
following,
```yaml
apiVersion: operator.seata.apache.org/v1alpha1
kind: SeataServer
# ...
spec:
# ...
env:
- name: console.user.username
value: seata
- name: console.user.password
valueFrom:
secretKeyRef:
name: seatapwd
key: console
```
Fix #15
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]