This repository was archived by the owner on May 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 91
Updating initContainers Configuration to Match Pod Specifications #477
Copy link
Copy link
Open
Labels
type/enhancementIs an enhancement requestIs an enhancement request
Milestone
Description
Problem description:
The options for initContainers described in the document https://docs.spring.io/spring-cloud-dataflow/docs/current/reference/htmlsingle/#_init_containers differ from the options used in regular Kubernetes pods.
This discrepancy causes confusion for users who are familiar with standard pod syntax.
Solution description:
We request an enhancement of the documentation. Please introduce and explain the various options available for initContainers in the document. Specifically, clarify the following options:
- containerName (not name)
- imageName (not image)
- environmentVariables (not env)
Additionally, it would be helpful to provide an example of how to use these options in a YAML file, such as:
data:
application.yaml: |-
spring:
cloud:
dataflow:
task:
platform:
kubernetes:
accounts:
default:
initContainers:
- containerName: test
imageName: busybox:latest
commands:
- sh
- -c
- echo hello
- containerName: test2
imageName: busybox:latest
commands:
- sh
- -c
- echo worldFurthermore, please include information about other possible options, such as:
- imagePullPolicy
- volumeMounts
- and others
Metadata
Metadata
Assignees
Labels
type/enhancementIs an enhancement requestIs an enhancement request