diff --git a/charts/dns-canary/Chart.yaml b/charts/dns-canary/Chart.yaml index eb0c889..c8fbff6 100644 --- a/charts/dns-canary/Chart.yaml +++ b/charts/dns-canary/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 +version: 0.2.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/dns-canary/templates/cronjob.yaml b/charts/dns-canary/templates/cronjob.yaml index be8b4a5..022322e 100644 --- a/charts/dns-canary/templates/cronjob.yaml +++ b/charts/dns-canary/templates/cronjob.yaml @@ -40,12 +40,12 @@ spec: - | set -e TARGET="{{ .Values.targetService }}" - echo "$(date) Checking DNS resolution for $TARGET" + echo "[INFO] $(date '+%F %T %Z') Checking DNS resolution for $TARGET" if nslookup $TARGET; then - echo "$(date) DNS Canary check passed for $TARGET" + echo "[INFO] $(date '+%F %T %Z') DNS Canary check passed for $TARGET" else - echo "[ERROR] $(date) DNS Canary check failed for $TARGET" >&2 + echo "[ERROR] $(date '+%F %T %Z') DNS Canary check failed for $TARGET" >&2 fi resources: {{- toYaml .Values.resources | nindent 16 }} @@ -68,4 +68,4 @@ spec: {{- with .Values.tolerations }} tolerations: {{- toYaml . | nindent 12 }} - {{- end }} \ No newline at end of file + {{- end }}