Skip to content

Commit

Permalink
Merge pull request #18 from baoduy/dev
Browse files Browse the repository at this point in the history
fix mapping name issues
  • Loading branch information
baoduy authored Jul 23, 2024
2 parents 69927b9 + 91f0ff6 commit 282cb61
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 12 deletions.
2 changes: 1 addition & 1 deletion drunk-app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ icon: https://github.com/baoduy/Images/raw/a0b73e4fcb03128ac7ece2a71ee2b40a9c331
description: The drunkcoding template to deploy an application to Kubernetes
# A chart can be either an 'application' or a 'library' chart.
type: application
version: 1.0.5
version: 1.0.6
appVersion: 'latest'
Binary file added drunk-app/drunk-app-1.0.6.tgz
Binary file not shown.
25 changes: 18 additions & 7 deletions drunk-app/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,18 @@ entries:
drunk-app:
- apiVersion: v2
appVersion: latest
created: "2024-07-19T11:26:50.142918+08:00"
created: "2024-07-23T14:07:28.937949+08:00"
description: The drunkcoding template to deploy an application to Kubernetes
digest: 6ba6eee38f4380307bdfb104b5f0bdb9400658cab3453196c7b69ce92869d10c
icon: https://github.com/baoduy/Images/raw/a0b73e4fcb03128ac7ece2a71ee2b40a9c33104d/NugetLogo.PNG
name: drunk-app
type: application
urls:
- drunk-app-1.0.6.tgz
version: 1.0.6
- apiVersion: v2
appVersion: latest
created: "2024-07-23T14:07:28.937637+08:00"
description: The drunkcoding template to deploy an application to Kubernetes
digest: 3f17d8e5b5d610612837caeacc3e2dfe13ae3641401bd49cc349894f99143999
icon: https://github.com/baoduy/Images/raw/a0b73e4fcb03128ac7ece2a71ee2b40a9c33104d/NugetLogo.PNG
Expand All @@ -14,7 +25,7 @@ entries:
version: 1.0.5
- apiVersion: v2
appVersion: latest
created: "2024-07-19T11:26:50.142569+08:00"
created: "2024-07-23T14:07:28.937298+08:00"
description: The drunkcoding template to deploy an application to Kubernetes
digest: 6bcb63d4ee2a805d024d9e68637729abcfac2a0ad9557b20455e482c573181ba
icon: https://github.com/baoduy/Images/raw/a0b73e4fcb03128ac7ece2a71ee2b40a9c33104d/NugetLogo.PNG
Expand All @@ -25,7 +36,7 @@ entries:
version: 1.0.4
- apiVersion: v2
appVersion: latest
created: "2024-07-19T11:26:50.142252+08:00"
created: "2024-07-23T14:07:28.936971+08:00"
description: The drunkcoding template to deploy an application to Kubernetes
digest: 13947bcdee0b6665dcc3e9f44e0e38789caa96c1111d14236a7b0a8e01312f9d
icon: https://github.com/baoduy/Images/raw/a0b73e4fcb03128ac7ece2a71ee2b40a9c33104d/NugetLogo.PNG
Expand All @@ -36,7 +47,7 @@ entries:
version: 1.0.3
- apiVersion: v2
appVersion: latest
created: "2024-07-19T11:26:50.141946+08:00"
created: "2024-07-23T14:07:28.936637+08:00"
description: The drunkcoding template to deploy an application to Kubernetes
digest: e7721411d9b56a14f5f75d5b8115139d76a82a0aae94b43c7ada62b5d35b5a46
name: drunk-app
Expand All @@ -46,7 +57,7 @@ entries:
version: 1.0.2
- apiVersion: v2
appVersion: latest
created: "2024-07-19T11:26:50.141558+08:00"
created: "2024-07-23T14:07:28.936239+08:00"
description: The drunkcoding template to deploy an application to Kubernetes
digest: 9cd7afa72cc1b584f29f39aa3547be007adfa927be9ccc3ee36bcb38501bbbad
name: drunk-app
Expand All @@ -56,12 +67,12 @@ entries:
version: 1.0.1
- apiVersion: v2
appVersion: latest
created: "2024-07-19T11:26:50.141149+08:00"
created: "2024-07-23T14:07:28.935815+08:00"
description: The drunkcoding template to deploy an application to Kubernetes
digest: 7061ae0d7dfbbfdf79211670cd191a5ea678ce1f05ba2a6b4bd09d577bba2dc5
name: drunk-app
type: application
urls:
- drunk-app-1.0.0.tgz
version: 1.0.0
generated: "2024-07-19T11:26:50.140615+08:00"
generated: "2024-07-23T14:07:28.934966+08:00"
4 changes: 2 additions & 2 deletions drunk-app/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ spec:
envFrom:
{{- if $.Values.configMap }}
- configMapRef:
name: {{ include "app.fullname" $root }}-config
name: {{ include "app.name" $root }}-config
{{- end }}
{{- if $.Values.secrets }}
- secretRef:
name: {{ include "app.fullname" $root }}-secret
name: {{ include "app.name" $root }}-secret
{{- end }}
resources:
{{- toYaml $.Values.resources | nindent 14 }}
Expand Down
4 changes: 2 additions & 2 deletions drunk-app/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ spec:
envFrom:
{{- if $.Values.configMap }}
- configMapRef:
name: {{ include "app.fullname" $root }}-config
name: {{ include "app.name" $root }}-config
{{- end }}
{{- if $.Values.secrets }}
- secretRef:
name: {{ include "app.fullname" $root }}-secret
name: {{ include "app.name" $root }}-secret
{{- end }}
resources:
{{- toYaml $.Values.resources | nindent 14 }}
Expand Down

0 comments on commit 282cb61

Please sign in to comment.