Skip to content
GitLab
Next
Projects
Groups
Snippets
Help
Loading...
Help
What's new
6
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
GitLab Operator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
28
Issues
28
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
6
Merge Requests
6
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GitLab.org
OpenShift
GitLab Operator
Commits
562da546
Commit
562da546
authored
Sep 15, 2020
by
Edmund Ochieng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
customize namespace and name prefix in kustomization
parent
811ee46b
Changes
39
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
39 changed files
with
705 additions
and
2166 deletions
+705
-2166
bundle/manifests/apps.gitlab.com_gitlabs.yaml
bundle/manifests/apps.gitlab.com_gitlabs.yaml
+261
-1009
bundle/manifests/apps.gitlab.com_glbackups.yaml
bundle/manifests/apps.gitlab.com_glbackups.yaml
+4
-10
bundle/manifests/apps.gitlab.com_runners.yaml
bundle/manifests/apps.gitlab.com_runners.yaml
+4
-10
bundle/manifests/gitlab-app-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
...ab-app-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
+14
-0
bundle/manifests/gitlab-app-rolebinding_rbac.authorization.k8s.io_v1_clusterrolebinding.yaml
...ding_rbac.authorization.k8s.io_v1_clusterrolebinding.yaml
+3
-4
bundle/manifests/gitlab-app_v1_serviceaccount.yaml
bundle/manifests/gitlab-app_v1_serviceaccount.yaml
+5
-0
bundle/manifests/gitlab-backup-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
...backup-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
+23
-15
bundle/manifests/gitlab-backup-rolebinding_rbac.authorization.k8s.io_v1_clusterrolebinding.yaml
...ding_rbac.authorization.k8s.io_v1_clusterrolebinding.yaml
+3
-4
bundle/manifests/gitlab-backup_v1_serviceaccount.yaml
bundle/manifests/gitlab-backup_v1_serviceaccount.yaml
+5
-0
bundle/manifests/gitlab-leader-election-rolebinding_rbac.authorization.k8s.io_v1_rolebinding.yaml
...rolebinding_rbac.authorization.k8s.io_v1_rolebinding.yaml
+0
-13
bundle/manifests/gitlab-manager-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
...anager-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
+0
-198
bundle/manifests/gitlab-manager_v1_serviceaccount.yaml
bundle/manifests/gitlab-manager_v1_serviceaccount.yaml
+5
-0
bundle/manifests/gitlab-operator-leader-election-rolebinding_rbac.authorization.k8s.io_v1_rolebinding.yaml
...rolebinding_rbac.authorization.k8s.io_v1_rolebinding.yaml
+0
-14
bundle/manifests/gitlab-operator-manager-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
...anager-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
+0
-210
bundle/manifests/gitlab-operator-manager-rolebinding_rbac.authorization.k8s.io_v1_clusterrolebinding.yaml
...ding_rbac.authorization.k8s.io_v1_clusterrolebinding.yaml
+0
-13
bundle/manifests/gitlab-operator-metrics-reader_rbac.authorization.k8s.io_v1beta1_clusterrole.yaml
...reader_rbac.authorization.k8s.io_v1beta1_clusterrole.yaml
+0
-10
bundle/manifests/gitlab-operator-proxy-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
...-proxy-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
+0
-18
bundle/manifests/gitlab-operator.clusterserviceversion.yaml
bundle/manifests/gitlab-operator.clusterserviceversion.yaml
+290
-223
bundle/manifests/gitlab-runner-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
...runner-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
+30
-0
bundle/manifests/gitlab-runner-rolebinding_rbac.authorization.k8s.io_v1_clusterrolebinding.yaml
...ding_rbac.authorization.k8s.io_v1_clusterrolebinding.yaml
+3
-4
bundle/manifests/gitlab-runner_v1_serviceaccount.yaml
bundle/manifests/gitlab-runner_v1_serviceaccount.yaml
+5
-0
config/default/kustomization.yaml
config/default/kustomization.yaml
+2
-2
config/manager/manager.yaml
config/manager/manager.yaml
+1
-1
config/manifests/bases/gitlab-operator.clusterserviceversion.yaml
...anifests/bases/gitlab-operator.clusterserviceversion.yaml
+22
-202
config/rbac/auth_proxy_role_binding.yaml
config/rbac/auth_proxy_role_binding.yaml
+1
-1
config/rbac/custom/gitlab_backup_role.yaml
config/rbac/custom/gitlab_backup_role.yaml
+1
-1
config/rbac/custom/gitlab_backup_role_binding.yaml
config/rbac/custom/gitlab_backup_role_binding.yaml
+3
-3
config/rbac/custom/gitlab_backup_serviceaccount.yaml
config/rbac/custom/gitlab_backup_serviceaccount.yaml
+1
-1
config/rbac/custom/gitlab_role.yaml
config/rbac/custom/gitlab_role.yaml
+1
-1
config/rbac/custom/gitlab_role_binding.yaml
config/rbac/custom/gitlab_role_binding.yaml
+4
-4
config/rbac/custom/gitlab_runner_role.yaml
config/rbac/custom/gitlab_runner_role.yaml
+1
-1
config/rbac/custom/gitlab_runner_role_binding.yaml
config/rbac/custom/gitlab_runner_role_binding.yaml
+3
-3
config/rbac/custom/gitlab_runner_serviceaccount.yaml
config/rbac/custom/gitlab_runner_serviceaccount.yaml
+1
-1
config/rbac/custom/gitlab_service_account.yaml
config/rbac/custom/gitlab_service_account.yaml
+1
-1
config/rbac/custom/manager_service_account.yaml
config/rbac/custom/manager_service_account.yaml
+5
-0
config/rbac/custom/rbac_gitlab_operator.yaml
config/rbac/custom/rbac_gitlab_operator.yaml
+0
-185
config/rbac/kustomization.yaml
config/rbac/kustomization.yaml
+1
-2
config/rbac/leader_election_role_binding.yaml
config/rbac/leader_election_role_binding.yaml
+1
-1
config/rbac/role_binding.yaml
config/rbac/role_binding.yaml
+1
-1
No files found.
bundle/manifests/apps.gitlab.com_gitlabs.yaml
View file @
562da546
This diff is collapsed.
Click to expand it.
bundle/manifests/apps.gitlab.com_glbackups.yaml
View file @
562da546
...
...
@@ -22,14 +22,10 @@ spec:
description
:
GLBackup is the Schema for the glbackups API
properties
:
apiVersion
:
description
:
'
APIVersion
defines
the
versioned
schema
of
this
representation
of
an
object.
Servers
should
convert
recognized
schemas
to
the
latest
internal
value,
and
may
reject
unrecognized
values.
More
info:
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description
:
'
APIVersion
defines
the
versioned
schema
of
this
representation
of
an
object.
Servers
should
convert
recognized
schemas
to
the
latest
internal
value,
and
may
reject
unrecognized
values.
More
info:
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type
:
string
kind
:
description
:
'
Kind
is
a
string
value
representing
the
REST
resource
this
object
represents.
Servers
may
infer
this
from
the
endpoint
the
client
submits
requests
to.
Cannot
be
updated.
In
CamelCase.
More
info:
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description
:
'
Kind
is
a
string
value
representing
the
REST
resource
this
object
represents.
Servers
may
infer
this
from
the
endpoint
the
client
submits
requests
to.
Cannot
be
updated.
In
CamelCase.
More
info:
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type
:
string
metadata
:
type
:
object
...
...
@@ -40,12 +36,10 @@ spec:
description
:
Instance represents the GitLab instance to backup
type
:
string
restore
:
description
:
'
Restore
when
set
to
true
the
backup
defined
by
ID:
will
be
restored
to
the
gitlab
instance'
description
:
'
Restore
when
set
to
true
the
backup
defined
by
ID:
will
be
restored
to
the
gitlab
instance'
type
:
boolean
schedule
:
description
:
Schedule defines the time and day to run backup It takes
cron time format
description
:
Schedule defines the time and day to run backup It takes cron time format
type
:
string
skip
:
description
:
Exclusions allows user to exclude components to backup
...
...
bundle/manifests/apps.gitlab.com_runners.yaml
View file @
562da546
...
...
@@ -20,14 +20,10 @@ spec:
description
:
Runner is the Schema for the runners API
properties
:
apiVersion
:
description
:
'
APIVersion
defines
the
versioned
schema
of
this
representation
of
an
object.
Servers
should
convert
recognized
schemas
to
the
latest
internal
value,
and
may
reject
unrecognized
values.
More
info:
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description
:
'
APIVersion
defines
the
versioned
schema
of
this
representation
of
an
object.
Servers
should
convert
recognized
schemas
to
the
latest
internal
value,
and
may
reject
unrecognized
values.
More
info:
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type
:
string
kind
:
description
:
'
Kind
is
a
string
value
representing
the
REST
resource
this
object
represents.
Servers
may
infer
this
from
the
endpoint
the
client
submits
requests
to.
Cannot
be
updated.
In
CamelCase.
More
info:
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description
:
'
Kind
is
a
string
value
representing
the
REST
resource
this
object
represents.
Servers
may
infer
this
from
the
endpoint
the
client
submits
requests
to.
Cannot
be
updated.
In
CamelCase.
More
info:
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type
:
string
metadata
:
type
:
object
...
...
@@ -57,8 +53,7 @@ spec:
type
:
string
type
:
object
gitlab
:
description
:
GitlabResource represents a Gitlab custom resource. Should
only be used to reference Gitlab instance created by the operator
description
:
GitlabResource represents a Gitlab custom resource. Should only be used to reference Gitlab instance created by the operator
properties
:
name
:
description
:
Name of gitlab resource in kubernetes / openshift
...
...
@@ -71,8 +66,7 @@ spec:
description
:
Tags passes the runner tags
type
:
string
token
:
description
:
RegistrationToken is name of secret with the runner-registration-token
key used to register the runner
description
:
RegistrationToken is name of secret with the runner-registration-token key used to register the runner
type
:
string
type
:
object
status
:
...
...
bundle/manifests/gitlab-
proxy
-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
→
bundle/manifests/gitlab-
app
-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
View file @
562da546
...
...
@@ -2,17 +2,13 @@ apiVersion: rbac.authorization.k8s.io/v1
kind
:
ClusterRole
metadata
:
creationTimestamp
:
null
name
:
gitlab-
proxy
-role
name
:
gitlab-
app
-role
rules
:
-
apiGroups
:
-
authentication.k8s.io
-
security.openshift.io
resourceNames
:
-
anyuid
resources
:
-
tokenreview
s
-
securitycontextconstraint
s
verbs
:
-
create
-
apiGroups
:
-
authorization.k8s.io
resources
:
-
subjectaccessreviews
verbs
:
-
create
-
use
bundle/manifests/gitlab-
proxy
-rolebinding_rbac.authorization.k8s.io_v1_clusterrolebinding.yaml
→
bundle/manifests/gitlab-
app
-rolebinding_rbac.authorization.k8s.io_v1_clusterrolebinding.yaml
View file @
562da546
...
...
@@ -2,12 +2,11 @@ apiVersion: rbac.authorization.k8s.io/v1
kind
:
ClusterRoleBinding
metadata
:
creationTimestamp
:
null
name
:
gitlab-
proxy
-rolebinding
name
:
gitlab-
app
-rolebinding
roleRef
:
apiGroup
:
rbac.authorization.k8s.io
kind
:
ClusterRole
name
:
gitlab-
proxy
-role
name
:
gitlab-
app
-role
subjects
:
-
kind
:
ServiceAccount
name
:
default
namespace
:
gitlab-operator
name
:
gitlab-app
bundle/manifests/gitlab-app_v1_serviceaccount.yaml
0 → 100644
View file @
562da546
apiVersion
:
v1
kind
:
ServiceAccount
metadata
:
creationTimestamp
:
null
name
:
gitlab-app
bundle/manifests/gitlab-
leader-election-role_rbac.authorization.k8s.io_v1_
role.yaml
→
bundle/manifests/gitlab-
backup-role_rbac.authorization.k8s.io_v1_cluster
role.yaml
View file @
562da546
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
Role
kind
:
Cluster
Role
metadata
:
creationTimestamp
:
null
name
:
gitlab-
leader-election
-role
name
:
gitlab-
backup
-role
rules
:
-
apiGroups
:
-
"
"
resources
:
-
secrets
-
pods
-
events
-
services
-
services/status
-
services/proxy
-
services/finalizers
-
resourcequotas
-
pods/attach
-
pods/exec
-
pods/log
-
persistentvolumeclaims
-
configmaps
verbs
:
-
create
-
get
-
list
-
watch
-
create
-
update
-
patch
-
delete
-
apiGroups
:
-
"
"
resources
:
-
configmaps/status
verbs
:
-
get
-
update
-
patch
-
update
-
apiGroups
:
-
"
"
-
apps
resources
:
-
ev
ents
-
deploym
ents
verbs
:
-
create
-
patch
-
get
-
update
-
delete
-
watch
-
list
bundle/manifests/gitlab-
manager
-rolebinding_rbac.authorization.k8s.io_v1_clusterrolebinding.yaml
→
bundle/manifests/gitlab-
backup
-rolebinding_rbac.authorization.k8s.io_v1_clusterrolebinding.yaml
View file @
562da546
...
...
@@ -2,12 +2,11 @@ apiVersion: rbac.authorization.k8s.io/v1
kind
:
ClusterRoleBinding
metadata
:
creationTimestamp
:
null
name
:
gitlab-
manager
-rolebinding
name
:
gitlab-
backup
-rolebinding
roleRef
:
apiGroup
:
rbac.authorization.k8s.io
kind
:
ClusterRole
name
:
gitlab-
manager
-role
name
:
gitlab-
backup
-role
subjects
:
-
kind
:
ServiceAccount
name
:
default
namespace
:
gitlab-operator
name
:
gitlab-backup
bundle/manifests/gitlab-backup_v1_serviceaccount.yaml
0 → 100644
View file @
562da546
apiVersion
:
v1
kind
:
ServiceAccount
metadata
:
creationTimestamp
:
null
name
:
gitlab-backup
bundle/manifests/gitlab-leader-election-rolebinding_rbac.authorization.k8s.io_v1_rolebinding.yaml
deleted
100644 → 0
View file @
811ee46b
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
RoleBinding
metadata
:
creationTimestamp
:
null
name
:
gitlab-leader-election-rolebinding
roleRef
:
apiGroup
:
rbac.authorization.k8s.io
kind
:
Role
name
:
gitlab-leader-election-role
subjects
:
-
kind
:
ServiceAccount
name
:
default
namespace
:
gitlab-operator
bundle/manifests/gitlab-manager-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
deleted
100644 → 0
View file @
811ee46b
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRole
metadata
:
creationTimestamp
:
null
name
:
gitlab-manager-role
rules
:
-
apiGroups
:
-
apps
resources
:
-
deployments
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
apps
resources
:
-
statefulsets
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
apps.gitlab.com
resources
:
-
gitlabs
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
apps.gitlab.com
resources
:
-
gitlabs/status
verbs
:
-
get
-
patch
-
update
-
apiGroups
:
-
apps.gitlab.com
resources
:
-
glbackups
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
apps.gitlab.com
resources
:
-
glbackups/status
verbs
:
-
get
-
patch
-
update
-
apiGroups
:
-
apps.gitlab.com
resources
:
-
runners
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
apps.gitlab.com
resources
:
-
runners/status
verbs
:
-
get
-
patch
-
update
-
apiGroups
:
-
batch
resources
:
-
jobs
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
"
"
resources
:
-
configmaps
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
"
"
resources
:
-
cronjobs
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
"
"
resources
:
-
persistentvolumeclaims
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
"
"
resources
:
-
secrets
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
"
"
resources
:
-
services
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
extensions
resources
:
-
ingresses
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
monitoring.coreos.com
resources
:
-
prometheuses
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
monitoring.coreos.com
resources
:
-
servicemonitors
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
bundle/manifests/gitlab-manager_v1_serviceaccount.yaml
0 → 100644
View file @
562da546
apiVersion
:
v1
kind
:
ServiceAccount
metadata
:
creationTimestamp
:
null
name
:
gitlab-manager
bundle/manifests/gitlab-operator-leader-election-rolebinding_rbac.authorization.k8s.io_v1_rolebinding.yaml
deleted
100644 → 0
View file @
811ee46b
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
RoleBinding
metadata
:
creationTimestamp
:
null
name
:
gitlab-operator-leader-election-rolebinding
namespace
:
gitlab-operator-system
roleRef
:
apiGroup
:
rbac.authorization.k8s.io
kind
:
Role
name
:
gitlab-operator-leader-election-role
subjects
:
-
kind
:
ServiceAccount
name
:
default
namespace
:
gitlab-operator-system
bundle/manifests/gitlab-operator-manager-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
deleted
100644 → 0
View file @
811ee46b
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRole
metadata
:
creationTimestamp
:
null
name
:
gitlab-operator-manager-role
rules
:
-
apiGroups
:
-
apps
resources
:
-
deployments
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
apps
resources
:
-
statefulsets
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
apps.gitlab.com
resources
:
-
gitlabs
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
apps.gitlab.com
resources
:
-
gitlabs/status
verbs
:
-
get
-
patch
-
update
-
apiGroups
:
-
apps.gitlab.com
resources
:
-
glbackups
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
apps.gitlab.com
resources
:
-
glbackups/status
verbs
:
-
get
-
patch
-
update
-
apiGroups
:
-
apps.gitlab.com
resources
:
-
runners
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
apps.gitlab.com
resources
:
-
runners/status
verbs
:
-
get
-
patch
-
update
-
apiGroups
:
-
autoscaling
resources
:
-
horizontalpodautoscalers
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
batch
resources
:
-
jobs
verbs
:
-
create
-
delete
-
get
-
list
-
patch
-
update
-
watch
-
apiGroups
:
-
"
"
resources
:
-
configmaps
verbs
:
-
create
-
delete
-
get
-
list