Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
type BookStoreSpec struct {
BookApp BookApp `json:"bookApp,omitempty"`
BookDB BookDB `json:"bookDB,omitempty"`
}
type BookApp struct {
Repository string `json:"repository,omitempty"`
Tag string `json:"tag,omitempty"`
ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
Replicas int32 `json:"replicas,omitempty"`
Port int32 `json:"port,omitempty"`
TargetPort int `json:"targetPort,omitempty"`
ServiceType corev1.ServiceType `json:"serviceType,omitempty"`
}
type BookDB struct {
Repository string `json:"repository,omitempty"`
Tag string `json:"tag,omitempty"`
ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
Replicas int32 `json:"replicas,omitempty"`
Port int32 `json:"port,omitempty"`
DBSize resource.Quantity `json:"dbSize,omitempty"`
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.