Skip to content

Commit

Permalink
Fix application arguments in component
Browse files Browse the repository at this point in the history
  • Loading branch information
zugao committed Oct 17, 2022
1 parent 556dad1 commit 1395853
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ RUN \
tzdata

ENTRYPOINT ["exoscale-metrics-collector"]
CMD ["objectstorage"]
COPY exoscale-metrics-collector /usr/bin/

USER 65536:0
3 changes: 1 addition & 2 deletions component/component/main.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,8 @@ local secrets = [
name: 'exoscale-metrics-collector-backfill',
image: collectorImage,
args: [
'exoscale-metrics-collector',
'objectstorage',
],
command: [ 'sh', '-c' ],
envFrom: [
{
secretRef: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ spec:
spec:
containers:
- args:
- exoscale-metrics-collector
command:
- sh
- -c
- objectstorage
env:
- name: password
valueFrom:
Expand All @@ -37,7 +34,7 @@ spec:
envFrom:
- secretRef:
name: credentials-collector-cloudscale-lpg-2
image: ghcr.io/vshn/exoscale-metrics-collector:v0.0.2
image: ghcr.io/vshn/exoscale-metrics-collector:v0.2.1
name: exoscale-metrics-collector-backfill
resources: {}
restartPolicy: OnFailure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ spec:
spec:
containers:
- args:
- exoscale-metrics-collector
command:
- sh
- -c
- objectstorage
env:
- name: password
valueFrom:
Expand All @@ -37,7 +34,7 @@ spec:
envFrom:
- secretRef:
name: credentials-exoscale-metrics-collector
image: ghcr.io/vshn/exoscale-metrics-collector:v0.0.2
image: ghcr.io/vshn/exoscale-metrics-collector:v0.2.1
name: exoscale-metrics-collector-backfill
resources: {}
restartPolicy: OnFailure
Expand Down

0 comments on commit 1395853

Please sign in to comment.