Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0c6ea40

Browse files
committed
Update add-kubernetes-cluster.md
1 parent897a673 commit0c6ea40

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

‎_docs/deploy-to-kubernetes/add-kubernetes-cluster.md‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,9 @@ echo $(kubectl get secret -n kube-system -o go-template='{{index .data "token" }
353353

354354
####The proper/secure way for Kubernetes Cluster 1.24+
355355

356-
For production environments you should create a service account and/or role for Codefresh access.
357-
The minimum permissions Codefresh needs to work with the cluster are the following:
356+
For production environments, create a service account and/or role for Codefresh access.
357+
358+
Codefresh needs these minimum permissions to work with the cluster:
358359

359360
`codefresh-role.yml`
360361
{% highlight yaml %}
@@ -370,7 +371,7 @@ rules:
370371
{% endraw %}
371372
{% endhighlight %}
372373

373-
Note that these permissions will only allow Codefresh to read the cluster resources and populate the respective dashboards. You need to give more privileges for actual deployments. For more information see the[Kubernetes RBAC documentation page](https://kubernetes.io/docs/reference/access-authn-authz/rbac/).
374+
Note that these permissions will only allow Codefresh to read the cluster resources and populate the respective dashboards. You need to give more privileges for actual deployments. For more information see the[Kubernetes RBAC documentation page](https://kubernetes.io/docs/reference/access-authn-authz/rbac/){:target="\_blank"}.
374375

375376
Here is an example with role + service account + binding.
376377

@@ -417,16 +418,17 @@ metadata:
417418
{% endraw %}
418419
{% endhighlight %}
419420

420-
Select the appropriate cluster if you have more than one:
421+
<br />
421422

423+
1. Select the appropriate cluster if you have more than one:
422424
`Choose cluster`
423425
{% highlight shell %}
424426
{% raw %}
425427
kubectl config use-context <my-cluster-name>
426428
{% endraw %}
427429
{% endhighlight %}
428430

429-
Create the Codefresh user/role:
431+
1.Create the Codefresh user/role:
430432

431433
`Apply Codefresh access rules`
432434
{% highlight shell %}
@@ -435,7 +437,7 @@ kubectl apply -f codefresh-role-sa-bind.yml
435437
{% endraw %}
436438
{% endhighlight %}
437439

438-
Finally run the following commands and copy-paste theresult toeach Codefresh field in the UI:
440+
1.Finally run the following commands, and copy-paste theresults tothe respective Codefresh field in the UI:
439441

440442
`Host IP`
441443
{% highlight shell %}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp