Skip to content

Commit

Permalink
Use name instead of fullname
Browse files Browse the repository at this point in the history
  • Loading branch information
ileixe committed Apr 10, 2023
1 parent c6123bb commit a84e1ae
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ entries:
kea-dhcp:
- apiVersion: v2
appVersion: 1.16.0
created: "2023-04-10T21:23:46.379233326+09:00"
created: "2023-04-10T22:00:20.334039867+09:00"
dependencies:
- name: postgresql
repository: '@stable'
Expand All @@ -18,9 +18,9 @@ entries:
pypi-server:
- apiVersion: v2
appVersion: 1.4.2
created: "2023-04-10T21:23:46.379671472+09:00"
created: "2023-04-10T22:00:20.33451512+09:00"
description: A high availablility, persistent, auto-scaling pypi-server application.
digest: f07037f2da75a27878182ec6deb946c9a8a1dace5fc30052df345cd530693174
digest: 3e8069abfa419d48a8c7b3d9ce802825b4d9cd84d5b88acffad5c0c686d7ec26
home: https://github.com/cgsimmons/charts/tree/master/pypi-server
icon: https://cgsimmons.github.io/charts/icons/pypi-server.svg
keywords:
Expand All @@ -37,4 +37,4 @@ entries:
urls:
- pypi-server-0.2.0.tgz
version: 0.2.0
generated: "2023-04-10T21:23:46.375678701+09:00"
generated: "2023-04-10T22:00:20.330175804+09:00"
Binary file modified pypi-server-0.2.0.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion pypi-server/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "pypiServer.fullname" . -}}
{{- $fullName := include "pypiServer.name" . -}}
{{- $svcPort := .Values.service.port -}}
{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1beta1
Expand Down
2 changes: 1 addition & 1 deletion pypi-server/templates/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ include "pypiServer.fullname" . }}
name: {{ include "pypiServer.name" . }}
labels:
{{- include "pypiServer.labels" . | nindent 4 }}
spec:
Expand Down
2 changes: 1 addition & 1 deletion pypi-server/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ stringData:
{{ $key }}:{{ $value }}
{{- end }}
metadata:
name: {{ include "pypiServer.fullname" . }}
name: {{ include "pypiServer.name" . }}
labels:
{{- include "pypiServer.labels" . | nindent 4 }}
{{- end -}}
Expand Down
2 changes: 1 addition & 1 deletion pypi-server/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "pypiServer.fullname" . }}
name: {{ include "pypiServer.name" . }}
labels:
{{- include "pypiServer.labels" . | nindent 4 }}
spec:
Expand Down
8 changes: 4 additions & 4 deletions pypi-server/templates/statefulset.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: {{ include "pypiServer.fullname" . }}
name: {{ include "pypiServer.name" . }}
labels:
{{- include "pypiServer.labels" . | nindent 4 }}
spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.pod.replicas }}
{{- end }}
serviceName: {{ include "pypiServer.fullname" . }}
serviceName: {{ include "pypiServer.name" . }}
selector:
matchLabels:
{{- include "pypiServer.selectorLabels" . | nindent 6 }}
Expand Down Expand Up @@ -82,11 +82,11 @@ spec:
items:
- key: {{ .Values.auth.secretKey }}
path: passwords
secretName: {{ .Values.auth.secretName | default (include "pypiServer.fullname" .) }}
secretName: {{ .Values.auth.secretName | default (include "pypiServer.name" .) }}
{{- end }}
- name: packages
persistentVolumeClaim:
claimName: {{ .Values.persistence.existingClaim | default (include "pypiServer.fullname" .) }}
claimName: {{ .Values.persistence.existingClaim | default (include "pypiServer.name" .) }}
nodeSelector:
{{- toYaml .Values.pod.nodeSelector | nindent 8 }}
{{- with .Values.pod.affinity }}
Expand Down

0 comments on commit a84e1ae

Please sign in to comment.