Switching context does not switch user

12 views
Skip to first unread message

Thomas Caligiuri

unread,
Sep 9, 2022, 3:10:51 PM9/9/22
to project-octant

Current config:

apiVersion: v1

clusters:

- cluster:
certificate-authority-data: ###########
server: ########
name: ctc-ofe-stg-usr001

contexts:
- context:
    cluster: ctc-ofe-stg-usr001
    namespace: oap-omms-ofeuat-mt-prj1
    user: oap-omms-ofeuat-mt-prj1-admin
name: HCC_oap-omms-ofeuat-mt-prj1

- context:
   cluster: ctc-ofe-stg-usr001
   namespace: oap-omms-stage-mt-prj1
   user: oap-omms-stage-mt-prj1-admin
name: HCC_oap-omms-stage-mt-prj1

current-context: HCC_oap-omms-stageerror.png-mt-prj1
kind: Config
preferences: {}
users:
- name: oap-omms-ofeuat-mt-prj1-admin
   user:
   token: ########
- name: oap-omms-stage-mt-prj1-admin
   user:
   token: ######

Using the above config file, octant starts fine and displays everything for the current context. 
If I use Octant and switch context to  HCC_oap-omms-ofeuat-mt-prj1 it is still using the user associated with the  HCC_oap-omms-stage-mt-prj1 context?





  
error.png
switch.JPG
Reply all
Reply to author
Forward
0 new messages