Skip to content

Commit b7b70ca

Browse files
authored
Merge branch 'operator-framework:main' into fix-desiredState-in-applier-and-some-hack-scripts-issues
2 parents c5c48bc + 9cef99f commit b7b70ca

File tree

9 files changed

+16
-38
lines changed

9 files changed

+16
-38
lines changed

config/base/kustomization.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ resources:
1818
- crd
1919
- rbac
2020
- manager
21-
# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
22-
#- ../prometheus
21+
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
resources:
2-
- manager.yaml
31
apiVersion: kustomize.config.k8s.io/v1beta1
42
kind: Kustomization
3+
4+
resources:
5+
- manager.yaml
6+
- service.yaml
7+
58
images:
69
- name: controller
710
newName: quay.io/operator-framework/operator-controller
8-
newTag: devel
11+
newTag: devel

config/base/rbac/auth_proxy_service.yaml renamed to config/base/manager/service.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
apiVersion: v1
22
kind: Service
33
metadata:
4+
name: service
5+
namespace: system
46
labels:
57
control-plane: operator-controller-controller-manager
6-
name: controller-manager-metrics-service
7-
namespace: system
88
spec:
99
ports:
1010
- name: https

config/base/prometheus/kustomization.yaml

Lines changed: 0 additions & 2 deletions
This file was deleted.

config/base/prometheus/monitor.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.

config/base/rbac/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ resources:
2323
# can access the metrics endpoint. Comment the following
2424
# permissions if you want to disable this protection.
2525
# More info: https://book.kubebuilder.io/reference/metrics.html
26-
- auth_proxy_service.yaml
2726
- auth_proxy_role.yaml
2827
- auth_proxy_role_binding.yaml
2928
- auth_proxy_client_clusterrole.yaml

config/components/tls/resources/manager_cert.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ metadata:
55
spec:
66
secretName: olmv1-cert
77
dnsNames:
8-
- operator-controller.olmv1-system.svc
9-
- operator-controller.olmv1-system.svc.cluster.local
10-
- operator-controller-controller-manager-metrics-service.olmv1-system.svc
11-
- operator-controller-controller-manager-metrics-service.olmv1-system.svc.cluster.local
8+
- operator-controller-service.olmv1-system.svc
9+
- operator-controller-service.olmv1-system.svc.cluster.local
1210
privateKey:
1311
algorithm: ECDSA
1412
size: 256

requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
Babel==2.16.0
22
beautifulsoup4==4.12.3
33
certifi==2024.12.14
4-
charset-normalizer==3.4.0
4+
charset-normalizer==3.4.1
55
click==8.1.7
66
colorama==0.4.6
77
cssselect==1.2.0
88
ghp-import==2.1.0
99
idna==3.10
10-
Jinja2==3.1.4
10+
Jinja2==3.1.5
1111
lxml==5.3.0
1212
Markdown==3.7
1313
markdown2==2.5.2
@@ -21,7 +21,7 @@ paginate==0.5.7
2121
pathspec==0.12.1
2222
platformdirs==4.3.6
2323
Pygments==2.18.0
24-
pymdown-extensions==10.12
24+
pymdown-extensions==10.13
2525
pyquery==2.0.1
2626
python-dateutil==2.9.0.post0
2727
PyYAML==6.0.2
@@ -31,5 +31,5 @@ regex==2024.11.6
3131
requests==2.32.3
3232
six==1.17.0
3333
soupsieve==2.6
34-
urllib3==2.2.3
34+
urllib3==2.3.0
3535
watchdog==6.0.0

test/e2e/metrics_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func TestOperatorControllerMetricsExportedEndpoint(t *testing.T) {
9898
require.NoError(t, waitErr, "Error waiting for curl pod to be ready: %s", string(waitOutput))
9999

100100
t.Log("Validating the metrics endpoint")
101-
metricsURL := "https://operator-controller-controller-manager-metrics-service." + namespace + ".svc.cluster.local:8443/metrics"
101+
metricsURL := "https://operator-controller-service." + namespace + ".svc.cluster.local:8443/metrics"
102102
curlCmd := exec.Command(client, "exec", curlPod, "-n", namespace, "--",
103103
"curl", "-v", "-k", "-H", "Authorization: Bearer "+token, metricsURL)
104104
output, err = curlCmd.CombinedOutput()

0 commit comments

Comments
 (0)