Skip to content

Commit

Permalink
resolving old global image prefix and optional values
Browse files Browse the repository at this point in the history
  • Loading branch information
BrennenMM7 committed May 20, 2024
1 parent 071e5b3 commit 4cf6e2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cloud/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ const (
CustomDataHashAnnotation = "sigs.k8s.io/cluster-api-provider-gcp-mig-custom-data-hash"

// ClusterAPIImagePrefix is the prefix for the image name used by the Cluster API provider for GCP.
ClusterAPIImagePrefix = "capi-ubuntu-1804-k8s-"
ClusterAPIImagePrefix = "capi-ubuntu-2204-k8s-"
)
2 changes: 2 additions & 0 deletions exp/api/v1beta1/gcpmachinepool_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,10 @@ type ServiceAccount struct {
// MetadataItem is a key/value pair to add to the instance's metadata.
type MetadataItem struct {
// Key is the identifier for the metadata entry.
// +optional
Key string `json:"key"`
// Value is the value of the metadata entry.
// +optional
Value *string `json:"value,omitempty"`
}

Expand Down

0 comments on commit 4cf6e2b

Please sign in to comment.