Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #488 from thestormforge/resource-labels
Browse files Browse the repository at this point in the history
Change the app.kubernetes.io/name label
  • Loading branch information
jgustie authored Jul 1, 2022
2 parents 42b1711 + 0b0b1dd commit 2c444fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/internal/commands/initialize/initialize.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func (o *Options) Initialize(ctx context.Context) error {
}

// Run `kubectl apply` to install the product
// TODO Handle upgrades with "--prune", "--selector", "app.kubernetes.io/name=optimize,app.kubernetes.io/managed-by=%s"
// TODO Handle upgrades with "--prune", "--selector", "app.kubernetes.io/name=optimize-controller,app.kubernetes.io/managed-by=%s"
kubectlApply, err := o.Config.Kubectl(ctx, "apply", "-f", "-")
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namePrefix: optimize-

# Labels to add to all resources and selectors.
commonLabels:
app.kubernetes.io/name: optimize
app.kubernetes.io/name: optimize-controller

resources:
- ../crd
Expand Down

0 comments on commit 2c444fe

Please sign in to comment.