diff --git a/components/tensorboard-controller/config/crd/bases/tensorboard.kubeflow.org_tensorboards.yaml b/components/tensorboard-controller/config/crd/bases/tensorboard.kubeflow.org_tensorboards.yaml index 215bbcd8871..cc3a1e9f6e6 100644 --- a/components/tensorboard-controller/config/crd/bases/tensorboard.kubeflow.org_tensorboards.yaml +++ b/components/tensorboard-controller/config/crd/bases/tensorboard.kubeflow.org_tensorboards.yaml @@ -3,6 +3,8 @@ apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.2.5 creationTimestamp: null name: tensorboards.tensorboard.kubeflow.org spec: @@ -12,7 +14,7 @@ spec: listKind: TensorboardList plural: tensorboards singular: tensorboard - scope: "" + scope: Namespaced subresources: status: {} validation: diff --git a/components/tensorboard-controller/controllers/tensorboard_controller.go b/components/tensorboard-controller/controllers/tensorboard_controller.go index b9a3558a2d1..7557b14e976 100644 --- a/components/tensorboard-controller/controllers/tensorboard_controller.go +++ b/components/tensorboard-controller/controllers/tensorboard_controller.go @@ -255,6 +255,7 @@ func generateDeployment(tb *tensorboardv1alpha1.Tensorboard, log logr.Logger, r WorkingDir: "/", Args: []string{ "--logdir=" + mountpath, + "--bind_all", }, Ports: []corev1.ContainerPort{ {