File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
kubernetes/samples/charts/apache-webtier Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 56
56
{{- if or (not (.Values.persistentVolumeClaimName)) (.Values.virtualHostName) }}
57
57
env :
58
58
{{- end }}
59
- {{- if ( .Values.useNonPriviledgedPorts ) and eq .Values.useNonPriviledgedPorts "true" }}
59
+ {{- if .Values.useNonPriviledgedPorts }}
60
60
- name : NonPriviledgedPorts
61
61
value : " true"
62
62
{{- end }}
82
82
{{- end }}
83
83
readinessProbe :
84
84
tcpSocket :
85
- {{- if ( .Values.useNonPriviledgedPorts ) and eq .Values.useNonPriviledgedPorts "true" }}
85
+ {{- if .Values.useNonPriviledgedPorts }}
86
86
port : 8080
87
87
{{- else }}
88
88
port : 80
94
94
timeoutSeconds : 2
95
95
livenessProbe :
96
96
tcpSocket :
97
- {{- if ( .Values.useNonPriviledgedPorts ) and eq .Values.useNonPriviledgedPorts "true" }}
97
+ {{- if .Values.useNonPriviledgedPorts }}
98
98
port : 8080
99
99
{{- else }}
100
100
port : 80
Original file line number Diff line number Diff line change 11
11
selector :
12
12
app : {{ template "apache.fullname" . }}
13
13
ports :
14
- {{- if ( .Values.useNonPriviledgedPorts ) and eq .Values.useNonPriviledgedPorts "true" }}
14
+ {{- if .Values.useNonPriviledgedPorts }}
15
15
- port : 8080
16
16
{{- else}}
17
17
- port : 80
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ customCert:
53
53
customKey :
54
54
55
55
# Unique ID identifying a domain.
56
- # This ID must not contain an underscope ("_"), and must be lowercase and unique across all domains in a Kubernetes cluster.
56
+ # This ID must not contain an underscore ("_"), and must be lowercase and unique across all domains in a Kubernetes cluster.
57
57
domainUID : " domain1"
58
58
59
59
# Cluster name
@@ -74,5 +74,6 @@ managedServerPort: 8001
74
74
# where 'myhost' is the IP of the machine that runs the Apache web tier, and
75
75
# 'myport' is the port that the Apache web tier is publicly exposed to.
76
76
location : " /weblogic"
77
+
77
78
# Use non privileged port 8080 to listen. If set to false, default privileged port 80 will be used.
78
79
useNonPriviledgedPorts : false
You can’t perform that action at this time.
0 commit comments