-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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