Skip to content

Commit

Permalink
Update inlets-operator app overrides
Browse files Browse the repository at this point in the history
Update the inlets-op overrides to use `projectID` instead of
`gceProjectID` and `packetProjectID`.
Also use `organizationID` instead of `organization-id` in overrides
as helm does not accept "-" in the key passed into the --set flag.

Signed-off-by: Utsav Anand <utsavanand2@gmail.com>
  • Loading branch information
utsavanand2 authored and alexellis committed Feb 23, 2020
1 parent 7be2f23 commit 65fc012
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/apps/inletsoperator_app.go
Expand Up @@ -202,7 +202,7 @@ func getInletsOperatorOverrides(command *cobra.Command) (map[string]string, erro
if err != nil {
return overrides, err
}
overrides["gceProjectId"] = gceProjectID
overrides["projectID"] = gceProjectID

zone, err := command.Flags().GetString("zone")
if err != nil {
Expand All @@ -222,7 +222,7 @@ func getInletsOperatorOverrides(command *cobra.Command) (map[string]string, erro
if err != nil {
return overrides, err
}
overrides["packetProjectId"] = packetProjectID
overrides["projectID"] = packetProjectID

if len(packetProjectID) == 0 {
return overrides, fmt.Errorf("project-id is required for provider %s", provider)
Expand All @@ -233,7 +233,7 @@ func getInletsOperatorOverrides(command *cobra.Command) (map[string]string, erro
if err != nil {
return overrides, err
}
overrides["organization-id"] = orgID
overrides["organizationID"] = orgID

if len(orgID) == 0 {
return overrides, fmt.Errorf("organization-id is required for provider %s", provider)
Expand Down

0 comments on commit 65fc012

Please sign in to comment.