-
-
Notifications
You must be signed in to change notification settings - Fork 14
28 add microk8s macos support in control center #65
base: master
Are you sure you want to change the base?
Conversation
else | ||
echo "nvm is not installed" | ||
|
||
echo "$PASSWORD" | apt update -y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason why we are not using it as echo "$PASSWORD" | sudo -S apt update -y
as I guess sudo -S
was used to use the echoed password from stdin.
https://discussions.apple.com/thread/5432720?answerId=23353376022#23353376022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Macos doesn’t like the sudo commands. So, I was trying to get rid of them. I see this one is inside the VM. Good catch. I’ll change that back.
echo "$PASSWORD" | sudo -S chmod a+rwx /var/snap/microk8s/current/certs/ca.crt | ||
|
||
# Ref: https://discuss.kubernetes.io/t/use-kubectl-with-microk8s/5313/6 | ||
echo kubectl config set clusters.microk8s.certificate-authority-data --server=https://127.0.0.1:16443/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess here we need to create a cluster with name microk8s
as it will be used in line 51 as --cluster argument.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don’t think this is needed. I was just trying options to fix certificate errrors I was seeing.
@@ -1,11 +1,21 @@ | |||
import { SysRequirement } from '../../../models/SysRequirement' | |||
|
|||
const Requirements: SysRequirement[] = [ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate Darwin entries added
closes #28