Skip to content

Commit

Permalink
charts/karmada: fix the creation condition of metrics-adapter related…
Browse files Browse the repository at this point in the history
… APIService

Signed-off-by: Xinzhao Xu <[email protected]>
  • Loading branch information
iawia002 committed Aug 15, 2024
1 parent d18afa1 commit 9847dc3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/karmada/templates/_karmada_apiservice.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ metadata:
spec:
type: ExternalName
externalName: {{ $name }}-aggregated-apiserver.{{ include "karmada.namespace" . }}.svc.{{ .Values.clusterDomain }}
{{- end }}
{{- if has "metricsAdapter" .Values.components }}
---
apiVersion: apiregistration.k8s.io/v1
kind: APIService
Expand Down

0 comments on commit 9847dc3

Please sign in to comment.