Skip to content

Commit

Permalink
Merge pull request #205 from hhyasdf/charts/add-defualt-ip-retain
Browse files Browse the repository at this point in the history
charts: add defualt-ip-retain
  • Loading branch information
mars1024 authored Mar 22, 2022
2 parents 2985488 + 560e86f commit 25d1be5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
6 changes: 2 additions & 4 deletions charts/hybridnet/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: hybridnet
# When the version is modified, make sure the artifacthub.io/changes list is updated
# Also update CHANGELOG.md
version: 0.1.1
version: 0.1.2
appVersion: 0.4.2
home: https://github.com/alibaba/hybridnet
description: A container networking solution aiming at hybrid clouds.
Expand All @@ -22,6 +22,4 @@ annotations:
artifacthub.io/prerelease: "false"
# List of changes for the release in artifacthub.io
artifacthub.io/changes: |
- "#197 adjust client qps and burst "
- "#194 mute uselss logging"
- "#192 fix file exists error while creating pod"
- "add defualtIPRetain parameter"
2 changes: 2 additions & 0 deletions charts/hybridnet/templates/deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ spec:
imagePullPolicy: IfNotPresent
command:
- /hybridnet/hybridnet-manager
- --default-ip-retain={{ .Values.advancedSettings.defualtIPRetain }}
- --feature-gates=MultiCluster={{ .Values.advancedSettings.multiCluster }},DualStack={{ .Values.advancedSettings.dualStack }}
env:
- name: DEFAULT_NETWORK_TYPE
Expand Down Expand Up @@ -78,6 +79,7 @@ spec:
imagePullPolicy: IfNotPresent
command:
- /hybridnet/hybridnet-webhook
- --default-ip-retain={{ .Values.advancedSettings.defualtIPRetain }}
- --feature-gates=MultiCluster={{ .Values.advancedSettings.multiCluster }},DualStack={{ .Values.advancedSettings.dualStack }}
args:
- --port=9898
Expand Down
3 changes: 3 additions & 0 deletions charts/hybridnet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ initNetworkConfig:
preferBGPInterfaces: ""

advancedSettings:
# -- Whether pod IP of stateful workloads will be retained by default. true or false
defualtIPRetain: true

# -- The default value when pod's network type is unspecified. Overlay or Underlay
defualtNetworkType: Overlay

Expand Down
Binary file added docs/images/bgp-topologic-sample.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/bgp-topologic.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 25d1be5

Please sign in to comment.