Kubernetes Secret Configuration

apiVersion: v1
kind: Secret
metadata:
  name: mongodb-secret
type: Opaque
data:
  mongo-root-username: Y2xvdmVy
  mongo-root-password: aGFuemUxMTA3

Note: The value in the data section could be mapped to 202202181227

Note: The value inside the data section is encrypted in base64.

Links to this page
#container