ソースを参照

Clean udp service

Waqar Ahmed 4 年 前
コミット
883fb239bd
2 ファイル変更0 行追加71 行削除
  1. 0 30
      test/plex/2.1.0/templates/service-udp.yaml
  2. 0 41
      test/plex/2.1.0/values.yaml

+ 0 - 30
test/plex/2.1.0/templates/service-udp.yaml

@@ -4,38 +4,8 @@ metadata:
   name: {{ include "plex.fullname" . }}-udp
   labels:
     {{- include "plex.labels" . | nindent 4 }}
-{{- if .Values.serviceUDP.labels }}
-{{ toYaml .Values.serviceUDP.labels | indent 4 }}
-{{- end }}
-{{- with .Values.serviceUDP.annotations }}
-  annotations:
-{{ toYaml . | indent 4 }}
-{{- end }}
 spec:
-{{- if (or (eq .Values.serviceUDP.type "ClusterIP") (empty .Values.serviceUDP.type)) }}
   type: ClusterIP
-  {{- if .Values.serviceUDP.clusterIP }}
-  clusterIP: {{ .Values.serviceUDP.clusterIP }}
-  {{end}}
-{{- else if eq .Values.serviceUDP.type "LoadBalancer" }}
-  type: {{ .Values.serviceUDP.type }}
-  {{- if .Values.serviceUDP.loadBalancerIP }}
-  loadBalancerIP: {{ .Values.serviceUDP.loadBalancerIP }}
-  {{- end }}
-  {{- if .Values.serviceUDP.loadBalancerSourceRanges }}
-  loadBalancerSourceRanges:
-{{ toYaml .Values.serviceUDP.loadBalancerSourceRanges | indent 4 }}
-  {{- end -}}
-{{- else }}
-  type: {{ .Values.serviceUDP.type }}
-{{- end }}
-{{- if .Values.serviceUDP.externalIPs }}
-  externalIPs:
-{{ toYaml .Values.serviceUDP.externalIPs | indent 4 }}
-{{- end }}
-  {{- if .Values.serviceUDP.externalTrafficPolicy }}
-  externalTrafficPolicy: {{ .Values.serviceUDP.externalTrafficPolicy }}
-  {{- end }}
   ports:
     - name: plex-dlna-udp
       port: 1900

+ 0 - 41
test/plex/2.1.0/values.yaml

@@ -52,52 +52,11 @@ timezone: "UTC"
 # upgrade strategy type (e.g. Recreate or RollingUpdate)
 strategyType: Recreate
 
-imagePullSecrets: []
 nameOverride: ""
 fullnameOverride: ""
 
-podSecurityContext: {}
-  # fsGroup: 2000
-
-securityContext: {}
-  # capabilities:
-  #   drop:
-  #   - ALL
-  # readOnlyRootFilesystem: true
-  # runAsNonRoot: true
-  # runAsUser: 1000
-
 serviceTCP:
-  type: NodePort
   port: 32400
-  ## Specify the nodePort value for the LoadBalancer and NodePort service types.
-  ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
-  ##
-  # nodePort:
-  ## Provide any additional annotations which may be required. This can be used to
-  ## set the LoadBalancer service type to internal only.
-  ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
-  ##
-  annotations: {}
-  # metallb.universe.tf/allow-shared-ip: plex-svc
-  labels: {}
-
-serviceUDP:
-  type: ClusterIP
-  ## Provide any additional annotations which may be required. This can be used to
-  ## set the LoadBalancer service type to internal only.
-  ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
-  ##
-  annotations: {}
-  # metallb.universe.tf/allow-shared-ip: plex-svc
-  labels: {}
-  ## Use loadBalancerIP to request a specific static IP,
-  ## otherwise leave blank
-  ##
-  loadBalancerIP:
-  # loadBalancerSourceRanges: []
-  ## Set the externalTrafficPolicy in the Service to either Cluster or Local
-  # externalTrafficPolicy: Cluster
 
 plexPreferences:
   # Enable init script that will read all environment variables starting with PLEX_PREFERENCE_