Created
June 25, 2020 09:50
-
-
Save velotiotech/66b51e30826738ee60d4583f18e911b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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