Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
Charts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
魏国强
Charts
Commits
883fb239
Commit
883fb239
authored
Dec 07, 2020
by
Waqar Ahmed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean udp service
parent
0cf46c64
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
71 deletions
+0
-71
test/plex/2.1.0/templates/service-udp.yaml
test/plex/2.1.0/templates/service-udp.yaml
+0
-30
test/plex/2.1.0/values.yaml
test/plex/2.1.0/values.yaml
+0
-41
No files found.
test/plex/2.1.0/templates/service-udp.yaml
View file @
883fb239
...
@@ -4,38 +4,8 @@ metadata:
...
@@ -4,38 +4,8 @@ metadata:
name
:
{{
include "plex.fullname" .
}}
-udp
name
:
{{
include "plex.fullname" .
}}
-udp
labels
:
labels
:
{{
- include "plex.labels" . | nindent 4
}}
{{
- 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
:
spec
:
{{
- if (or (eq .Values.serviceUDP.type "ClusterIP") (empty .Values.serviceUDP.type))
}}
type
:
ClusterIP
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
:
ports
:
-
name
:
plex-dlna-udp
-
name
:
plex-dlna-udp
port
:
1900
port
:
1900
...
...
test/plex/2.1.0/values.yaml
View file @
883fb239
...
@@ -52,52 +52,11 @@ timezone: "UTC"
...
@@ -52,52 +52,11 @@ timezone: "UTC"
# upgrade strategy type (e.g. Recreate or RollingUpdate)
# upgrade strategy type (e.g. Recreate or RollingUpdate)
strategyType
:
Recreate
strategyType
:
Recreate
imagePullSecrets
:
[]
nameOverride
:
"
"
nameOverride
:
"
"
fullnameOverride
:
"
"
fullnameOverride
:
"
"
podSecurityContext
:
{}
# fsGroup: 2000
securityContext
:
{}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
serviceTCP
:
serviceTCP
:
type
:
NodePort
port
:
32400
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
:
plexPreferences
:
# Enable init script that will read all environment variables starting with PLEX_PREFERENCE_
# Enable init script that will read all environment variables starting with PLEX_PREFERENCE_
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment