Skip to content

Add code comments for addon status #5164

Description

@franco-martin

While working on a CoreDNS addon issue I spent some time identifying how microk8s defines if an addon is enabled or not. I'd like to add my findings to the get_status and get_available_addons functions

My suggestion for get_status is

Get status for all available_addons based on the 'check_status' value in addons.yaml file.

:param available_addons: list of available addons
:param isReady: cluster ready status

My suggestion for get_available_addons is

Get available addons from file in ${SNAP_COMMON}/addons/core/addons.yaml file.

:param arch: current architecture

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions