-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Helm chart changes to support OpenShift deployments (#16)
- Loading branch information
1 parent
bf56a60
commit a975b84
Showing
22 changed files
with
728 additions
and
200 deletions.
There are no files selected for viewing
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,15 @@ | ||
### Summary | ||
|
||
*Main description goes here.* | ||
|
||
|
||
### Checklist | ||
|
||
- [ ] Version incremented | ||
<!-- The Helm charts in this repo use semantic versioning and the version must be increased for any change. --> | ||
- [ ] Changelog updated | ||
<!-- The changelog must be updated for any version change. --> | ||
- [ ] Version compatibility matrix updated (or not required) | ||
<!-- The version compatibility matrix must be updated for any major or minor version change. --> | ||
- [ ] Static analysis and tests passing | ||
- See `tests/README.md` for details. |
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 @@ | ||
# Changelog | ||
|
||
## XRd vRouter | ||
|
||
### v2 (active) | ||
|
||
The v2 release supports Cisco IOS-XR release version 24.4.1 and above. | ||
|
||
#### v2.0.0 | ||
|
||
- Change `cpu.hyperThreadingMode` options, adding `auto` and removing `off`. | ||
|
||
### v1 | ||
|
||
The v1 release supports Cisco IOS-XR release versions from 7.7.1 to 24.3.1. | ||
|
||
## XRd Control Plane | ||
|
||
### v1 (active) | ||
|
||
The v1 release supports Cisco IOS-XR release versions 7.7.1 and above. |
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 |
---|---|---|
|
@@ -8,4 +8,4 @@ keywords: | |
- xrd | ||
sources: | ||
- https://github.com/ios-xr/xrd-helm | ||
version: 1.0.4 | ||
version: 1.1.0 |
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 |
---|---|---|
@@ -1,27 +1,35 @@ | ||
{{- define "xrd.network-attachments" -}} | ||
{{- range $idx, $intf := concat .Values.interfaces .Values.mgmtInterfaces }} | ||
{{- if eq $intf.type "multus" }} | ||
{{- $cniIndex := 0 }} | ||
{{- range $intf := concat .Values.interfaces .Values.mgmtInterfaces }} | ||
{{- if or (eq $intf.type "multus") (eq $intf.type "sriov") }} | ||
--- | ||
apiVersion: k8s.cni.cncf.io/v1 | ||
kind: NetworkAttachmentDefinition | ||
metadata: | ||
name: {{ include "xrd.fullname" $ }}-{{ $idx }} | ||
name: {{ include "xrd.fullname" $ }}-{{ $cniIndex }} | ||
namespace: {{ $.Release.Namespace }} | ||
{{- if gt (len (include "xrd.commonAnnotations" $ | fromYaml)) 0 }} | ||
{{- if or (gt (len (include "xrd.commonAnnotations" $ | fromYaml)) 0) (eq $intf.type "sriov") }} | ||
annotations: | ||
{{- include "xrd.commonAnnotations" $ | nindent 4 }} | ||
{{- if eq $intf.type "sriov" }} | ||
k8s.v1.cni.cncf.io/resourceName: {{ $intf.resource }} | ||
{{- end }} | ||
{{- if gt (len (include "xrd.commonAnnotations" $ | fromYaml)) 0 }} | ||
{{- include "xrd.commonAnnotations" $ | nindent 4 }} | ||
{{- end }} | ||
{{- end }} | ||
labels: | ||
{{- include "xrd.commonLabels" $ | nindent 4 }} | ||
spec: | ||
config: |- | ||
{ | ||
"cniVersion": "0.3.1", | ||
"name": "{{ include "xrd.fullname" $ }}-{{ $cniIndex }}", | ||
"plugins": [ | ||
{{- $intf.config | toPrettyJson | nindent 8 }} | ||
] | ||
} | ||
... | ||
{{- $cniIndex = add1 $cniIndex}} | ||
{{- end }} | ||
{{- end -}} | ||
{{- end -}} |
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
Oops, something went wrong.