Skip to content

Commit d42513e

Browse files
Rename /deploy yaml files to indicate ordering
1 parent 2d700b6 commit d42513e

8 files changed

+9
-22
lines changed
File renamed without changes.

deploy/01-namespace.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
apiVersion: v1
2+
kind: Namespace
3+
metadata:
4+
name: openshift-console

deploy/rbac.yaml renamed to deploy/02-rbac.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ kind: Role
22
apiVersion: rbac.authorization.k8s.io/v1beta1
33
metadata:
44
name: console-operator
5+
namespace: openshift-console
56
rules:
67
- apiGroups:
78
- console.openshift.io
@@ -37,6 +38,7 @@ kind: RoleBinding
3738
apiVersion: rbac.authorization.k8s.io/v1beta1
3839
metadata:
3940
name: default-account-console-operator
41+
namespace: openshift-console
4042
subjects:
4143
- kind: ServiceAccount
4244
name: default

deploy/operator.yaml renamed to deploy/03-operator.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ apiVersion: apps/v1
22
kind: Deployment
33
metadata:
44
name: console-operator
5+
namespace: openshift-console
56
spec:
67
replicas: 1
78
selector:

deploy/cr-namespace.yaml

-6
This file was deleted.

deploy/cr.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ apiVersion: "console.openshift.io/v1alpha1"
22
kind: "Console"
33
metadata:
44
# do not change the name, this is required to match within the operator
5-
name: "openshift-console"
5+
name: openshift-console
66
# namespace: openshift-console
77
# for dev:
8-
namespace: openshift-console-operator-test
8+
namespace: openshift-console
99
spec:
1010
paused: false
1111
# what needs to be customized here?

deploy/namespace.yaml

-8
This file was deleted.

deploy/operator-namespace.yaml

-6
This file was deleted.

0 commit comments

Comments
 (0)