Skip to content

Commit 87aa369

Browse files
authored
Merge pull request #269 from hhyasdf/chore/update-changelog-and-charts
update changelog and charts
2 parents 41bd334 + b94dc7a commit 87aa369

File tree

7 files changed

+33
-18
lines changed

7 files changed

+33
-18
lines changed

.github/workflows/check.yml

-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ jobs:
6262
make bin/envtest
6363
export KUBEBUILDER_ASSETS=$(pwd)/bin/envtest
6464
go test -v ./...
65-
go test -race -v ./...
6665
6766
shellcheck:
6867
runs-on: ubuntu-latest

CHANGELOG.md

+17-5
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,14 @@ All notable changes to this project will be documented in this file.
7777
- Fix ipv6 address range calculation error
7878
- Fix nil point dereference error while creating a vlan interface
7979

80+
## v0.3.3
81+
### Fixed Issues
82+
- Introduce flag `enable-vlan-arp-enhancement` to disable setting enhanced addresses by default
83+
84+
## v0.3.4
85+
### Fixed Issues
86+
- Prevent enhanced addresses from source selection
87+
8088
## v0.4.0
8189
### New features
8290
- Support BGP mode for an Underlay type Network
@@ -106,10 +114,6 @@ All notable changes to this project will be documented in this file.
106114
### Fixed Issues
107115
- Fix creating ip-retained sts pod error when it is recreated and rescheduled to another node
108116

109-
## v0.3.3
110-
### Fixed Issues
111-
- Introduce flag `enable-vlan-arp-enhancement` to disable setting enhanced addresses by default
112-
113117
## v0.4.3
114118
### Improvements
115119
- Introduce flag `enable-vlan-arp-enhancement` for daemon to enable/disable enhanced addresses
@@ -128,4 +132,12 @@ All notable changes to this project will be documented in this file.
128132
## v0.4.4
129133
### Fixed Issues
130134
- Fix the error that nodes get "empty" quota while the Underlay Network still have available addresses to allocate
131-
- Fix daemon policy container exit with ip6tables-legacy-save error
135+
- Fix daemon policy container exit with ip6tables-legacy-save error
136+
137+
## v0.5.0
138+
### New features
139+
- Change IPInstance APIs and optimize IP allocation performance of manager
140+
- Introduce GlobalBGP type Network
141+
142+
### Improvements
143+
- Bump controller-runtime from v0.8.3 to v0.9.7

charts/hybridnet/Chart.yaml

+5-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: hybridnet
33
# When the version is modified, make sure the artifacthub.io/changes list is updated
44
# Also update CHANGELOG.md
5-
version: 0.2.2
6-
appVersion: 0.4.4
5+
version: 0.3.0
6+
appVersion: 0.5.0
77
home: https://github.com/alibaba/hybridnet
88
description: A container networking solution aiming at hybrid clouds.
99
keywords:
@@ -22,5 +22,6 @@ annotations:
2222
artifacthub.io/prerelease: "false"
2323
# List of changes for the release in artifacthub.io
2424
artifacthub.io/changes: |
25-
- "fix the error that nodes get empty quota while the Underlay Network still have available addresses to allocate"
26-
- "fix the error that daemon policy container exit on a ipv6 disabled node"
25+
- "Change IPInstance APIs and optimize IP allocation performance of manager"
26+
- "Introduce GlobalBGP type Network"
27+
- "Bump controller runtime from v0.8.3 to v0.9.7"

charts/hybridnet/templates/daemonsets.yaml

+5-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ spec:
2323
initContainers:
2424
- name: install-cni
2525
image: "{{ .Values.images.registryURL }}/{{ .Values.images.hybridnet.image }}:{{ .Values.images.hybridnet.tag }}"
26-
imagePullPolicy: IfNotPresent
26+
imagePullPolicy: {{ .Values.images.hybridnet.imagePullPolicy }}
2727
command: ["/hybridnet/install-cni.sh"]
2828
securityContext:
2929
runAsUser: 0
@@ -36,7 +36,7 @@ spec:
3636
containers:
3737
- name: cni-daemon
3838
image: "{{ .Values.images.registryURL }}/{{ .Values.images.hybridnet.image }}:{{ .Values.images.hybridnet.tag }}"
39-
imagePullPolicy: IfNotPresent
39+
imagePullPolicy: {{ .Values.images.hybridnet.imagePullPolicy }}
4040
command:
4141
- sh
4242
- /hybridnet/start-daemon.sh
@@ -59,6 +59,8 @@ spec:
5959
runAsUser: 0
6060
privileged: true
6161
env:
62+
- name: DEFAULT_IP_FAMILY
63+
value: {{ .Values.defaultIPFamily }}
6264
- name: NODE_IP
6365
valueFrom:
6466
fieldRef:
@@ -100,7 +102,7 @@ spec:
100102
{{ if .Values.daemon.enableNetworkPolicy }}
101103
- name: policy
102104
image: "{{ .Values.images.registryURL }}/{{ .Values.images.hybridnet.image }}:{{ .Values.images.hybridnet.tag }}"
103-
imagePullPolicy: IfNotPresent
105+
imagePullPolicy: {{ .Values.images.hybridnet.imagePullPolicy }}
104106
command:
105107
- /hybridnet/policyinit.sh
106108
env:

charts/hybridnet/templates/deployments.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spec:
3131
containers:
3232
- name: hybridnet-manager
3333
image: "{{ .Values.images.registryURL }}/{{ .Values.images.hybridnet.image }}:{{ .Values.images.hybridnet.tag }}"
34-
imagePullPolicy: IfNotPresent
34+
imagePullPolicy: {{ .Values.images.hybridnet.imagePullPolicy }}
3535
command:
3636
- /hybridnet/hybridnet-manager
3737
- --default-ip-retain={{ .Values.defaultIPRetain }}
@@ -78,7 +78,7 @@ spec:
7878
containers:
7979
- name: hybridnet-webhook
8080
image: "{{ .Values.images.registryURL }}/{{ .Values.images.hybridnet.image }}:{{ .Values.images.hybridnet.tag }}"
81-
imagePullPolicy: IfNotPresent
81+
imagePullPolicy: {{ .Values.images.hybridnet.imagePullPolicy }}
8282
command:
8383
- /hybridnet/hybridnet-webhook
8484
- --default-ip-retain={{ .Values.defaultIPRetain }}

charts/hybridnet/values.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
images:
22
hybridnet:
33
image: hybridnetdev/hybridnet
4-
tag: v0.4.4
4+
tag: v0.5.0
5+
imagePullPolicy: IfNotPresent
56
registryURL: "docker.io"
67

78
# -- It's always encouraged to use an overlay network to finish some general jobs in hybridnet. This

docs/crd.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ spec:
124124

125125
end: "192.168.56.200" # Optional. The last usable ip of cidr.
126126

127-
reservedIPs: "192.168.56.101","192.168.56.102" # Optional. The reserved ips for later assignment.
127+
reservedIPs: ["192.168.56.101","192.168.56.102"] # Optional. The reserved ips for later assignment.
128128

129-
excludeIPs: "192.168.56.103","192.168.56.104" # Optional. The excluded ips for unusable.
129+
excludeIPs: ["192.168.56.103","192.168.56.104"] # Optional. The excluded ips for unusable.
130130
config:
131131
autoNatOutgoing: false # Optional, Overlay Network only, Default is true.
132132
# If pods in this sunbet can access to addresses outside

0 commit comments

Comments
 (0)