Skip to content
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

ouctl not respecting the dashboard namespace? #21

Open
johanneskastl opened this issue Oct 30, 2023 · 2 comments
Open

ouctl not respecting the dashboard namespace? #21

johanneskastl opened this issue Oct 30, 2023 · 2 comments

Comments

@johanneskastl
Copy link

I have this in my values.yaml:

dashboard:
  namespace: openunison

However, during deployment with ouctl install-auth-portal OpenUnison/values.yaml I get a different namespace for the dashboard, and this other namespace is being created:

Checking for the Dashboard namespace kubernetes-dashboard
Dashboard namespace kubernetes-dashboard does not exist, creating
Dashboard namespace kubernetes-dashboard created
Checking for the OpenUnison namespace openunison
OpenUnison namespace openunison already exists

Looks like ouctl does not respect the settings in my values.yaml file. Or did I misunderstand the purpose of the dashboard.namespace key?

@mlbiam
Copy link
Contributor

mlbiam commented Oct 31, 2023

can you share your values.yaml? Looking at the code i see it looking for dashboard configuration

@johanneskastl
Copy link
Author

I tried several variants, I also tried disabling the dashboard.

---                                                                                                                                                                                          
network:                                                                                                                                                                                     
  openunison_host: "openunison.deskmini.example.org"                                                                                                                                         
  dashboard_host: "dashboard.deskmini.example.org"                                                                                                                                           
  api_server_host: "api-server.deskmini.example.org"                                                                                                                                         
  k8s_url: https://XXX:6443                                                                                                                                                                  
  force_redirect_to_tls: true                                                                                                                                                                
  createIngressCertificate: false                                                                                                                                                            
  ingress_type: nginx                                                                                                                                                                        
  ingress_certificate: openunison.deskmini.example.org-tls                                                                                                                                   
                                                                                                                                                                                             
k8s_cluster_name: deskmini                                                                                                                                                                   
                                                                                                                                                                                             
dashboard:                                                                                                                                                                                   
  namespace: openunison                                                                                                                                                                      
  cert_name: dashboard.deskmini.example.org-tls                                                                                                                                              
  label: "k8s-app=kubernetes-dashboard"                                                                                                                                                      
  service_name: kubernetes-dashboard                                                                                                                                                         
  require_session: true                                                                                                                                                                      
                                                                                                                                                                                             
active_directory:                                                                                                                                                                            
  base: ou=users,dc=example,dc=org                                                                                                                                                           
  host: ldap.example.org                                                                                                                                                                     
  port: 636                                                                                                                                                                                  
  bind_dn: cn=admin,dc=example,dc=org                                                                                                                                                        
  con_type: ldaps                                                                                                                                                                            
  srv_dns: "false"

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