forked from devtron-labs/charts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
releasing devtron-logs-dump helm chart staging version 0.1.0
- Loading branch information
Rishabh Tayal
authored and
Rishabh Tayal
committed
May 25, 2023
1 parent
7e3a59a
commit 28bee9d
Showing
4 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
name: devtron-logs-dump | ||
appVersion: 0.1.0 | ||
description: Chart to extract devtron stack logs | ||
version: 0.1.0 | ||
apiVersion: v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: batch/v1 | ||
kind: Job | ||
metadata: | ||
name: {{ .Values.job.name }} | ||
namespace: devtroncd | ||
spec: | ||
template: | ||
spec: | ||
containers: | ||
- name: {{ .Values.job.name }} | ||
image: {{ .Values.job.image }} | ||
imagePullPolicy: {{ .Values.job.imagePullPolicy }} | ||
restartPolicy: Never | ||
serviceAccountName: {{ .Values.serviceAccount.name }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: {{ .Values.serviceAccount.name }} | ||
name: {{ .Values.serviceAccount.name }} | ||
namespace: devtroncd | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: {{ .Values.serviceAccount.name }} | ||
name: {{ .Values.serviceAccount.name }} | ||
namespace: devtroncd | ||
rules: | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- pods | ||
- pods/log | ||
verbs: | ||
- get | ||
- list | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: {{ .Values.serviceAccount.name }} | ||
name: {{ .Values.serviceAccount.name }} | ||
namespace: devtroncd | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: Role | ||
name: {{ .Values.serviceAccount.name }} | ||
subjects: | ||
- kind: ServiceAccount | ||
name: {{ .Values.serviceAccount.name }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
serviceAccount: | ||
name: "devtron-logs-dump" | ||
job: | ||
name: "devtron-logs-dump" | ||
image: docker.io/rupinsolanki07/test:logs-dump4 | ||
imagePullPolicy: IfNotPresent |