Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
65913e6c
Commit
65913e6c
authored
Apr 01, 2022
by
Viktor Nagy (GitLab)
Committed by
Phil Hughes
Apr 01, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify what a default configuration means
parent
d8490ec6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
3 deletions
+5
-3
app/assets/javascripts/clusters_list/components/agent_table.vue
...sets/javascripts/clusters_list/components/agent_table.vue
+1
-1
app/assets/javascripts/clusters_list/components/install_agent_modal.vue
...ascripts/clusters_list/components/install_agent_modal.vue
+1
-1
doc/user/clusters/agent/install/index.md
doc/user/clusters/agent/install/index.md
+2
-0
spec/frontend/clusters_list/components/agent_table_spec.js
spec/frontend/clusters_list/components/agent_table_spec.js
+1
-1
No files found.
app/assets/javascripts/clusters_list/components/agent_table.vue
View file @
65913e6c
...
...
@@ -37,7 +37,7 @@ export default {
anchor
:
'
update-the-agent-version
'
,
}),
configHelpLink
:
helpPagePath
(
'
user/clusters/agent/install/index
'
,
{
anchor
:
'
create-an-agent-
without-
configuration-file
'
,
anchor
:
'
create-an-agent-configuration-file
'
,
}),
inject
:
[
'
gitlabVersion
'
],
props
:
{
...
...
app/assets/javascripts/clusters_list/components/install_agent_modal.vue
View file @
65913e6c
...
...
@@ -31,7 +31,7 @@ export default {
EVENT_LABEL_MODAL
,
enableKasPath
:
helpPagePath
(
'
administration/clusters/kas
'
),
registerAgentPath
:
helpPagePath
(
'
user/clusters/agent/install/index
'
,
{
anchor
:
'
register-
an
-agent-with-gitlab
'
,
anchor
:
'
register-
the
-agent-with-gitlab
'
,
}),
components
:
{
AvailableAgentsDropdown
,
...
...
doc/user/clusters/agent/install/index.md
View file @
65913e6c
...
...
@@ -69,6 +69,8 @@ Creating a file is optional but is needed if:
-
You use
[
a GitOps workflow
](
../gitops.md#gitops-configuration-reference
)
and you want a more advanced configuration.
-
You use a GitLab CI/CD workflow. In that workflow, you must
[
authorize the agent
](
../ci_cd_tunnel.md#authorize-the-agent
)
.
If you do not create an agent configuration file, you can use the CI/CD workflow in the project where the agent is registered only.
To create an agent configuration file, go to the GitLab project. In the repository, create a file called
`config.yaml`
at this path:
```
plaintext
...
...
spec/frontend/clusters_list/components/agent_table_spec.js
View file @
65913e6c
...
...
@@ -9,7 +9,7 @@ import timeagoMixin from '~/vue_shared/mixins/timeago';
import
{
clusterAgents
,
connectedTimeNow
,
connectedTimeInactive
}
from
'
./mock_data
'
;
const
defaultConfigHelpUrl
=
'
/help/user/clusters/agent/install/index#create-an-agent-
without-
configuration-file
'
;
'
/help/user/clusters/agent/install/index#create-an-agent-configuration-file
'
;
const
provideData
=
{
gitlabVersion
:
'
14.8
'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment