-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
531 additions
and
12 deletions.
There are no files selected for viewing
Binary file not shown.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
annotations: | ||
catalog.cattle.io/certified: rancher | ||
catalog.cattle.io/display-name: Rancher Macvlan | ||
catalog.cattle.io/kube-version: '>=1.27.0-0' | ||
catalog.cattle.io/namespace: kube-system | ||
catalog.cattle.io/os: linux | ||
catalog.cattle.io/permits-os: linux | ||
catalog.cattle.io/rancher-version: '>= 2.9.0-0 < 2.10.0-0' | ||
catalog.cattle.io/release-name: rancher-macvlan | ||
catalog.cattle.io/type: cluster-tool | ||
apiVersion: v2 | ||
appVersion: 0.10.0 | ||
description: The Macvlan Networking For Rancher2.x | ||
home: https://github.com/cnrancher | ||
keywords: | ||
- networking | ||
kubeVersion: '>=1.27.0-0' | ||
maintainers: | ||
- email: [email protected] | ||
name: StarryWang | ||
name: rancher-macvlan | ||
sources: | ||
- https://github.com/cnrancher | ||
version: 0.10.3 |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1231,6 +1231,34 @@ entries: | |
- assets/rancher-k8s-auditlog-collector/rancher-k8s-auditlog-collector-0.0.1.tgz | ||
version: 0.0.1 | ||
rancher-macvlan: | ||
- annotations: | ||
catalog.cattle.io/certified: rancher | ||
catalog.cattle.io/display-name: Rancher Macvlan | ||
catalog.cattle.io/kube-version: '>=1.27.0-0' | ||
catalog.cattle.io/namespace: kube-system | ||
catalog.cattle.io/os: linux | ||
catalog.cattle.io/permits-os: linux | ||
catalog.cattle.io/rancher-version: '>= 2.9.0-0 < 2.10.0-0' | ||
catalog.cattle.io/release-name: rancher-macvlan | ||
catalog.cattle.io/type: cluster-tool | ||
apiVersion: v2 | ||
appVersion: 0.10.0 | ||
created: "2025-01-17T17:49:39.294065468+08:00" | ||
description: The Macvlan Networking For Rancher2.x | ||
digest: 7a26ac8b742d1b15414ce6062b9aaa2c48c296af039a74e8fd0d316b0472e6f2 | ||
home: https://github.com/cnrancher | ||
keywords: | ||
- networking | ||
kubeVersion: '>=1.27.0-0' | ||
maintainers: | ||
- email: [email protected] | ||
name: StarryWang | ||
name: rancher-macvlan | ||
sources: | ||
- https://github.com/cnrancher | ||
urls: | ||
- assets/rancher-macvlan/rancher-macvlan-0.10.3.tgz | ||
version: 0.10.3 | ||
- annotations: | ||
catalog.cattle.io/certified: rancher | ||
catalog.cattle.io/display-name: Rancher Macvlan | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# rancher-macvlan | ||
|
||
> **Important**: Please install the chart in the `kube-system` namespace only. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
rancher_min_version: 2.9.0-0 | ||
categories: | ||
- Networking | ||
namespace: kube-system | ||
questions: | ||
- variable: privateRegistry.registryUrl | ||
label: Private registry URL | ||
description: "URL of private registry. Leave blank to apply system default registry." | ||
group: "Basic Setup" | ||
type: string | ||
default: "" | ||
- variable: clusterType | ||
description: "Please choose K3s when using K3s built-in flannel" | ||
default: "Default" | ||
type: enum | ||
label: "Cluster Type" | ||
group: "Basic Setup" | ||
options: | ||
- "Default" | ||
- "K3s" | ||
- variable: multus.cniVersion | ||
description: "CNI Version for multus" | ||
default: "0.3.1" | ||
type: enum | ||
label: "CNI Version" | ||
group: "CNI Plugin" | ||
options: | ||
- "1.0.0" | ||
- "0.4.0" | ||
- "0.3.1" | ||
- variable: iface | ||
description: "Automatic detection by default" | ||
default: "" | ||
type: string | ||
label: "Networking Iface" | ||
group: "CNI Plugin" | ||
- variable: podCIDR | ||
default: "10.42.0.0/16" | ||
description: "Same value with the Kubernetes config" | ||
type: string | ||
label: "Pod Networking CIDR" | ||
group: "CNI Plugin" | ||
- variable: arpPolicy | ||
default: "arping" | ||
description: "The policy of sending Gratuitous ARP" | ||
type: enum | ||
label: "ARP Refresh Policy" | ||
group: "CNI Plugin" | ||
options: | ||
- "arping" | ||
- "arp_notify" | ||
- variable: proxyARP | ||
default: "false" | ||
description: "Enable or disable Proxy ARP on Pod nic" | ||
type: boolean | ||
label: "Proxy ARP" | ||
group: "CNI Plugin" | ||
- variable: ncResources.limits.memory | ||
default: "512Mi" | ||
description: "Maximum amount of memory to allocate per network-controller pod" | ||
type: string | ||
label: Network Controller | ||
group: "Resource Limits" | ||
- variable: nadcResources.limits.memory | ||
default: "512Mi" | ||
description: "Maximum amount of memory to allocate per kube-net-attach-def-controller pod" | ||
type: string | ||
label: Kube-net-attach-def Controller | ||
group: "Resource Limits" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{{/* vim: set filetype=mustache: */}} | ||
{{/* | ||
Expand the name of the chart. | ||
*/}} | ||
|
||
{{- define "system_default_registry" -}} | ||
{{- if .Values.global.cattle.systemDefaultRegistry -}} | ||
{{- printf "%s/" .Values.global.cattle.systemDefaultRegistry -}} | ||
{{- else -}} | ||
{{- "" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{- define "registry_url" -}} | ||
{{- if .Values.privateRegistry.registryUrl -}} | ||
{{- printf "%s/" .Values.privateRegistry.registryUrl -}} | ||
{{- else -}} | ||
{{ include "system_default_registry" . }} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{- define "multus_cniconf_kubeconfig" -}} | ||
{{- if eq .Values.clusterType "K3s" -}} | ||
/var/lib/rancher/k3s/agent/etc/cni/net.d/multus.d/multus.kubeconfig | ||
{{- else -}} | ||
/etc/cni/net.d/multus.d/multus.kubeconfig | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{- define "multus_cniconf_host_path" -}} | ||
{{- if eq .Values.clusterType "K3s" -}} | ||
/var/lib/rancher/k3s/agent/etc/cni/net.d | ||
{{- else -}} | ||
/etc/cni/net.d | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
|
||
{{- define "multus_cnibin_host_path" -}} | ||
{{- if eq .Values.clusterType "K3s" -}} | ||
/var/lib/rancher/k3s/data/cni | ||
{{- else -}} | ||
/opt/cni/bin | ||
{{- end -}} | ||
{{- end -}} |
Oops, something went wrong.