Skip to content

Commit

Permalink
Merge pull request #1379 from kubecost/mmd/cluster-controller-optiona…
Browse files Browse the repository at this point in the history
…l-secret

Make cluster controller service key secret optional
  • Loading branch information
michaelmdresser authored Apr 19, 2022
2 parents 1718222 + 2b68dfa commit ed16d3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,11 @@ spec:
- name: cluster-controller-keys
secret:
secretName: {{ .Values.clusterController.secretName | default "cluster-controller-service-key" }}
# The secret is optional because not all of cluster controller's
# functionality requires this secret. Cluster controller will
# partially or fully initialize based on the presence of these keys
# and their validity.
optional: true
---
apiVersion: v1
kind: Service
Expand Down
2 changes: 1 addition & 1 deletion cost-analyzer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ kubecostDeployment:
# Kubecost Cluster Controller for Right Sizing and Cluster Turndown
clusterController:
enabled: false
image: gcr.io/kubecost1/cluster-controller:v0.0.5
image: gcr.io/kubecost1/cluster-controller:v0.0.6
imagePullPolicy: Always
# fqdn: kubecost-cluster-controller.kubecost.svc.cluster.local:9731

Expand Down

0 comments on commit ed16d3b

Please sign in to comment.