Skip to content

Commit

Permalink
fix invalid tarfile path
Browse files Browse the repository at this point in the history
  • Loading branch information
kgrubb committed Apr 18, 2024
1 parent 13a2617 commit a028e48
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/netobserv/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a028e48

Please sign in to comment.