mirror of
https://github.com/dsx-ai-factory/nvke.git
synced 2026-12-07 04:35:58 +08:00
30 lines
1.2 KiB
Go
30 lines
1.2 KiB
Go
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package controllerdeploy
|
|
|
|
import "embed"
|
|
|
|
// manifestsFS embeds the Helm values files this package installs Temporal,
|
|
// SPIRE, and the controller with, and the rendered manifest of the provisioned
|
|
// infrastructure provider. Embedded rather than read from controller/ at
|
|
// runtime: cli is a separate Go module from controller, and nvkectl ships as a
|
|
// standalone binary that may run far from a monorepo checkout. See the
|
|
// comments in manifests/*.yaml for where each file was ported from.
|
|
//
|
|
//go:embed manifests/*.yaml
|
|
var manifestsFS embed.FS
|
|
|
|
const (
|
|
postgresValuesFile = "manifests/postgres-values.yaml"
|
|
temporalValuesFile = "manifests/temporal-values.yaml"
|
|
spireValuesFile = "manifests/spire-values.yaml"
|
|
spireNodePortFile = "manifests/spire-server-nodeport.yaml"
|
|
cweValuesFile = "manifests/controller-values.yaml"
|
|
cweNodePortFile = "manifests/controller-nodeport.yaml"
|
|
|
|
// provisionedProviderFile is `kubectl kustomize` output rather than a
|
|
// values file, generated by `make -C cli provider-manifest`.
|
|
provisionedProviderFile = "manifests/provisioned-provider.yaml"
|
|
)
|