Last active
September 30, 2019 09:31
-
-
Save akash-gautam/80b98dd4eb600453faf753f991a3ea7a to your computer and use it in GitHub Desktop.
This file contains hidden or 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