Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Antonin Bas <abas@vmware.com>
  • Loading branch information
antoninbas committed Apr 11, 2022
1 parent 01d6408 commit ffa6e22
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 37 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,15 @@ jobs:
run: |
sudo npm install -g markdownlint-cli@0.31.1
make markdownlint
- name: Checking whether autogenerated Helm chart documentation is up-to-date
working-directory: build/charts/
run: |
make helm-docs
DIFF=$(git diff .)
if [ -n "$DIFF" ]; then
echo "The Helm chart documentation is out-of-date; please run 'make helm-docs' in 'build/charts/' and commit the changes"
exit 1
fi
benchmark:
needs: check-changes
Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/helm_docs.yml

This file was deleted.

2 changes: 1 addition & 1 deletion build/charts/antrea/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Kubernetes: `>= 1.16.0-0`
| controller.podAnnotations | object | `{}` | Annotations to be added to antrea-controller Pod. |
| controller.podLabels | object | `{}` | Labels to be added to antrea-controller Pod. |
| controller.priorityClassName | string | `"system-cluster-critical"` | Prority class to use for the antrea-controller Pod. |
| controller.selfSigned | bool | `true` | Indicates whether to use auto-generated self-signed TLS certificates. If false, a Secret named "antrea-controller-tls" must be provided with the following keys: ca.crt, tls.crt, tls.key. |
| controller.selfSignedCert | bool | `true` | Indicates whether to use auto-generated self-signed TLS certificates. If false, a Secret named "antrea-controller-tls" must be provided with the following keys: ca.crt, tls.crt, tls.key. |
| controller.tolerations | list | `[{"key":"CriticalAddonsOnly","operator":"Exists"},{"effect":"NoSchedule","key":"node-role.kubernetes.io/master"}]` | Tolerations for the antrea-controller Pod. |
| defaultMTU | int | `0` | Default MTU to use for the host gateway interface and the network interface of each Pod. By default, antrea-agent will discover the MTU of the Node's primary interface and adjust it to accommodate for tunnel encapsulation overhead if applicable. |
| egress.exceptCIDRs | list | `[]` | CIDR ranges to which outbound Pod traffic will not be SNAT'd by Egresses. |
Expand Down
2 changes: 1 addition & 1 deletion build/charts/antrea/conf/antrea-controller.conf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ enablePrometheusMetrics: {{ .Values.controller.enablePrometheusMetrics }}
# ca.crt: <CA certificate>
# tls.crt: <TLS certificate>
# tls.key: <TLS private key>
selfSignedCert: {{ .Values.controller.selfSigned }}
selfSignedCert: {{ .Values.controller.selfSignedCert }}

# Comma-separated list of Cipher Suites. If omitted, the default Go Cipher Suites will be used.
# https://golang.org/pkg/crypto/tls/#pkg-constants
Expand Down
3 changes: 0 additions & 3 deletions build/charts/antrea/templates/agent/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,6 @@ spec:
args:
- "--log_file_max_size={{ .Values.agent.antreaOVS.logFileMaxSize }}"
- "--log_file_max_num={{ .Values.agent.antreaOVS.logFileMaxNum }}"
{{- if .Values.logVerbosity }}
- "--v={{ .Values.logVerbosity }}"
{{- end }}
{{- if .Values.hwOffload }}
- "--hw-offload"
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion build/charts/antrea/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ controller:
# -- Indicates whether to use auto-generated self-signed TLS certificates. If
# false, a Secret named "antrea-controller-tls" must be provided with the
# following keys: ca.crt, tls.crt, tls.key.
selfSigned: true
selfSignedCert: true
# -- Tolerations for the antrea-controller Pod.
tolerations:
# Mark it as a critical add-on.
Expand Down
4 changes: 4 additions & 0 deletions hack/generate-standard-manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ fi

THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

# Avoid potential Helm warnings about invalid permissions for Kubeconfig file.
# The Kubeconfig does not matter for "helm template".
unset KUBECONFIG

source $THIS_DIR/verify-helm.sh

if [ -z "$HELM" ]; then
Expand Down

0 comments on commit ffa6e22

Please sign in to comment.