Skip to content

Missing pdbTlsKey, pdbTlsCrt, pdbTlsCat, WebServerUser, WebServerPwd and cdbNamespace keys in create-pdbdb.yaml #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rbaumgar opened this issue Aug 21, 2024 · 1 comment
Assignees

Comments

@rbaumgar
Copy link

When creating CDB custom resource using sample create-pdb.yaml file (https://github.com/oracle/oracle-database-operator/blob/main/docs/multitenant/provisioning/create_pdb.yaml), request fails with:

$ kubectl apply -f create_pdb.yaml
The PDB "pdb1" is invalid: 
* spec.pdbTlsKey: Required value: Please specify PDB Tls Key(secret)
* spec.pdbTlsCrt: Required value: Please specify PDB Tls Certificate(secret)
* spec.pdbTlsCat: Required value: Please specify PDB Tls Certificate Authority(secret)
* spec.WebServerUser: Required value: Please specify the http webServerUser
* spec.webServerPwd: Required value: Please specify the http webserverPassword

The issue can be fixed by adding following to specs: section file:
spec:

...
  cdbNamespace: oracle  
  pdbTlsKey:
    secret:
      key: tls.key
      secretName: db-tls
  pdbTlsCrt:
    secret:
      key: tls.crt
      secretName: db-tls
  pdbTlsCat:
    secret:
      key: ca.crt
      secretName: db-ca 
  webServerUser:
    secret:
      key: webserver_user
      secretName: cdb1-secret
  webServerPwd:
    secret:
      key: webserver_pwd
      secretName: cdb1-secret  
...
@mmalvezz
Copy link
Member

Documentation has been fixed
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants