To create or update the secrets, you directly use Kubernetes Secrets API. Create secrets.yaml with the following content (replacing the values with your secrets): apiVersion: v1 kind: Secret metadata: ...