Skip to content
Commit 8f8088c0 authored by reinosop's avatar reinosop Committed by calvinosanc1
Browse files

Fix bug 2071: create secret



Manually create a service-account-token secret
for service account when k8s cluster is created
in case k8s version >=1.24.

ServiceAccount object should be created first.
When deleting a k8s cluster. Corresponding
ServiceAccount and Secret are automatically
deleted as well.

In k8s < 1.24, secret is automatically created.

Change-Id: I160b1f87a64cf7a1bbb1fa8587259d8fbd3e6cd4
Signed-off-by: default avatarPatricia Reinoso <patricia.reinoso@canonical.com>
(cherry picked from commit 6343d434)
parent 5749c53d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment