Skip to content

Commit 280ec73

Browse files
committed
chore: Bump to latest whereabouts version in the chart
Made with ❤️️ by updatecli
1 parent ab3b31d commit 280ec73

29 files changed

+1683
-0
lines changed
10.1 KB
Binary file not shown.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*~
18+
# Various IDEs
19+
.project
20+
.idea/
21+
*.tmproj
22+
.vscode/
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
apiVersion: v2
2+
appVersion: 4.2.3
3+
dependencies:
4+
- condition: rke2-whereabouts.enabled
5+
name: rke2-whereabouts
6+
repository: file://./charts/rke2-whereabouts
7+
description: Multus Helm chart for Kubernetes
8+
home: https://github.com/k8snetworkplumbingwg/multus-cni
9+
icon: https://raw.githubusercontent.com/k8snetworkplumbingwg/multus-cni/master/doc/images/Multus.png
10+
maintainers:
11+
12+
name: Rancher Labs
13+
name: rke2-multus
14+
sources:
15+
- https://github.com/intel/multus-cni
16+
type: application
17+
version: v4.2.302
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: v2
2+
appVersion: 0.9.2
3+
description: A Helm chart to deploy the whereabouts CNI
4+
home: https://github.com/k8snetworkplumbingwg/whereabouts
5+
maintainers:
6+
7+
name: Rancher Labs
8+
name: rke2-whereabouts
9+
type: application
10+
version: 0.9.2
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.14.0
7+
name: ippools.whereabouts.cni.cncf.io
8+
spec:
9+
group: whereabouts.cni.cncf.io
10+
names:
11+
kind: IPPool
12+
listKind: IPPoolList
13+
plural: ippools
14+
singular: ippool
15+
scope: Namespaced
16+
versions:
17+
- name: v1alpha1
18+
schema:
19+
openAPIV3Schema:
20+
description: IPPool is the Schema for the ippools API
21+
properties:
22+
apiVersion:
23+
description: |-
24+
APIVersion defines the versioned schema of this representation of an object.
25+
Servers should convert recognized schemas to the latest internal value, and
26+
may reject unrecognized values.
27+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
28+
type: string
29+
kind:
30+
description: |-
31+
Kind is a string value representing the REST resource this object represents.
32+
Servers may infer this from the endpoint the client submits requests to.
33+
Cannot be updated.
34+
In CamelCase.
35+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
36+
type: string
37+
metadata:
38+
type: object
39+
spec:
40+
description: IPPoolSpec defines the desired state of IPPool
41+
properties:
42+
allocations:
43+
additionalProperties:
44+
description: IPAllocation represents metadata about the pod/container
45+
owner of a specific IP
46+
properties:
47+
id:
48+
type: string
49+
ifname:
50+
type: string
51+
podref:
52+
type: string
53+
required:
54+
- id
55+
- podref
56+
type: object
57+
description: |-
58+
Allocations is the set of allocated IPs for the given range. Its` indices are a direct mapping to the
59+
IP with the same index/offset for the pool's range.
60+
type: object
61+
range:
62+
description: Range is a RFC 4632/4291-style string that represents
63+
an IP address and prefix length in CIDR notation
64+
type: string
65+
required:
66+
- allocations
67+
- range
68+
type: object
69+
type: object
70+
served: true
71+
storage: true
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.14.0
7+
name: nodeslicepools.whereabouts.cni.cncf.io
8+
spec:
9+
group: whereabouts.cni.cncf.io
10+
names:
11+
kind: NodeSlicePool
12+
listKind: NodeSlicePoolList
13+
plural: nodeslicepools
14+
singular: nodeslicepool
15+
scope: Namespaced
16+
versions:
17+
- name: v1alpha1
18+
schema:
19+
openAPIV3Schema:
20+
description: NodeSlicePool is the Schema for the nodesliceippools API
21+
properties:
22+
apiVersion:
23+
description: |-
24+
APIVersion defines the versioned schema of this representation of an object.
25+
Servers should convert recognized schemas to the latest internal value, and
26+
may reject unrecognized values.
27+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
28+
type: string
29+
kind:
30+
description: |-
31+
Kind is a string value representing the REST resource this object represents.
32+
Servers may infer this from the endpoint the client submits requests to.
33+
Cannot be updated.
34+
In CamelCase.
35+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
36+
type: string
37+
metadata:
38+
type: object
39+
spec:
40+
description: NodeSlicePoolSpec defines the desired state of NodeSlicePool
41+
properties:
42+
range:
43+
description: |-
44+
Range is a RFC 4632/4291-style string that represents an IP address and prefix length in CIDR notation
45+
this refers to the entire range where the node is allocated a subset
46+
type: string
47+
sliceSize:
48+
description: SliceSize is the size of subnets or slices of the range
49+
that each node will be assigned
50+
type: string
51+
required:
52+
- range
53+
- sliceSize
54+
type: object
55+
status:
56+
description: NodeSlicePoolStatus defines the desired state of NodeSlicePool
57+
properties:
58+
allocations:
59+
description: Allocations holds the allocations of nodes to slices
60+
items:
61+
properties:
62+
nodeName:
63+
description: NodeName is the name of the node assigned to this
64+
slice, empty node name is an available slice for assignment
65+
type: string
66+
sliceRange:
67+
description: SliceRange is the subnet of this slice
68+
type: string
69+
required:
70+
- nodeName
71+
- sliceRange
72+
type: object
73+
type: array
74+
required:
75+
- allocations
76+
type: object
77+
type: object
78+
served: true
79+
storage: true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.14.0
7+
name: overlappingrangeipreservations.whereabouts.cni.cncf.io
8+
spec:
9+
group: whereabouts.cni.cncf.io
10+
names:
11+
kind: OverlappingRangeIPReservation
12+
listKind: OverlappingRangeIPReservationList
13+
plural: overlappingrangeipreservations
14+
singular: overlappingrangeipreservation
15+
scope: Namespaced
16+
versions:
17+
- name: v1alpha1
18+
schema:
19+
openAPIV3Schema:
20+
description: OverlappingRangeIPReservation is the Schema for the OverlappingRangeIPReservations
21+
API
22+
properties:
23+
apiVersion:
24+
description: |-
25+
APIVersion defines the versioned schema of this representation of an object.
26+
Servers should convert recognized schemas to the latest internal value, and
27+
may reject unrecognized values.
28+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
29+
type: string
30+
kind:
31+
description: |-
32+
Kind is a string value representing the REST resource this object represents.
33+
Servers may infer this from the endpoint the client submits requests to.
34+
Cannot be updated.
35+
In CamelCase.
36+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
37+
type: string
38+
metadata:
39+
type: object
40+
spec:
41+
description: OverlappingRangeIPReservationSpec defines the desired state
42+
of OverlappingRangeIPReservation
43+
properties:
44+
containerid:
45+
type: string
46+
ifname:
47+
type: string
48+
podref:
49+
type: string
50+
required:
51+
- podref
52+
type: object
53+
required:
54+
- spec
55+
type: object
56+
served: true
57+
storage: true
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Whereabouts is installed!!
2+
3+
You can view the pods with the following command:
4+
5+
kubectl get pods -n {{ .Release.Namespace }} -l app=whereabouts
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
{{/*
2+
Expand the name of the chart.
3+
*/}}
4+
{{- define "whereabouts.name" -}}
5+
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
6+
{{- end }}
7+
8+
{{/*
9+
Create a default fully qualified app name.
10+
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
11+
If release name contains chart name it will be used as a full name.
12+
*/}}
13+
{{- define "whereabouts.fullname" -}}
14+
{{- if .Values.fullnameOverride }}
15+
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
16+
{{- else }}
17+
{{- $name := default .Chart.Name .Values.nameOverride }}
18+
{{- if contains $name .Release.Name }}
19+
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
20+
{{- else }}
21+
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
22+
{{- end }}
23+
{{- end }}
24+
{{- end }}
25+
26+
{{/*
27+
Provide a method to override namespace so parent charts can set it
28+
*/}}
29+
{{- define "whereabouts.namespace" -}}
30+
{{- if hasKey .Values "namespaceOverride" -}}
31+
namespace: {{ .Values.namespaceOverride }}
32+
{{- else }}
33+
namespace: {{ .Release.Namespace }}
34+
{{- end }}
35+
{{- end }}
36+
37+
{{/*
38+
Create chart name and version as used by the chart label.
39+
*/}}
40+
{{- define "whereabouts.chart" -}}
41+
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
42+
{{- end }}
43+
44+
{{/*
45+
Common labels
46+
*/}}
47+
{{- define "whereabouts.labels" -}}
48+
app: whereabouts
49+
helm.sh/chart: {{ include "whereabouts.chart" . }}
50+
{{ include "whereabouts.selectorLabels" . }}
51+
{{- if .Chart.AppVersion }}
52+
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
53+
{{- end }}
54+
app.kubernetes.io/managed-by: {{ .Release.Service }}
55+
{{- end }}
56+
57+
{{- define "controller.labels" -}}
58+
app: whereabouts-controller
59+
helm.sh/chart: {{ include "whereabouts.chart" . }}
60+
{{ include "controller.selectorLabels" . }}
61+
{{- if .Chart.AppVersion }}
62+
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
63+
{{- end }}
64+
app.kubernetes.io/managed-by: {{ .Release.Service }}
65+
{{- end }}
66+
67+
{{/*
68+
Selector labels
69+
*/}}
70+
{{- define "whereabouts.selectorLabels" -}}
71+
app: {{ include "whereabouts.name" . }}
72+
app.kubernetes.io/name: {{ include "whereabouts.name" . }}
73+
app.kubernetes.io/instance: {{ .Release.Name }}
74+
{{- end }}
75+
76+
{{- define "controller.selectorLabels" -}}
77+
app: {{ include "whereabouts.name" . }}-controller
78+
app.kubernetes.io/name: {{ include "whereabouts.name" . }}-controller
79+
app.kubernetes.io/instance: {{ .Release.Name }}
80+
{{- end }}
81+
82+
{{/*
83+
Create the name of the service account to use
84+
*/}}
85+
{{- define "whereabouts.serviceAccountName" -}}
86+
{{- if .Values.serviceAccount.create }}
87+
{{- default (include "whereabouts.fullname" .) .Values.serviceAccount.name }}
88+
{{- else }}
89+
{{- default "default" .Values.serviceAccount.name }}
90+
{{- end }}
91+
{{- end }}
92+
93+
{{- define "system_default_registry" -}}
94+
{{- if .Values.global.systemDefaultRegistry -}}
95+
{{- printf "%s/" .Values.global.systemDefaultRegistry -}}
96+
{{- else -}}
97+
{{- "" -}}
98+
{{- end -}}
99+
{{- end -}}

0 commit comments

Comments
 (0)