Skip to content

Commit

Permalink
added new nginx version
Browse files Browse the repository at this point in the history
  • Loading branch information
Rein-Vanbelleghem committed Apr 26, 2024
1 parent d540938 commit fb5b33b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/nginx/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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.3.0

# 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
Expand Down
13 changes: 6 additions & 7 deletions charts/nginx/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "nginx.fullname" . }}
labels:
{{- include "nginx.labels" . | nindent 4 }}
name: { { include "nginx.fullname" . } }
labels: { { - include "nginx.labels" . | nindent 4 } }
spec:
type: {{ .Values.service.type }}
type: { { .Values.service.type } }
ports:
- port: {{ .Values.service.port }}
- port: { { .Values.service.port } }
targetPort: http
nodePort: { { .Values.service.nodePort } }
protocol: TCP
name: http
selector:
{{- include "nginx.selectorLabels" . | nindent 4 }}
selector: { { - include "nginx.selectorLabels" . | nindent 4 } }
3 changes: 2 additions & 1 deletion charts/nginx/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ securityContext:
# runAsUser: 1000

service:
type: ClusterIP
type: NodePort
port: 80
nodePort: 30080

ingress:
enabled: false
Expand Down

0 comments on commit fb5b33b

Please sign in to comment.