From e9b0beef051dfba65077047132fdf464663decd0 Mon Sep 17 00:00:00 2001 From: Yaniv Oliver Date: Thu, 14 Mar 2019 03:56:22 +0200 Subject: [PATCH] [stable/openvpn] Updated notes to use logs command instead of deprecated log command (#12170) * Updated OpenVPN chart notes to use logs command instead of deprecated log command Signed-off-by: Yaniv Oliver * Updated OpenVPN readme file with updated logs command Signed-off-by: Yaniv Oliver --- stable/openvpn/Chart.yaml | 2 +- stable/openvpn/README.md | 2 +- stable/openvpn/templates/NOTES.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stable/openvpn/Chart.yaml b/stable/openvpn/Chart.yaml index 277122b438..9ae95cbc53 100755 --- a/stable/openvpn/Chart.yaml +++ b/stable/openvpn/Chart.yaml @@ -3,7 +3,7 @@ description: A Helm chart to install an openvpn server inside a kubernetes clust generation is also part of the deployment, and this chart will generate client keys as needed. name: openvpn -version: 3.12.0 +version: 3.12.1 appVersion: 1.1.0 maintainers: - name: jfelten diff --git a/stable/openvpn/README.md b/stable/openvpn/README.md index 976a4ed437..5355e0aad8 100644 --- a/stable/openvpn/README.md +++ b/stable/openvpn/README.md @@ -18,7 +18,7 @@ Check pod status, replacing `$HELM_RELEASE` with the name of your release, via: ```bash POD_NAME=$(kubectl get pods -l "app=openvpn,release=$HELM_RELEASE" -o jsonpath='{.items[0].metadata.name}') \ -&& kubectl log "$POD_NAME" --follow +&& kubectl logs "$POD_NAME" --follow ``` When all components of the openvpn chart have started use the following script to generate a client key: diff --git a/stable/openvpn/templates/NOTES.txt b/stable/openvpn/templates/NOTES.txt index 4d7010d382..dcf3b8fbb0 100644 --- a/stable/openvpn/templates/NOTES.txt +++ b/stable/openvpn/templates/NOTES.txt @@ -4,7 +4,7 @@ Please be aware that certificate generation is variable and may take some time ( Check pod status with the command: - POD_NAME=$(kubectl get pods --namespace "{{ .Release.Namespace }}" -l app=openvpn -o jsonpath='{ .items[0].metadata.name }') && kubectl log $POD_NAME --follow + POD_NAME=$(kubectl get pods --namespace "{{ .Release.Namespace }}" -l app=openvpn -o jsonpath='{ .items[0].metadata.name }') && kubectl logs $POD_NAME --follow LoadBalancer ingress creation can take some time as well. Check service status with the command: