Skip to content

Add edit config grafana in Go kubectl plugin #2482

Open
@TeddyAndrieux

Description

Component:

'salt', 'kubectl-plugin'

Why this is needed:

Centralized CLI

What should be done:

MetalK8s edit config grafana command should be part of metalk8s Go kubectl plugin

kubectl metalk8s edit config grafana
kubectl metalk8s edit config/grafana

This command will open an editor to change the configuration for grafana.

Implementation proposal (strongly recommended):

This command will load the CSC of grafana display it in an editor to the user and then push the changes in Kubernetes and apply the changes using Salt.

It will be written in Go and should not use salt binaries at all, only interact directly with Salt API and should be able to run from outside of the cluster (check design documentation about Centralized CLI for more detail).

Follow kubectl best practice as much as possible.

Metadata

Assignees

No one assigned

    Labels

    complexity:mediumSomething that requires one or few days to fixkind:enhancementNew feature or requestpriority:lowLow priority issues that can be safely postponed if neededtopic: cluster&service configurationAnything related to cluster and service configuration persistencetopic:kubectl-pluginKubectl plugin related issuestopic:monitoringEverything related to monitoring of services in a running cluster

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions