Skip to content

Commit 3a91751

Browse files
committed
add own helm template for excalidraw
1 parent 4f5dfae commit 3a91751

File tree

4 files changed

+19
-17
lines changed

4 files changed

+19
-17
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ Helm's [documentation](https://helm.sh/docs) to get started.
77

88
Once Helm has been set up correctly, add the repo as follows:
99

10-
helm repo add fsops http://fullstack-devops.github.io/helm-charts/
10+
helm repo add fs-devops http://fullstack-devops.github.io/helm-charts/
1111

1212
If you had already added this repo earlier, run `helm repo update` to retrieve
1313
the latest versions of the packages. You can then run `helm search repo
14-
fsops` to see the charts.
14+
fs-devops` to see the charts.
1515

1616
To install the <chart-name> chart:
1717

18-
helm install my-<chart-name> fsops/<chart-name>
18+
helm install my-<chart-name> fs-devops/<chart-name>
1919

2020
To uninstall the chart:
2121

charts/excalidraw/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.0.3
18+
version: 0.1.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: sha-4bfc5bb
24+
appVersion: "0.0.1"

charts/excalidraw/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
imagePullPolicy: {{ .Values.image.pullPolicy }}
3636
ports:
3737
- name: http
38-
containerPort: 80
38+
containerPort: 8080
3939
protocol: TCP
4040
livenessProbe:
4141
httpGet:

charts/excalidraw/values.yaml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
replicaCount: 1
66

77
image:
8-
repository: "excalidraw/excalidraw"
8+
repository: "quay.io/fullstack-devops/excalidraw"
99
pullPolicy: IfNotPresent
1010
# Overrides the image tag whose default is the chart appVersion.
11-
tag: "sha-4bfc5bb"
11+
tag: ""
1212

1313
imagePullSecrets: []
1414
nameOverride: ""
@@ -25,16 +25,17 @@ serviceAccount:
2525

2626
podAnnotations: {}
2727

28-
podSecurityContext: {}
28+
podSecurityContext:
29+
{}
2930
# fsGroup: 2000
3031

31-
securityContext: {}
32+
securityContext:
33+
readOnlyRootFilesystem: false
34+
runAsNonRoot: true
35+
runAsUser: 101
3236
# capabilities:
3337
# drop:
3438
# - ALL
35-
# readOnlyRootFilesystem: true
36-
# runAsNonRoot: true
37-
# runAsUser: 1000
3839

3940
service:
4041
type: ClusterIP
@@ -43,7 +44,8 @@ service:
4344
ingress:
4445
enabled: false
4546
className: ""
46-
annotations: {}
47+
annotations:
48+
{}
4749
# kubernetes.io/ingress.class: nginx
4850
# kubernetes.io/tls-acme: "true"
4951
hosts:
@@ -62,11 +64,11 @@ resources:
6264
# resources, such as Minikube. If you do want to specify resources, uncomment the following
6365
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
6466
limits:
65-
cpu: 2
67+
cpu: 1
6668
memory: 512Mi
6769
requests:
68-
cpu: 100m
69-
memory: 128Mi
70+
cpu: 400m
71+
memory: 256Mi
7072

7173
autoscaling:
7274
enabled: false

0 commit comments

Comments
 (0)