Skip to content

Commit

Permalink
fixed with container name
Browse files Browse the repository at this point in the history
  • Loading branch information
joy2fun committed Mar 26, 2024
1 parent ec5c41d commit 89a300b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 163 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.vscode/
tmp.*
tmp.*
tmp-values.*
4 changes: 2 additions & 2 deletions app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.0
version: 0.2.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.2.0"
appVersion: "0.2.1"
7 changes: 4 additions & 3 deletions app/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,17 @@ metadata:
spec:
selector:
matchLabels:
{{- include "app.selectorLabels" . | nindent 6 }}
jobs: {{ include "app.fullname" . }}
serviceName: {{ include "app.fullname" . }}
template:
metadata:
labels:
{{- include "app.selectorLabels" . | nindent 8 }}
jobs: {{ include "app.fullname" . }}
spec:
containers:
{{- range $index, $command := .Values.jobs.commands }}
- image: bitnami/kubectl:latest
- name: job-{{ $index }}
image: bitnami/kubectl:latest
imagePullPolicy: IfNotPresent
env:
- name: KUBERNETES_SERVICE_HOST
Expand Down
157 changes: 0 additions & 157 deletions test.yaml

This file was deleted.

0 comments on commit 89a300b

Please sign in to comment.