Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 6 additions & 15 deletions frontend/public/models/yaml-templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ import { YAMLTemplate } from '@console/plugin-sdk';
* Sample YAML manifests for some of the statically-defined Kubernetes models.
*/

const sampleContainerImage = 'registry.redhat.io/openshift4/ose-hello-openshift-rhel8';
const sampleContainerCmd = '[ "/bin/bash", "-c", "sleep infinity" ]';

export const baseTemplates = ImmutableMap<GroupVersionKind, ImmutableMap<string, string>>()
.setIn(
['DEFAULT', 'default'],
Expand Down Expand Up @@ -256,10 +253,9 @@ spec:
spec:
containers:
- name: hello-openshift
image: ${sampleContainerImage}
image: openshift/hello-openshift
ports:
- containerPort: 8080
command: ${sampleContainerCmd}
`,
)
.setIn(
Expand Down Expand Up @@ -376,10 +372,9 @@ spec:
]
containers:
- name: hello-openshift
image: ${sampleContainerImage}
image: openshift/hello-openshift
ports:
- containerPort: 8080
command: ${sampleContainerCmd}
`,
)
.setIn(
Expand Down Expand Up @@ -436,10 +431,9 @@ metadata:
spec:
containers:
- name: hello-openshift
image: ${sampleContainerImage}
image: openshift/hello-openshift
ports:
- containerPort: 8080
command: ${sampleContainerCmd}
`,
)
.setIn(
Expand Down Expand Up @@ -649,10 +643,9 @@ spec:
spec:
containers:
- name: hello-openshift
image: ${sampleContainerImage}
image: openshift/hello-openshift
ports:
- containerPort: 8080
command: ${sampleContainerCmd}
`,
)
.setIn(
Expand Down Expand Up @@ -806,10 +799,9 @@ spec:
spec:
containers:
- name: hello-openshift
image: ${sampleContainerImage}
image: openshift/hello-openshift
ports:
- containerPort: 8080
command: ${sampleContainerCmd}
`,
)
.setIn(
Expand Down Expand Up @@ -858,10 +850,9 @@ spec:
spec:
containers:
- name: hello-openshift
image: ${sampleContainerImage}
image: openshift/hello-openshift
ports:
- containerPort: 8080
command: ${sampleContainerCmd}
`,
)
.setIn(
Expand Down