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

Commitacd13e5

Browse files
committed
Update add-kubernetes-cluster.md
1 parent72eee8b commitacd13e5

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,8 @@ apiVersion: rbac.authorization.k8s.io/v1
365365
metadata:
366366
name: codefresh-role
367367
rules:
368-
- apiGroups:[“”]
369-
resources:[*]
368+
- apiGroups:[""]
369+
resources:["*"]
370370
verbs:[“list”, “watch”, “get”]
371371
{% endraw %}
372372
{% endhighlight %}
@@ -383,8 +383,8 @@ apiVersion: rbac.authorization.k8s.io/v1
383383
metadata:
384384
name: codefresh-role
385385
rules:
386-
- apiGroups:["*"]
387-
resources:[*]
386+
- apiGroups:["*"]
387+
resources:["*"]
388388
verbs:["get", "list", "watch", "create", "update", "patch", "delete"]
389389
—--
390390
apiVersion: v1
@@ -428,8 +428,8 @@ kubectl config use-context <my-cluster-name>
428428
{% endraw %}
429429
{% endhighlight %}
430430

431+
{:start="2"}
431432
1. Create the Codefresh user/role:
432-
433433
`Apply Codefresh access rules`
434434
{% highlight shell %}
435435
{% raw %}
@@ -438,7 +438,6 @@ kubectl apply -f codefresh-role-sa-bind.yml
438438
{% endhighlight %}
439439

440440
1. Finally run the following commands, and copy-paste the results to the respective Codefresh field in the UI:
441-
442441
`Host IP`
443442
{% highlight shell %}
444443
{% raw %}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp