Skip to content
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

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

jerknose
Copy link
Contributor

closes #28

@jerknose jerknose linked an issue Apr 17, 2023 that may be closed by this pull request
else
echo "nvm is not installed"

echo "$PASSWORD" | apt update -y
Copy link
Member

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

Copy link
Contributor Author

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/
Copy link
Member

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.

Copy link
Contributor Author

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[] = [
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate Darwin entries added

@mrhegemon mrhegemon marked this pull request as ready for review April 23, 2023 13:52
@hanzlamateen hanzlamateen marked this pull request as draft April 27, 2023 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Microk8s MacOS support in Control Center
4 participants