kube_clusterSourceKubeClusterStandardDeploymentWithService

class DeploymentWithService

Definitions

def _replace(old, rebuilt)

rebuild returns a new resource; swap it into this manifest so the change actually lands in the rendered output.

Implementation

def _replace(old, rebuilt)
  @resources[@resources.index(old)] = rebuilt
  rebuilt
end