Skip to content

Mutating immutable resources #12

Description

@sadlerap

From the spec:

Values referenced by JSONPaths in both the MappingTemplate and MappingContainers MUST be mutated by a ServiceBinding reconciler as if they were defined directly by a PodTemplateSpec.

How then should we treat immutable resources, such as Jobs? Similarly, how do we treat containers with restartPolicy: Never, where mutating the resource won’t change the underlying Pod? Explicitly stating that mutation occurs might limit our functionality, since wording this effectively prevents us from supporting Jobs and other immutable resources.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions