1
0
mirror of https://github.com/coreos/prometheus-operator.git synced 2026-02-05 15:46:31 +01:00

16 Commits

Author SHA1 Message Date
dongjiang
83ed01170f Merge pull request #8062 from kubeservice-stack/update-thanos-v0.40.1
chore: Update thanos version to v0.40.1 and golang version to 1.25
2025-11-24 21:35:15 +01:00
dongjiang
0e44c2cd20 chore: Upgrade Go version to v1.24 (#7338)
Signed-off-by: dongjiang <dongjiang1989@126.com>
2025-04-01 10:01:34 +02:00
Simon Pasquier
5cdab7933f chore: optimize build layers
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-11-06 10:26:28 +01:00
Simon Pasquier
c7e2bd7ff3 fix: pass GOARCH variable to the build stage
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-11-04 17:18:45 +01:00
Simon Pasquier
e27dc7b52c fix: pass the GOARCH variable to the build command
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-11-04 15:34:25 +01:00
Simon Pasquier
fcf21f1d78 fix: fix image builds for non-amd64 architectures
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-11-04 14:06:19 +01:00
Jan Fajerski
79d4b56eb4 Dockerfile: drop double quotes around ARG default values
Afaiu the spec is unclear whether to quote this or not. In this case
here is certainly not requires and works fine without. Additionally,
there is some tooling which does not treat quotes values correctly and
generates image links like
`quay.io/prometheus/golang-builder:\"1.23\"-base`.

Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2024-10-17 13:24:31 +02:00
Jan Fajerski
46a4ea0b76 build: move build step to Dockerfiles
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2024-09-27 09:24:23 +02:00
Chirayu Kapoor
a7639f82cc Fixing prometheus-operator#5338 | Added labels in the Dockerfile
Signed-off-by: Chirayu Kapoor <chirayu.kapoor@suse.com>
2023-09-26 16:59:00 +05:30
Simon Schneider
2dffb2c03e Replace ADD with COPY (#5029)
Its a best practice to use the COPY statement instead of ADD. See https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#add-or-copy for more information
2022-09-19 09:49:47 +00:00
Nicolas Floquet
2964544396 Simplify multi-arch building. (#3035)
Default build is linux/amd64

For any other target:
OS=<os> ARCH=<arch> make
2020-02-26 19:23:51 +01:00
Max Inden
50d4801b57 security: Enforce nobody user and read only / (#1393)
* Make the Prometheus Operator Docker image run as `nobody` by default.
* Disallow privilege escalation via K8s
* Enforce read only root filesystem
2018-07-17 15:11:46 +02:00
Max Leonard Inden
19f3150e8a *: Refactor build system
- Move prometheus-config-reloader to cmd/
- Refactor Makefile & contrib/kube-prometheus/Makefile
- Only execute a target if its dependencies changed
  - Create empty target file for docker builds
- Replace promu with plain static `go build`
2018-06-12 13:56:57 +02:00
Frederic Branczyk
64502939e2 separate build the binary and container 2017-01-31 15:16:09 +01:00
Fabian Reinartz
3d55bcb006 Rename controller to operator 2016-11-01 14:19:25 +01:00
Fabian Reinartz
4b4191d060 Initial commit.
Adds a basic controller that creates a client and connects to
a Kubernetes cluster from within or external.
2016-09-21 13:48:13 +02:00