[ICN-326] Figure out how to create user using ONAP4k8s resource sync Created: 07/Apr/20  Updated: 29/Jul/20

Status: To Do
Project: Integrated Cloud Native NFV
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Story Priority: Medium
Reporter: Itohan Ukponmwan Assignee: Itohan Ukponmwan
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: ONAP4K8s in ICN
Sprint: ICN Sprint 14, ICN Sprint 16, ICN Sprint 17, ICN Sprint 18, ICN Sprint 19, ICN Sprint 20, ICN Sprint 21, ICN Sprint 22, ICN Sprint 23
Story Points: 4

 Description   

In order to create a user , certain commands other than "kubectl create" which the resouce sync provides need to be run

  • How to store user key to make available to the cluster
  • How to run the following commands
      • kubectl certificate approve lc1-user-cert
      • kubectl get csr lc1-user-cert -o jsonpath='{.status.certificate}' \
            | base64 --decode > employee.crt
      • kubectl config set-credentials employee --client-certificate=/home/employee/.certs/employee.crt  --client-key=/home/employee/.certs/employee.key
      • kubectl config set-context employee-context --cluster=cluster-name --namespace=lc1 --user=employee
         

Generated at Sat Feb 10 05:59:02 UTC 2024 using Jira 9.4.5#940005-sha1:e3094934eac4fd8653cf39da58f39364fb9cc7c1.