Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.
This repository was archived by the owner on May 14, 2025. It is now read-only.

Missing environment variables ref properties for k8s initContainer #504

@GangHun-Jo

Description

@GangHun-Jo

Description

It seems below k8s initContainer properties are not �supported with spring-cloud-deployer

  • initContainers[].env[].valueFrom.fieldRef
  • initContainers[].envFrom[].configMapRef
  • initContainers[].envFrom[].secretRef
spec:
  template:
    spec:
      initContainers:
        - name: my-init-container
          env:             
          - name: POD_UID
              valueFrom:
                fieldRef:
                  apiVersion: v1
                  fieldPath: metadata.uid
          envFrom: 
            - configMapRef:
                name: myConfigMap
            - secretRef:
                name: mySecret

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions