@@ -383,16 +383,16 @@ apiVersion: rbac.authorization.k8s.io/v1
383383metadata:
384384 name: codefresh-role
385385rules:
386- - apiGroups:[ “ * ” ]
386+ - apiGroups:[ " * " ]
387387 resources:[ “* ”]
388- verbs:[ “ get”, “ list”, “ watch”, “ create”, “ update”, “ patch”, “ delete” ]
389- —
388+ verbs:[ " get", " list", " watch", " create", " update", " patch", " delete" ]
389+ —--
390390apiVersion: v1
391391kind: ServiceAccount
392392metadata:
393393 name: codefresh-user
394394 namespace: kube-system
395- —
395+ —--
396396apiVersion: rbac.authorization.k8s.io/v1
397397kind: ClusterRoleBinding
398398metadata:
@@ -413,7 +413,7 @@ metadata:
413413 name: codefresh-user-token
414414 namespace: kube-system
415415 annotations:
416- kubernetes.io/service-account.name:“ codefresh-user”
416+ kubernetes.io/service-account.name:" codefresh-user"
417417
418418{% endraw %}
419419{% endhighlight %}
@@ -442,21 +442,21 @@ kubectl apply -f codefresh-role-sa-bind.yml
442442` Host IP `
443443{% highlight shell %}
444444{% raw %}
445- export CURRENT_CONTEXT=$(kubectl config current-context) && export CURRENT_CLUSTER=$(kubectl config view -o go-template=“ {{\$ curr_context := \” $CURRENT_CONTEXT\” }}{{range .contexts}}{{if eq .name\$ curr_context}}{{.context.cluster}}{{end}}{{end}}” ) && echo $(kubectl config view -o go-template=“ {{\$ cluster_context := \” $CURRENT_CLUSTER\” }}{{range .clusters}}{{if eq .name\$ cluster_context}}{{.cluster.server}}{{end}}{{end}}” )
445+ export CURRENT_CONTEXT=$(kubectl config current-context) && export CURRENT_CLUSTER=$(kubectl config view -o go-template=" {{\$ curr_context :=\" $CURRENT_CONTEXT\" }}{{range .contexts}}{{if eq .name\$ curr_context}}{{.context.cluster}}{{end}}{{end}}" ) && echo $(kubectl config view -o go-template=" {{\$ cluster_context :=\" $CURRENT_CLUSTER\" }}{{range .clusters}}{{if eq .name\$ cluster_context}}{{.cluster.server}}{{end}}{{end}}" )
446446{% endraw %}
447447{% endhighlight %}
448448
449449` Certificate `
450450{% highlight shell %}
451451{% raw %}
452- echo $(kubectl get secret -n kube-system -o go-template=‘ {{index .data“ ca.crt” }}’ codefresh-user-token)
452+ echo $(kubectl get secret -n kube-system -o go-template=' {{index .data" ca.crt" }}' codefresh-user-token)
453453{% endraw %}
454454{% endhighlight %}
455455
456456` Token `
457457{% highlight shell %}
458458{% raw %}
459- echo $(kubectl get secret -n kube-system -o go-template=‘ {{index .data“ token” }}’ codefresh-user-token)
459+ echo $(kubectl get secret -n kube-system -o go-template=' {{index .data" token" }}' codefresh-user-token)
460460{% endraw %}
461461{% endhighlight %}
462462