Skip to content

Commit

Permalink
Merge pull request alibaba#269 from hhyasdf/chore/update-changelog-an…
Browse files Browse the repository at this point in the history
…d-charts

update changelog and charts
  • Loading branch information
mars1024 authored May 31, 2022
2 parents 41bd334 + b94dc7a commit 87aa369
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 18 deletions.
1 change: 0 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ jobs:
make bin/envtest
export KUBEBUILDER_ASSETS=$(pwd)/bin/envtest
go test -v ./...
go test -race -v ./...
shellcheck:
runs-on: ubuntu-latest
Expand Down
22 changes: 17 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ All notable changes to this project will be documented in this file.
- Fix ipv6 address range calculation error
- Fix nil point dereference error while creating a vlan interface

## v0.3.3
### Fixed Issues
- Introduce flag `enable-vlan-arp-enhancement` to disable setting enhanced addresses by default

## v0.3.4
### Fixed Issues
- Prevent enhanced addresses from source selection

## v0.4.0
### New features
- Support BGP mode for an Underlay type Network
Expand Down Expand Up @@ -106,10 +114,6 @@ All notable changes to this project will be documented in this file.
### Fixed Issues
- Fix creating ip-retained sts pod error when it is recreated and rescheduled to another node

## v0.3.3
### Fixed Issues
- Introduce flag `enable-vlan-arp-enhancement` to disable setting enhanced addresses by default

## v0.4.3
### Improvements
- Introduce flag `enable-vlan-arp-enhancement` for daemon to enable/disable enhanced addresses
Expand All @@ -128,4 +132,12 @@ All notable changes to this project will be documented in this file.
## v0.4.4
### Fixed Issues
- Fix the error that nodes get "empty" quota while the Underlay Network still have available addresses to allocate
- Fix daemon policy container exit with ip6tables-legacy-save error
- Fix daemon policy container exit with ip6tables-legacy-save error

## v0.5.0
### New features
- Change IPInstance APIs and optimize IP allocation performance of manager
- Introduce GlobalBGP type Network

### Improvements
- Bump controller-runtime from v0.8.3 to v0.9.7
9 changes: 5 additions & 4 deletions charts/hybridnet/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: hybridnet
# When the version is modified, make sure the artifacthub.io/changes list is updated
# Also update CHANGELOG.md
version: 0.2.2
appVersion: 0.4.4
version: 0.3.0
appVersion: 0.5.0
home: https://github.com/alibaba/hybridnet
description: A container networking solution aiming at hybrid clouds.
keywords:
Expand All @@ -22,5 +22,6 @@ annotations:
artifacthub.io/prerelease: "false"
# List of changes for the release in artifacthub.io
artifacthub.io/changes: |
- "fix the error that nodes get empty quota while the Underlay Network still have available addresses to allocate"
- "fix the error that daemon policy container exit on a ipv6 disabled node"
- "Change IPInstance APIs and optimize IP allocation performance of manager"
- "Introduce GlobalBGP type Network"
- "Bump controller runtime from v0.8.3 to v0.9.7"
8 changes: 5 additions & 3 deletions charts/hybridnet/templates/daemonsets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
initContainers:
- name: install-cni
image: "{{ .Values.images.registryURL }}/{{ .Values.images.hybridnet.image }}:{{ .Values.images.hybridnet.tag }}"
imagePullPolicy: IfNotPresent
imagePullPolicy: {{ .Values.images.hybridnet.imagePullPolicy }}
command: ["/hybridnet/install-cni.sh"]
securityContext:
runAsUser: 0
Expand All @@ -36,7 +36,7 @@ spec:
containers:
- name: cni-daemon
image: "{{ .Values.images.registryURL }}/{{ .Values.images.hybridnet.image }}:{{ .Values.images.hybridnet.tag }}"
imagePullPolicy: IfNotPresent
imagePullPolicy: {{ .Values.images.hybridnet.imagePullPolicy }}
command:
- sh
- /hybridnet/start-daemon.sh
Expand All @@ -59,6 +59,8 @@ spec:
runAsUser: 0
privileged: true
env:
- name: DEFAULT_IP_FAMILY
value: {{ .Values.defaultIPFamily }}
- name: NODE_IP
valueFrom:
fieldRef:
Expand Down Expand Up @@ -100,7 +102,7 @@ spec:
{{ if .Values.daemon.enableNetworkPolicy }}
- name: policy
image: "{{ .Values.images.registryURL }}/{{ .Values.images.hybridnet.image }}:{{ .Values.images.hybridnet.tag }}"
imagePullPolicy: IfNotPresent
imagePullPolicy: {{ .Values.images.hybridnet.imagePullPolicy }}
command:
- /hybridnet/policyinit.sh
env:
Expand Down
4 changes: 2 additions & 2 deletions charts/hybridnet/templates/deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
containers:
- name: hybridnet-manager
image: "{{ .Values.images.registryURL }}/{{ .Values.images.hybridnet.image }}:{{ .Values.images.hybridnet.tag }}"
imagePullPolicy: IfNotPresent
imagePullPolicy: {{ .Values.images.hybridnet.imagePullPolicy }}
command:
- /hybridnet/hybridnet-manager
- --default-ip-retain={{ .Values.defaultIPRetain }}
Expand Down Expand Up @@ -78,7 +78,7 @@ spec:
containers:
- name: hybridnet-webhook
image: "{{ .Values.images.registryURL }}/{{ .Values.images.hybridnet.image }}:{{ .Values.images.hybridnet.tag }}"
imagePullPolicy: IfNotPresent
imagePullPolicy: {{ .Values.images.hybridnet.imagePullPolicy }}
command:
- /hybridnet/hybridnet-webhook
- --default-ip-retain={{ .Values.defaultIPRetain }}
Expand Down
3 changes: 2 additions & 1 deletion charts/hybridnet/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
images:
hybridnet:
image: hybridnetdev/hybridnet
tag: v0.4.4
tag: v0.5.0
imagePullPolicy: IfNotPresent
registryURL: "docker.io"

# -- It's always encouraged to use an overlay network to finish some general jobs in hybridnet. This
Expand Down
4 changes: 2 additions & 2 deletions docs/crd.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ spec:

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

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

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

0 comments on commit 87aa369

Please sign in to comment.