Skip to content

Commit

Permalink
handle deprecation of gcr.io/kubebuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
monteiro-renato committed Dec 9, 2024
1 parent cbbc656 commit 06c6fb0
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12252,7 +12252,7 @@ spec:
- --upstream=http://127.0.0.1:8080/
- --logtostderr=true
- --v=10
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.15.0
image: quay.io/brancz/kube-rbac-proxy:v0.18.2
name: kube-rbac-proxy
ports:
- containerPort: 8443
Expand Down
7 changes: 3 additions & 4 deletions charts/k6-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ Kubernetes: `>=1.16.0-0`
| authProxy.containerSecurityContext | object | `{}` | A security context defines privileges and access control settings for the container. |
| authProxy.enabled | bool | `true` | enables the protection of /metrics endpoint. (https://github.com/brancz/kube-rbac-proxy) |
| authProxy.image.pullPolicy | string | `"IfNotPresent"` | pull policy for the image can be Always, Never, IfNotPresent (default: IfNotPresent) |
| authProxy.image.registry | string | `"gcr.io"` | |
| authProxy.image.repository | string | `"kubebuilder/kube-rbac-proxy"` | rbac-proxy image repository |
| authProxy.image.tag | string | `"v0.15.0"` | rbac-proxy image tag |
| authProxy.image.registry | string | `"quay.io"` | |
| authProxy.image.repository | string | `"brancz/kube-rbac-proxy"` | rbac-proxy image repository |
| authProxy.image.tag | string | `"v0.18.2"` | rbac-proxy image tag |
| authProxy.livenessProbe | object | `{}` | Liveness probe in Probe format |
| authProxy.readinessProbe | object | `{}` | Readiness probe in Probe format |
| authProxy.resources | object | `{}` | rbac-proxy resource limitation/request |
Expand Down Expand Up @@ -68,4 +68,3 @@ Kubernetes: `>=1.16.0-0`
| podLabels | object | `{}` | Custom Label to be applied on all pods |
| prometheus.enabled | bool | `false` | enables the prometheus metrics scraping (default: false) |
| tolerations | list | `[]` | Tolerations to be applied on all containers |

6 changes: 3 additions & 3 deletions charts/k6-operator/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@
"type": "string"
},
"registry": {
"default": "gcr.io",
"default": "quay.io",
"description": "authProxy.image.registry",
"title": "registry",
"type": "string"
},
"repository": {
"default": "kubebuilder/kube-rbac-proxy",
"default": "brancz/kube-rbac-proxy",
"description": "authProxy.image.repository -- rbac-proxy image repository",
"title": "repository",
"type": "string"
},
"tag": {
"default": "v0.15.0",
"default": "v0.18.2",
"description": "authProxy.image.tag -- rbac-proxy image tag",
"title": "tag",
"type": "string"
Expand Down
6 changes: 3 additions & 3 deletions charts/k6-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,19 +132,19 @@ authProxy:
# type: string
# @schema
# authProxy.image.registry
registry: gcr.io
registry: quay.io
# @schema
# required: false
# type: string
# @schema
# authProxy.image.repository -- rbac-proxy image repository
repository: kubebuilder/kube-rbac-proxy
repository: brancz/kube-rbac-proxy
# @schema
# required: false
# type: string
# @schema
# authProxy.image.tag -- rbac-proxy image tag
tag: v0.15.0
tag: v0.18.2
# @schema
# required: false
# type: string
Expand Down
2 changes: 1 addition & 1 deletion config/default/manager_auth_proxy_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
- "--metrics-addr=127.0.0.1:8080"
- "--enable-leader-election"
- name: kube-rbac-proxy
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.15.0
image: quay.io/brancz/kube-rbac-proxy:v0.18.2
args:
- "--secure-listen-address=0.0.0.0:8443"
- "--upstream=http://127.0.0.1:8080/"
Expand Down

0 comments on commit 06c6fb0

Please sign in to comment.