镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Add tpl helm function on kubeStateMetrics url - #96

Open
mysiki wants to merge 1 commit into
Cloudzero:developfrom
mysiki:develop
Open

mysiki wants to merge 1 commit into
Cloudzero:developfrom
mysiki:develop

Conversation

@mysiki

@mysiki mysiki commented Nov 8, 2024

Copy link
Copy Markdown

By submitting a PR to this repository, you agree to the terms within the CloudZero Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

Description

Add tpl helm function for kubeStateMetrics url to allow use to provide helm variable instead of static value

Testing

No tested, can be done by helm values file like

cloudAccountId: "XYZ"
clusterName: "test"
region: "XYZ"
validator:
  serviceEndpoints:
    kubeStateMetrics: "{{ $.Values.clusterName }}.externalMetrics.svc.cluster.local:8080"

Checklist

  • I have added documentation for new/changed functionality in this PR
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not main

@mysiki
mysiki requested a review from a team as a code owner November 8, 2024 09:14

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant