Merge pull request #15 from skeeey/deploy-test

fix some deploy problems
This commit is contained in:
OpenShift Merge Robot
2020-05-27 16:08:20 -04:00
committed by GitHub
7 changed files with 7 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ rules:
verbs: ["create"]
- apiGroups: ["", "events.k8s.io"]
resources: ["events"]
verbs: [create", "patch", "update"]
verbs: ["create", "patch", "update"]
- apiGroups: ["apps"]
resources: ["deployments"]
verbs: ["create", "get", "list", "update", "watch", "patch", "delete"]

View File

@@ -59,7 +59,7 @@ spec:
resources:
- events
verbs:
- create"
- create
- patch
- update
- apiGroups:

View File

@@ -2,7 +2,7 @@ kind: Deployment
apiVersion: apps/v1
metadata:
name: nucleus-hub
namespace: open-cluster-management-core
namespace: open-cluster-management
labels:
app: nucleus-hub
spec:

View File

@@ -15,7 +15,7 @@ rules:
verbs: ["get", "list", "watch"]
- apiGroups: ["", "events.k8s.io"]
resources: ["events"]
verbs: [create", "patch", "update"]
verbs: ["create", "patch", "update"]
- apiGroups: ["apps"]
resources: ["deployments"]
verbs: ["create", "get", "list", "update", "watch", "patch", "delete"]

View File

@@ -9,4 +9,4 @@ roleRef:
subjects:
- kind: ServiceAccount
name: nucleus-spoke
namespace: open-cluster-management-core
namespace: open-cluster-management

View File

@@ -75,7 +75,7 @@ spec:
resources:
- events
verbs:
- create"
- create
- patch
- update
- apiGroups:

View File

@@ -35,4 +35,4 @@ spec:
path: /healthz
scheme: HTTPS
port: 8443
initialDelaySeconds: 2
initialDelaySeconds: 2