Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STF 1.5.4 release ops #158

Merged
merged 10 commits into from
Feb 14, 2024
5 changes: 5 additions & 0 deletions .zuul.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
- project:
name: infrawatch/smart-gateway-operator
templates:
- stf-crc-jobs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ metadata:
features.operators.openshift.io/cnf: "false"
features.operators.openshift.io/cni: "false"
features.operators.openshift.io/csi: "false"
features.operators.openshift.io/disconnected: "false"
features.operators.openshift.io/disconnected: "true"
features.operators.openshift.io/fips-compliant: "false"
features.operators.openshift.io/proxy-aware: "false"
features.operators.openshift.io/tls-profiles: "false"
Expand Down Expand Up @@ -185,14 +185,6 @@ spec:
- update
- patch
- watch
- apiGroups:
- ""
resources:
- namespaces
verbs:
- get
- list
- watch
- apiGroups:
- rbac.authorization.k8s.io
resources:
Expand Down Expand Up @@ -341,14 +333,6 @@ spec:
- rolebindings
verbs:
- create
- apiGroups:
- ""
resources:
- namespaces
verbs:
- get
- list
- watch
- apiGroups:
- rbac.authorization.k8s.io
resources:
Expand Down
16 changes: 0 additions & 16 deletions deploy/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,6 @@ rules:
- update
- patch
- watch
- apiGroups:
- ""
resources:
- namespaces
verbs:
- get
- list
- watch
- apiGroups:
- rbac.authorization.k8s.io
resources:
Expand Down Expand Up @@ -159,14 +151,6 @@ rules:
- rolebindings
verbs:
- create
- apiGroups:
- ""
resources:
- namespaces
verbs:
- get
- list
- watch
- apiGroups:
- rbac.authorization.k8s.io
resources:
Expand Down
2 changes: 1 addition & 1 deletion roles/smartgateway/templates/deployment.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
- -cookie-secret-file=/etc/proxy/secrets/session_secret
- -openshift-service-account={{ service_account_name }}
- -upstream=http://localhost:8081/
- '-openshift-delegate-urls={"/": {"resource": "namespaces", "verb": "get"}}'
- '-openshift-delegate-urls={"/": {"namespace": "{{ ansible_operator_meta.namespace }}", "resource": "smartgateways", "group": "smartgateway.infra.watch", "verb": "get"}}'
ports:
- containerPort: 8083
name: https
Expand Down
Loading