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 8, 2022
1 parent 165bb1b commit 90f738c
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 36 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/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 90f738c

Please sign in to comment.