Skip to content

kapitan.razee.io/mode force-apply once #4

@alewitt2

Description

@alewitt2

Allow option to force a change on once, but then revert back to merge patching. This allows for issues related to immutable fields, but shouldnt continually force updates once the desired force has completed.

possiblly just add this behavior for a forceApply mode with warning about possible consequences in docs:

try 
  apply(newFile)
catch
  let oldResource = liveResource
  delete(liveResource)
  try
    apply(newFile)
  catch
    apply(oldResource)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions