Skip to content

Commit

Permalink
Merge pull request #181 from Jooho/0.11-sync
Browse files Browse the repository at this point in the history
update fast manifests based on main branch
  • Loading branch information
openshift-merge-robot authored Sep 7, 2023
2 parents 97f2a83 + 4a9fcc0 commit 9d2e1e6
Show file tree
Hide file tree
Showing 12 changed files with 805 additions and 73 deletions.
2 changes: 2 additions & 0 deletions opendatahub/odh-manifests/model-mesh/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ resources:
- ../odh-modelmesh-controller/overlays/odh
- ../odh-model-controller/overlays/odh

commonLabels:
app.kubernetes.io/part-of: model-mesh
namespace: opendatahub
configMapGenerator:
- envs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
bases:
- ../rbac
- ../manager
- ../manager
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ resources:

patchesStrategicMerge:
- odh_model_controller_manager_patch.yaml
commonLabels:
app.kubernetes.io/managed-by: odh-model-controller

configurations:
- params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ spec:
- --leader-elect
- "--monitoring-namespace"
- "$(MONITORING_NS)"
#This is hardcoded to be false in the overlay to model-mesh.
# Once Kserve and Modelmesh CRD conflict is resolved and both components can be installed together,
# ODH Model Controller will not be deployed as a overlay anymore and will be deployed only as an independent component.
# When that happens, the "kserve-enabled" flag needs to be removed
- --kserve-enabled=false
image: $(odh-model-controller)
env:
- name: MONITORING_NS
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: kserve-prometheus-k8s
rules:
- apiGroups:
- ""
resources:
- services
- endpoints
- pods
verbs:
- get
- list
- watch
Original file line number Diff line number Diff line change
Expand Up @@ -205,19 +205,3 @@ rules:
- patch
- update
- watch
- apiGroups:
- extensions
resources:
- ingresses
verbs:
- get
- list
- watch
- apiGroups:
- networking.k8s.io
resources:
- ingresses
verbs:
- get
- list
- watch
Loading

0 comments on commit 9d2e1e6

Please sign in to comment.