Skip to content

Commit

Permalink
Merge pull request #395 from kubesphere/sync/ks-core
Browse files Browse the repository at this point in the history
Update ks-core helm chart
  • Loading branch information
wansir authored Apr 12, 2024
2 parents df48e62 + a2bc3ea commit 00af510
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
15 changes: 7 additions & 8 deletions src/test/ks-core/templates/ks-console.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ spec:
- name: sys-cert
emptyDir: {}
{{- end }}
---

---
apiVersion: v1
kind: Service
metadata:
Expand All @@ -143,17 +143,16 @@ metadata:
spec:
ports:
- name: nginx
{{- if .Values.internalTLS }}
{{- if .Values.internalTLS }}
port: 443
{{- else }}
{{- else }}
port: 80
{{- end }}
{{- end }}
protocol: TCP
targetPort: 8000
{{- with .Values.console.nodePort }}
nodePort:
{{- toYaml . | nindent 6 }}
{{- end }}
{{- with .Values.console.nodePort }}
nodePort: {{ . }}
{{- end }}
selector:
app: ks-console
tier: frontend
Expand Down
3 changes: 1 addition & 2 deletions src/test/ks-core/templates/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ spec:
{{- end }}
targetPort: 9090
{{- with .Values.apiserver.nodePort }}
nodePort:
{{- toYaml . | nindent 8 }}
nodePort: {{ . }}
{{- end }}
selector:
{{- if eq (include "role" .) "host" }}
Expand Down

0 comments on commit 00af510

Please sign in to comment.