dongjiang
a6824946e3
chore: remove GODEBUG=gotypesalias=0 option ( #7293 )
...
* remove godebug=gotypesalias=0
Signed-off-by: dongjiang <dongjiang1989@126.com >
2025-01-30 09:30:55 +05:30
dongjiang
6e3ecb473a
chore: update controller-runtime to v0.20.0 and controller-tools version to v0.17.1 ( #7287 )
...
* dongjiang, update controller-runtime and controller-tools version
Signed-off-by: dongjiang <dongjiang1989@126.com >
* fix fake
Signed-off-by: dongjiang <dongjiang1989@126.com >
---------
Signed-off-by: dongjiang <dongjiang1989@126.com >
2025-01-20 11:16:02 +01:00
dongjiang
6cfb80cfbb
chore: Update golangci-lint to v1.63.4 ( #7250 )
...
* update golangci-lint to v1.63.4
Signed-off-by: dongjiang <dongjiang1989@126.com >
2025-01-09 15:51:33 +05:30
dongjiang
5da7cf96fc
update golangci-lint to v1.62.2
...
Signed-off-by: dongjiang <dongjiang1989@126.com >
2024-12-04 18:09:32 +08:00
Simon Pasquier
37d466a531
chore: update the Thanos Ruler example
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2024-11-18 15:55:19 +01:00
dongjiang
91af9515bf
chore: Update golangci-lint to v1.62.0 ( #7101 )
...
---------
Signed-off-by: dongjiang1989 <dongjiang1989@126.com >
Co-authored-by: Simon Pasquier <spasquie@redhat.com >
2024-11-13 15:48:14 +01:00
dongjiang
c22d1da263
chore: fix gen-crd-api-reference-docs warning ( #7063 )
...
Signed-off-by: dongjiang1989 <dongjiang1989@126.com >
2024-11-06 16:01:06 +05:30
dongjiang1989
fb6a8c94e4
update controller-tools to v0.16.5
...
Signed-off-by: dongjiang1989 <dongjiang1989@126.com >
2024-11-04 15:15:29 +08:00
dongjiang1989
4b790d954b
update controller-tools version
...
Signed-off-by: dongjiang1989 <dongjiang1989@126.com >
2024-10-15 15:51:07 +08:00
Simon Pasquier
e433c0d987
chore: add LOG_LEVEL variable to scripts/run-external.sh
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2024-09-24 11:25:28 +02:00
dongjiang
e98aa3fad7
chore: update golangci-lint and controller-tools version ( #6951 )
...
* update golangci-lint and controller-tools version
Signed-off-by: dongjiang1989 <dongjiang1989@126.com >
---------
Signed-off-by: dongjiang1989 <dongjiang1989@126.com >
2024-09-19 15:12:32 +00:00
Jayapriya Pai
1a03bcac34
chore: update dependencies before v0.77
...
Signed-off-by: Jayapriya Pai <slashpai9@gmail.com >
2024-09-18 12:30:29 +05:30
dongjiang1989
71b925910b
update golang to 1.23
...
Signed-off-by: dongjiang1989 <dongjiang1989@126.com >
2024-08-25 19:54:21 +08:00
dongjiang
fabf336014
chore: bump to golangci-lint v1.60.1 ( #6856 )
...
* update golangci-lint version
---------
Signed-off-by: dongjiang1989 <dongjiang1989@126.com >
2024-08-21 11:07:07 +02:00
Simon Pasquier
f2f5e22381
chore: upgrade k8s dependencies to v1.31.0
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2024-08-19 11:31:35 +02:00
dongjiang1989
33c5275ec7
update golangci-lint version
...
Signed-off-by: dongjiang1989 <dongjiang1989@126.com >
2024-08-07 10:15:51 +08:00
Ashwin
e9186983e1
Fixed navigation for API Reference page
2024-07-05 10:50:02 +05:30
Simon Pasquier
83be2163d0
feat: pass feature gates to scripts/run-external.sh
...
This change allows to pass feature gates to the script. For instance:
```
FEATURE_GATES="PrometheusAgentDaemonSet=true" ./run/run-external.sh -c
```
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2024-06-27 17:27:10 +02:00
Simon Pasquier
2e151cf1c0
chore: bump code-generator to v0.30.1
...
The gen tools arguments have changed a bit, the Makefile commands have
been adjusted accordingly.
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2024-06-07 11:25:50 +02:00
Simon Pasquier
3b4a558af3
chore: update golangci-lint configuration
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2024-05-13 14:59:29 +02:00
dongjiang
f33dc76268
update golangci-lint version ( #6543 )
...
Signed-off-by: dongjiang1989 <dongjiang1989@126.com >
2024-04-22 12:09:59 +00:00
dependabot[bot]
601bdf096b
build(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 in /scripts
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-19 13:14:27 +00:00
dongjiang
35bfdf45c3
chore: bump to controller-tools v0.14.0 ( #6499 )
...
* update controller-tools version
---------
Signed-off-by: dongjiang1989 <dongjiang1989@126.com >
2024-04-12 10:22:34 +02:00
Tushar
14b3afba33
DELETE: removed the po-lint code and doc part ( #6474 )
...
* DELETE: removed the po-lint code and doc part as it is replaced by kubeconform #4099
Signed-off-by: Tushar Jain <jain0735@gmail.com >
* removed the po-lint part from the Readme
Signed-off-by: Tushar Jain <jain0735@gmail.com >
* removed po-lint from the makefile and dockerfile
Signed-off-by: Tushar Jain <jain0735@gmail.com >
---------
Signed-off-by: Tushar Jain <jain0735@gmail.com >
2024-04-11 11:33:56 -03:00
deterclosed
88699706ad
Signed-off-by: deterclosed <fliter@outlook.com>
...
chore: remove repetitive words
Signed-off-by: deterclosed <fliter@outlook.com >
2024-03-24 09:53:31 +08:00
dependabot[bot]
cab3f65640
build(deps): bump google.golang.org/protobuf in /scripts
...
Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-13 23:26:08 +00:00
dongjiang
ed3aede934
chore: bump to golangci-lint v1.56.2 ( #6384 )
...
* update golangci lint version
---------
Signed-off-by: dongjiang1989 <dongjiang1989@126.com >
2024-03-12 11:00:44 +01:00
dongjiang1989
d6d883839d
update go version 1.22
...
Signed-off-by: dongjiang1989 <dongjiang1989@126.com >
2024-02-07 11:24:58 +08:00
Simon Pasquier
b836d96445
Merge pull request #6081 from simonpasquier/fix-run-external
...
chore: remove TLS files only on exit
2023-11-14 15:12:10 +01:00
Simon Pasquier
42df30ab6f
chore: update tool versions in scripts/go.mod
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2023-11-14 13:44:47 +01:00
Simon Pasquier
7dfb900875
chore: remove TLS files only on exit
...
The k8s client reloads the TLS files periodically and complains if they
have been removed.
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2023-11-13 11:43:19 +01:00
Pranshu Srivastava
ddfea8919b
enhancement: include operator version in CRD annotations ( #6050 )
...
* *: include operator version in CRD annotations
Signed-off-by: Paweł Krupa (paulfantom) <pawel@krupa.net.pl >
* example,jsonnet: regenerate
Signed-off-by: Paweł Krupa (paulfantom) <pawel@krupa.net.pl >
* fixup! example,jsonnet: regenerate
---------
Signed-off-by: Paweł Krupa (paulfantom) <pawel@krupa.net.pl >
Co-authored-by: Paweł Krupa (paulfantom) <pawel@krupa.net.pl >
2023-10-31 15:29:07 -03:00
dependabot[bot]
c713033ffc
build(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 in /scripts
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.10.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.10.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-11 22:32:22 +00:00
Simon Pasquier
700127e611
fix: get IMPERSONATE_USER from current environment
...
This change allows to run the operator locally as a different user:
```
export IMPERSONATE_USER=system:serviceaccount:default:system
./run/run-external.sh -c
```
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2023-09-21 10:15:55 +02:00
Simon Pasquier
4a1dcd7528
feat: add --as CLI argument
...
The `--as` argument allows to run the operator while impersonating a
different user. It's useful to run the operator outside of the cluster
as a service account instead of `kubeadmin`.
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2023-09-12 11:51:38 +02:00
Simon Pasquier
4e63f2fddb
chore: update to Go 1.21
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2023-09-08 17:25:51 +02:00
Nicolas Takashi
b0aa730488
chore: adding golden files support on webconfig tests ( #5776 )
...
* feat: adding golden files support on webconfig tests
I'm adding golden file supports on webconfig package, solves #5741
---------
Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com >
Co-authored-by: Simon Pasquier <spasquie@redhat.com >
2023-08-03 18:24:27 +02:00
Sunil Thaha
c840b7eaa8
simplify running operator out of cluster ( #5415 )
...
* simplify running operator out of cluster
This patch enhances run-external.sh script to run all prerequisites
before running the operator.
The script now does the following
* checks if a deployment with name prometheus-operator is running in the
cluster.
* builds operator
* updates the CRDs
* runs the operator and stores operator log in tmp/operator.log
Signed-off-by: Sunil Thaha <sthaha@redhat.com >
* Apply suggestions from code review
---------
Signed-off-by: Sunil Thaha <sthaha@redhat.com >
Co-authored-by: Simon Pasquier <spasquie@redhat.com >
2023-06-20 14:20:16 +02:00
Simon Pasquier
91bf2091c7
chore: update golangci-lint to v1.53.1 ( #5633 )
...
* chore: update golangci-lint to v1.53.1
* chore: resolve new linter errors
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2023-06-06 14:47:01 +02:00
Sunil Thaha
0e48ae40b0
improve run-external script to show usage info
...
Signed-off-by: Sunil Thaha <sthaha@redhat.com >
2023-03-15 15:44:57 +10:00
Simon Pasquier
105ae14048
.github/workflows/publish.yaml: fix typo ( #5395 )
...
The Quay username is available from the GitHub secrets!
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2023-03-07 11:54:58 +00:00
Simon Pasquier
bba447e9c1
scripts/push-docker-image.sh: add amend option for main tag
...
Since the 'main' tag is floating, we need to use the '--amend' flag when
creating the manifest.
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2023-03-06 15:56:25 +01:00
Simon Pasquier
82cdd71070
scripts/push-docker-image.sh: update script for cosign v2 ( #5391 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2023-03-03 16:51:33 +00:00
Simon Pasquier
de2b58e812
scripts/push-docker-image.sh: fix bad array index
...
Follow-up of #5387
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2023-03-03 14:53:03 +01:00
Simon Pasquier
f1f205553a
scripts/push-docker-image.sh: fix script ( #5387 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2023-03-03 13:16:07 +00:00
Simon Pasquier
567d65d4e1
Merge pull request #5356 from simonpasquier/cosign-images
...
build: sign tagged container images with cosign
2023-02-28 17:04:05 +01:00
Simon Pasquier
8aba85463b
build: sign tagged images with cosign
...
Images with the `main` tag aren't signed because if I understand
correctly, it's not possible to sign again an existing image. Otherwise
we would have to suffix the tag with the short commit ID (e.g.
`:main-01234567`). At the same time, using the main (or latest) tag isn't
the best choice in terms of reproducibility/stability so not having
signed images is probably not a big deal.
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2023-02-20 16:49:41 +01:00
Simon Pasquier
8051947248
chore: update to Go 1.20 ( #5348 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2023-02-20 12:29:03 +00:00
dependabot[bot]
d5ff0c5d6e
build(deps): bump golang.org/x/net from 0.5.0 to 0.7.0 in /scripts ( #5353 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.5.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 12:28:40 +00:00
Arthur Silva Sens
f42c786eb4
Generate Prometheus configuration through interface ( #5310 )
...
* Create Interface between Prometheus and PrometheusAgent
* Refactor: Use PrometheusInterface to generate configuration
* Hide PrometheusInterface from API documentation
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com >
2023-02-14 17:27:00 +01:00