feat: Add microk8s-config and proxy-stun-turn profiles
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018inUJksoKAfKRWoSo1tvv6
This commit is contained in:
1 parent
f37c01df57
commit
2788a7f886
2 files changed
+46
No files matched your search
@@ -0,0 +1,35 @@
|
||||
name: microk8s-config
|
||||
description: "A profile that add cloud-init user data to bootstrap microk8s with some config"
|
||||
devices: {}
|
||||
config:
|
||||
cloud-init.user-data: |
|
||||
#cloud-config
|
||||
#
|
||||
# Creates a launch file for microk8s
|
||||
#
|
||||
write_files:
|
||||
- path: "/var/snap/microk8s/common/.microk8s.yaml"
|
||||
owner: root:root
|
||||
permissions: "0644"
|
||||
content: |
|
||||
---
|
||||
version: 0.1.0
|
||||
addons:
|
||||
- name: rbac
|
||||
- name: dns
|
||||
- name: ingress
|
||||
disable: true
|
||||
- name: cert-manager
|
||||
- name: hostpath-storage
|
||||
- name: metrics-server
|
||||
- name: dashboard
|
||||
|
||||
|
||||
# The extra arguments listed here are not required, as they would be set by the 'rbac' and the 'dns'
|
||||
# addons respectively. However, we set them to save time by not having to restart the Kubernetes
|
||||
# services a few times during cluster bootstrap.
|
||||
# extraKubeAPIServerArgs:
|
||||
# --authorization-mode: RBAC,Node
|
||||
# extraKubeletArgs:
|
||||
# --cluster-dns: 10.152.183.10
|
||||
# --cluster-domain: cluster.local
|
||||
@@ -0,0 +1,11 @@
|
||||
name: proxy-stun-turn
|
||||
description: Proxify STUN /TURN
|
||||
devices:
|
||||
hostport3478udp:
|
||||
type: proxy
|
||||
listen: udp:0.0.0.0:3478
|
||||
connect: udp:127.0.0.1:3478
|
||||
hostport3478tcp:
|
||||
type: proxy
|
||||
listen: tcp:0.0.0.0:3478
|
||||
connect: tcp:127.0.0.1:3478
|
||||
Reference in new issue
Block a user