
* docs(github): comment out notational pieces of PR template (#1969)
github: comment out notational pieces of PR template
- the DCO and publishing sentences are not filled out during PRs
and are purely notational
- comment them out with HTML comments, as is common practice
- example from a repo I maintain: f6db59613a/.github/issue_template.md (L2)
- I copied that from other repos too
- these comments are still visible to the PR author, just not visible
when rendered, keeping the PR more concise
Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
Signed-off-by: Tal Yitzhak <talyi@jfrog.com>
* Added missing permissions for argo rollouts dashboard cluster role - for config map, should be able to get
Signed-off-by: Tal Yitzhak <talyi@jfrog.com>
* Added missing permissions for argo rollouts dashboard cluster role - for config map, should be able to get
Signed-off-by: Tal Yitzhak <talyi@jfrog.com>
---------
Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
Signed-off-by: Tal Yitzhak <talyi@jfrog.com>
Signed-off-by: Tal Yitzhak <yitzhtal@gmail.com>
Co-authored-by: Anton Gilgur <4970083+agilgur5@users.noreply.github.com>
Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
Co-authored-by: Tal Yitzhak <talyi@jfrog.com>
88 lines
1.7 KiB
YAML
88 lines
1.7 KiB
YAML
{{- if and .Values.dashboard.enabled .Values.clusterInstall .Values.dashboard.createClusterRole }}
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: {{ include "argo-rollouts.fullname" . }}-dashboard
|
|
labels:
|
|
app.kubernetes.io/component: {{ .Values.dashboard.component }}
|
|
{{- include "argo-rollouts.labels" . | nindent 4 }}
|
|
rules:
|
|
- apiGroups:
|
|
- argoproj.io
|
|
resources:
|
|
- rollouts
|
|
- rollouts/status
|
|
- rollouts/finalizers
|
|
verbs:
|
|
- get
|
|
- list
|
|
- watch
|
|
{{- if not .Values.dashboard.readonly }}
|
|
- update
|
|
- patch
|
|
{{- end }}
|
|
- apiGroups:
|
|
- argoproj.io
|
|
resources:
|
|
- analysisruns
|
|
- analysisruns/finalizers
|
|
- experiments
|
|
- experiments/finalizers
|
|
verbs:
|
|
{{- if not .Values.dashboard.readonly }}
|
|
- create
|
|
{{- end }}
|
|
- get
|
|
- list
|
|
- watch
|
|
- apiGroups:
|
|
- argoproj.io
|
|
resources:
|
|
- analysistemplates
|
|
- clusteranalysistemplates
|
|
verbs:
|
|
- get
|
|
- list
|
|
- watch
|
|
- apiGroups:
|
|
- apps
|
|
resources:
|
|
- deployments
|
|
verbs:
|
|
- get
|
|
- list
|
|
- watch
|
|
{{- if not .Values.dashboard.readonly }}
|
|
- update
|
|
- patch
|
|
{{- end }}
|
|
- apiGroups:
|
|
- apps
|
|
resources:
|
|
- replicasets
|
|
verbs:
|
|
- get
|
|
- list
|
|
- watch
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- pods
|
|
verbs:
|
|
- list
|
|
- watch
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- configmaps
|
|
verbs:
|
|
- get
|
|
- apiGroups:
|
|
- coordination.k8s.io
|
|
resources:
|
|
- leases
|
|
verbs:
|
|
- create
|
|
- get
|
|
- update
|
|
{{- end }}
|