Skip to content

Commit

Permalink
Networking hotfix (#3638)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdess09 authored Sep 25, 2023
1 parent 8716f33 commit b4cc313
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions dashboard/src/main/home/app-dashboard/new-app-flow/tabs/WebTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const WebTabs: React.FC<Props> = ({
<Spacer y={1} />
<Input
label="Container port"
placeholder="ex: 80"
placeholder="ex: 3000"
value={service.port.value}
disabled={service.port.readOnly}
width="300px"
Expand Down Expand Up @@ -538,7 +538,7 @@ const WebTabs: React.FC<Props> = ({
<Spacer y={0.5} />
<Input
label="Liveness Check Endpoint "
placeholder="ex: 80"
placeholder="ex: /liveness"
value={service.health.livenessProbe.path.value}
width="300px"
setValue={(e) => {
Expand All @@ -564,7 +564,7 @@ const WebTabs: React.FC<Props> = ({
<Spacer y={0.5} />
<Input
label="Failure Threshold"
placeholder="ex: 80"
placeholder="ex: 10"
value={service.health.livenessProbe.failureThreshold.value}
width="300px"
setValue={(e) => {
Expand Down Expand Up @@ -592,7 +592,7 @@ const WebTabs: React.FC<Props> = ({
<Spacer y={0.5} />
<Input
label="Retry Interval"
placeholder="ex: 80"
placeholder="ex: 5"
value={service.health.livenessProbe.periodSeconds.value}
width="300px"
setValue={(e) => {
Expand Down Expand Up @@ -645,7 +645,7 @@ const WebTabs: React.FC<Props> = ({
<Spacer y={0.5} />
<Input
label="Start Up Check Endpoint "
placeholder="ex: 80"
placeholder="ex: /startupz"
value={service.health.startupProbe.path.value}
width="300px"
setValue={(e) => {
Expand All @@ -671,7 +671,7 @@ const WebTabs: React.FC<Props> = ({
<Spacer y={0.5} />
<Input
label="Failure Threshold"
placeholder="ex: 80"
placeholder="ex: 5"
value={service.health.startupProbe.failureThreshold.value}
width="300px"
setValue={(e) => {
Expand All @@ -697,7 +697,7 @@ const WebTabs: React.FC<Props> = ({
<Spacer y={0.5} />
<Input
label="Retry Interval"
placeholder="ex: 80"
placeholder="ex: 5"
value={service.health.startupProbe.periodSeconds.value}
disabled={service.health.startupProbe.periodSeconds.readOnly}
width="300px"
Expand Down Expand Up @@ -750,7 +750,7 @@ const WebTabs: React.FC<Props> = ({
<Spacer y={0.5} />
<Input
label="Readiness Check Endpoint "
placeholder="ex: 80"
placeholder="ex: /readiness"
value={service.health.readinessProbe.path.value}
disabled={service.health.readinessProbe.path.readOnly}
width="300px"
Expand All @@ -776,7 +776,7 @@ const WebTabs: React.FC<Props> = ({
<Spacer y={0.5} />
<Input
label="Failure Threshold"
placeholder="ex: 80"
placeholder="ex: 5"
value={service.health.readinessProbe.failureThreshold.value}
disabled={
service.health.readinessProbe.failureThreshold.readOnly
Expand Down Expand Up @@ -804,7 +804,7 @@ const WebTabs: React.FC<Props> = ({
<Spacer y={0.5} />
<Input
label="Initial Delay Threshold"
placeholder="ex: 80"
placeholder="ex: 100"
value={service.health.readinessProbe.initialDelaySeconds.value}
disabled={
service.health.readinessProbe.initialDelaySeconds.readOnly
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const Networking: React.FC<NetworkingProps> = ({ index, service }) => {
<ControlledInput
label="Container port"
type="text"
placeholder="ex: 80"
placeholder="ex: 3000"
disabled={service.port.readOnly}
width="300px"
disabledTooltip={"You may only edit this field in your porter.yaml."}
Expand Down

0 comments on commit b4cc313

Please sign in to comment.