Skip to content

Fix creds issue on kube release #80

@mariot

Description

@mariot

Description

When releasing, we have this error from kube:
Run kubectl --server=https://api.staging.eu-west.filigran.io/ --token=*** -n customer-dev rollout restart deployment -l app=xtm-composer
E0320 15:30:42.958769 2141 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: the server has asked for the client to provide credentials"
E0320 15:30:43.117807 2141 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: the server has asked for the client to provide credentials"
E0320 15:30:43.296002 2141 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: the server has asked for the client to provide credentials"
E0320 15:30:43.452500 2141 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: the server has asked for the client to provide credentials"
E0320 15:30:43.616279 2141 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: the server has asked for the client to provide credentials"
error: You must be logged in to the server (the server has asked for the client to provide credentials)

Environment

  1. OS (where XTM Composer runs): { e.g. Mac OS 10, Windows 10, Ubuntu 22.04, etc. }
  2. XTM Composer version: { e.g. XTM Composer 0.1.0 }
  3. Rust version: { e.g. 1.70.0 }
  4. Orchestrator: { e.g. Docker, Kubernetes, Portainer }
  5. OpenCTI version: { e.g. OpenCTI 6.0.0 }
  6. Other environment details:

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. { e.g. Configure XTM Composer with ... }
  2. { e.g. Run command ... }
  3. { e.g. Error occurs ... }

Expected Output

Actual Output

Configuration

# config/default.yaml or relevant configuration

Logs

# Log output here

Additional information

Screenshots (optional)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions