diff --git a/charts/netobserv/templates/deployment.yaml b/charts/netobserv/templates/deployment.yaml index aac8481..f3c0ffa 100644 --- a/charts/netobserv/templates/deployment.yaml +++ b/charts/netobserv/templates/deployment.yaml @@ -38,8 +38,8 @@ spec: command: ["sh", "-c"] args: - "curl -JL -u {{ .Values.maxmind.accountId }}:{{ .Values.maxmind.licenseKey }} https://download.maxmind.com/geoip/databases/GeoLite2-ASN/download?suffix=tar.gz -o /data/GeoLite2-ASN.tar.gz \ - && tar -xzvf GeoLite2-ASN.tar.gz \ - && rm GeoLite2-ASN.tar.gz" + && tar -xzvf /data/GeoLite2-ASN.tar.gz \ + && rm /data/GeoLite2-ASN.tar.gz" volumeMounts: - name: geolite2-data mountPath: /data @@ -50,8 +50,8 @@ spec: command: ["sh", "-c"] args: - "curl -JL -u {{ .Values.maxmind.accountId }}:{{ .Values.maxmind.licenseKey }} https://download.maxmind.com/geoip/databases/GeoLite2-City/download?suffix=tar.gz -o /data/GeoLite2-City.tar.gz \ - && tar -xzvf GeoLite2-City.tar.gz \ - && rm GeoLite2-City.tar.gz" + && tar -xzvf /data/GeoLite2-City.tar.gz \ + && rm /data/GeoLite2-City.tar.gz" volumeMounts: - name: geolite2-data mountPath: /data