Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Update to latest release, drop the chown
Browse files Browse the repository at this point in the history
The permissions are now [fixed](criteo/cassandra_exporter#68) in upstream repo, so we can drop [the chown](#4 (review)):
```
porridge@beczulka:~$ docker run criteord/cassandra_exporter:2.3.2 ls -l /opt/cassandra_exporter
Unable to find image 'criteord/cassandra_exporter:2.3.2' locally
2.3.2: Pulling from criteord/cassandra_exporter
bc51dd8edc1b: Pull complete
d1d06863bb82: Pull complete
adf4d10a782b: Pull complete
7db4424ff270: Pull complete
e008a301333c: Pull complete
10121b885a52: Pull complete
0d34188e8091: Pull complete
fc3c7604e1c5: Pull complete
019737f36353: Pull complete
a26e5d6f647b: Pull complete
3b6b59aecfbd: Pull complete
Digest: sha256:9fe7cfef9b03ca294c80e5da098add4698c4103bbddf382dd93d2e01a073d6e3
Status: Downloaded newer image for criteord/cassandra_exporter:2.3.2
total 4760
-rw-rw-r-- 1 root root 4871483 Feb 10 13:31 cassandra_exporter.jar
porridge@beczulka:~$
```
We actually bump to 2.3.3 since the earlier one was non-functional.
  • Loading branch information
porridge committed Mar 3, 2020
1 parent 55b3adb commit 76d1644
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ and this project adheres to

### Changed

- Bumped Cassandra Prometheus Exporter to 2.3.3 and no longer chown its JAR.
([#56](https://github.com/mesosphere/kudo-cassandra-operator/pull/56))

### Added

- TLS encryption for node-to-node and client-to-node connections.
Expand Down
4 changes: 1 addition & 3 deletions images/Dockerfile.prometheus-exporter
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
FROM criteord/cassandra_exporter:2.2.1

RUN chown 999:999 /opt/cassandra_exporter/cassandra_exporter.jar
FROM criteord/cassandra_exporter:2.3.3
2 changes: 1 addition & 1 deletion metadata.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export KUDO_VERSION="0.10.1"
export KUBERNETES_VERSION="1.15.0"

export CASSANDRA_EXPORTER_DOCKER_IMAGE="criteord/cassandra_exporter"
export CASSANDRA_EXPORTER_VERSION="2.2.1"
export CASSANDRA_EXPORTER_VERSION="2.3.3"

################################################################################
############################## Docker images ###################################
Expand Down
2 changes: 1 addition & 1 deletion operator/params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ parameters:

- name: PROMETHEUS_EXPORTER_DOCKER_IMAGE
description: "Prometheus exporter Docker image."
default: "mesosphere/cassandra-prometheus-exporter:2.2.1-0.1.2-SNAPSHOT"
default: "mesosphere/cassandra-prometheus-exporter:2.3.3-0.1.2-SNAPSHOT"

- name: PROMETHEUS_EXPORTER_DOCKER_IMAGE_PULL_POLICY
description: "Prometheus exporter Docker image pull policy."
Expand Down
2 changes: 0 additions & 2 deletions templates/images/Dockerfile.prometheus-exporter.template
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
FROM ${PROMETHEUS_EXPORTER_DOCKER_IMAGE_FROM}

RUN chown 999:999 /opt/cassandra_exporter/cassandra_exporter.jar

0 comments on commit 76d1644

Please sign in to comment.