Skip to content

Commit

Permalink
Rollout chart added
Browse files Browse the repository at this point in the history
  • Loading branch information
prakarsh-dt committed Feb 18, 2021
1 parent 204da65 commit 419fe6b
Show file tree
Hide file tree
Showing 5 changed files with 11,050 additions and 0 deletions.
8 changes: 8 additions & 0 deletions charts/rollout/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: rollout
appVersion: 0.1.0
description: Chart to deploy Rollout
engine: gotpl
version: 0.13.0
maintainers:
- email: [email protected]
name: Prakarsh
7 changes: 7 additions & 0 deletions charts/rollout/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Devtron Rollout is Devtron Cluster essential

> Helm chart to deploy Rollout
## Usage

**The intended use of this chart is to use deploy Rollout on devtron cluster.**
338 changes: 338 additions & 0 deletions charts/rollout/templates/generic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,338 @@
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
app.kubernetes.io/component: rollouts-controller
app.kubernetes.io/name: argo-rollouts
app.kubernetes.io/part-of: argo-rollouts
name: argo-rollouts
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
labels:
app.kubernetes.io/component: rollouts-controller
app.kubernetes.io/name: argo-rollouts-role
app.kubernetes.io/part-of: argo-rollouts
name: argo-rollouts-role
rules:
- apiGroups:
- apps
resources:
- replicasets
verbs:
- create
- get
- list
- watch
- update
- patch
- delete
- apiGroups:
- ""
resources:
- services
verbs:
- get
- list
- watch
- patch
- apiGroups:
- argoproj.io
resources:
- rollouts
verbs:
- get
- list
- watch
- update
- patch
- apiGroups:
- argoproj.io
resources:
- analysisruns
- experiments
verbs:
- create
- get
- list
- watch
- update
- patch
- delete
- apiGroups:
- argoproj.io
resources:
- analysistemplates
verbs:
- get
- list
- watch
- apiGroups:
- batch
resources:
- jobs
verbs:
- create
- get
- list
- watch
- update
- patch
- delete
- apiGroups:
- ""
resources:
- events
verbs:
- create
- update
- patch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/component: aggregate-cluster-role
app.kubernetes.io/name: argo-rollouts-aggregate-to-admin
app.kubernetes.io/part-of: argo-rollouts
rbac.authorization.k8s.io/aggregate-to-admin: "true"
name: argo-rollouts-aggregate-to-admin
rules:
- apiGroups:
- argoproj.io
resources:
- rollouts
- experiments
- analysistemplates
- analysisruns
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
- update
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/component: aggregate-cluster-role
app.kubernetes.io/name: argo-rollouts-aggregate-to-edit
app.kubernetes.io/part-of: argo-rollouts
rbac.authorization.k8s.io/aggregate-to-edit: "true"
name: argo-rollouts-aggregate-to-edit
rules:
- apiGroups:
- argoproj.io
resources:
- rollouts
- experiments
- analysistemplates
- analysisruns
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
- update
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/component: aggregate-cluster-role
app.kubernetes.io/name: argo-rollouts-aggregate-to-view
app.kubernetes.io/part-of: argo-rollouts
rbac.authorization.k8s.io/aggregate-to-view: "true"
name: argo-rollouts-aggregate-to-view
rules:
- apiGroups:
- argoproj.io
resources:
- rollouts
- experiments
- analysistemplates
- analysisruns
verbs:
- get
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/component: rollouts-controller
app.kubernetes.io/name: argo-rollouts-clusterrole
app.kubernetes.io/part-of: argo-rollouts
name: argo-rollouts-clusterrole
rules:
- apiGroups:
- apps
resources:
- replicasets
verbs:
- create
- get
- list
- watch
- update
- patch
- delete
- apiGroups:
- ""
resources:
- services
verbs:
- get
- list
- watch
- patch
- apiGroups:
- argoproj.io
resources:
- rollouts
verbs:
- get
- list
- watch
- update
- patch
- apiGroups:
- argoproj.io
resources:
- analysisruns
- experiments
verbs:
- create
- get
- list
- watch
- update
- patch
- delete
- apiGroups:
- argoproj.io
resources:
- analysistemplates
verbs:
- get
- list
- watch
- apiGroups:
- batch
resources:
- jobs
verbs:
- create
- get
- list
- watch
- update
- patch
- delete
- apiGroups:
- ""
resources:
- events
verbs:
- create
- update
- patch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
app.kubernetes.io/component: rollouts-controller
app.kubernetes.io/name: argo-rollouts-role-binding
app.kubernetes.io/part-of: argo-rollouts
name: argo-rollouts-role-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: argo-rollouts-role
subjects:
- kind: ServiceAccount
name: argo-rollouts
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
app.kubernetes.io/component: rollouts-controller
app.kubernetes.io/name: argo-rollouts-clusterrolebinding
app.kubernetes.io/part-of: argo-rollouts
name: argo-rollouts-clusterrolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: argo-rollouts-clusterrole
subjects:
- kind: ServiceAccount
name: argo-rollouts
namespace: {{ .Release.Namespace }}
---
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/component: server
app.kubernetes.io/name: argo-rollouts-metrics
app.kubernetes.io/part-of: argo-rollouts
name: argo-rollouts-metrics
spec:
ports:
- name: metrics
port: 8090
protocol: TCP
targetPort: 8090
selector:
app.kubernetes.io/name: argo-rollouts
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/component: rollouts-controller
app.kubernetes.io/name: argo-rollouts
app.kubernetes.io/part-of: argo-rollouts
name: argo-rollouts
spec:
selector:
matchLabels:
app.kubernetes.io/name: argo-rollouts
strategy:
type: Recreate
template:
metadata:
labels:
app.kubernetes.io/name: argo-rollouts
spec:
containers:
- command:
- /bin/rollouts-controller
image: {{ .Values.rollout.image }}
imagePullPolicy: Always
name: argo-rollouts
volumeMounts:
- mountPath: /tmp
name: tmp
resources:
requests:
memory: {{ .Values.rollout.resources.requests.memory }}
cpu: {{ .Values.rollout.resources.requests.cpu }}
limits:
memory: {{ .Values.rollout.resources.limits.memory }}
cpu: {{ .Values.rollout.resources.limits.cpu }}
serviceAccountName: argo-rollouts
volumes:
- emptyDir: {}
name: tmp
Loading

0 comments on commit 419fe6b

Please sign in to comment.