From 5eea156e14e450bad762c3d4055f957b0ba1e6b3 Mon Sep 17 00:00:00 2001 From: velotioaastha Date: Fri, 13 Sep 2024 17:44:25 +0530 Subject: [PATCH] Allow operator-wandb to accept license as a string or as a secretKeyRef --- charts/operator/Chart.yaml | 2 +- charts/operator/crds/wandb.yaml | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/charts/operator/Chart.yaml b/charts/operator/Chart.yaml index 0d9fe8f6..836b39f1 100644 --- a/charts/operator/Chart.yaml +++ b/charts/operator/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: operator description: A Helm chart for Weights & Biases operator type: application -version: 1.3.3 +version: 1.3.4 appVersion: "1.0.0" maintainers: - name: wandb diff --git a/charts/operator/crds/wandb.yaml b/charts/operator/crds/wandb.yaml index f692cf66..160d6678 100644 --- a/charts/operator/crds/wandb.yaml +++ b/charts/operator/crds/wandb.yaml @@ -45,6 +45,26 @@ spec: values: description: Unstructured values for rendering CDK8s Config. type: object + properties: + global: + description: Global configuration for Weights and Biases. + type: object + properties: + license: + description: License for Weights and Biases. Can be either a string or a reference to a Kubernetes secret. + oneOf: + - type: string + description: License provided as a string. + - type: object + description: License provided as a Kubernetes secret reference. + properties: + name: + description: Name of the Kubernetes secret. + type: string + key: + description: Key within the secret that holds the license value. + type: string + x-kubernetes-preserve-unknown-fields: false x-kubernetes-preserve-unknown-fields: true type: object status: