Skip to content

Commit

Permalink
Merge pull request #14 from bentoml/feat-gcp
Browse files Browse the repository at this point in the history
feat: add gcp consts
  • Loading branch information
FogDong authored Jun 3, 2024
2 parents fb836e0 + 926b858 commit e19a954
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions consts/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ const (
EnvImageBuildersNamespace = "IMAGE_BUILDERS_NAMESPACE"

EnvAWSAccessKeyID = "AWS_ACCESS_KEY_ID"
EnvGCPAccessKeyID = "GCP_ACCESS_KEY_ID"
EnvAWSSecretAccessKey = "AWS_SECRET_ACCESS_KEY"
EnvGCPSecretAccessKey = "GCP_SECRET_ACCESS_KEY"

EnvAWSECRWithIAMRole = "AWS_ECR_WITH_IAM_ROLE"
EnvAWSECRRegion = "AWS_ECR_REGION"
Expand Down
5 changes: 3 additions & 2 deletions consts/kube.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const (
// nolint: gosec
KubeLabelYataiDeployToken = "yatai.ai/deploy-token"
KubeLabelIsBentoImageBuilder = "yatai.ai/is-bento-image-builder"
KubeLabelIsModelSeeder = "yatai.ai/is-model-seeder"
KubeLabelIsModelSeeder = "yatai.ai/is-model-seeder"
KubeLabelBentoRequest = "yatai.ai/bento-request"

KubeLabelYataiOwnerReference = "yatai.ai/owner-reference"
Expand Down Expand Up @@ -69,7 +69,8 @@ const (
KubeAnnotationARMSAppName = "armsPilotCreateAppName"
KubeAnnotationYataiImageBuilderSeparateModels = "yatai.ai/yatai-image-builder-separate-models"
KubeAnnotationAWSAccessKeySecretName = "yatai.ai/aws-access-key-secret-name"
KubeAnnotationIsMultiTenancy = "yatai.ai/is-multi-tenancy"
KubeAnnotationGCPAccessKeySecretName = "yatai.ai/gcp-access-key-secret"
KubeAnnotationIsMultiTenancy = "yatai.ai/is-multi-tenancy"

KubeCreator = "yatai"

Expand Down

0 comments on commit e19a954

Please sign in to comment.