Skip to content

helm diff output #395

@krisek

Description

@krisek
SUMMARY

The Kubernetes returns with --check --diff CLI parameters, the actual diff that would be applied on the cluster. It would be great if the helm module would do the same.

ISSUE TYPE
  • Feature
COMPONENT NAME

helm.py

ADDITIONAL INFORMATION

It would be a great enhancement for CI/CD pipelines.

ansible-playbook -i inventory.yaml  -e variable_host="play" --check --diff basic-service-deploy.yaml
  - name: install helm package
    kubernetes.core.helm:
      chart_ref: "{{ chart_ref }}"
      chart_version: "{{ version }}"
      create_namespace: y
      context: "{{ inventory_hostname }}"
      release_name: hello
      release_namespace: hello-world
      release_state: present

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/helmIssues relating to helm pluginstype/enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions