We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
schema Deployment: name: str volumes?: [Volume] image: str replica: int = 1 command: [str] labels?: {str:str} schema Volume: name: str mountPath: str hostPath: str nginx = Deployment { name = "my-nginx" image = "nginx:1.14.2" volumes = [Volume { name = "mydir" mountPath = "/test-pd" hostPath = "/data" # enter newline here. }] command = ["nginx"] labels.run = "my-nginx" labels.env = "pre-prod" }
import k8s.api.apps.v1 as appsv1 import k8s.api.core.v1 as corev1 statefulSet = appsv1.StatefulSet { spec: appsv1.StatefulSetSpec{ serviceName: "foo" template: corev1.PodTemplateSpec{} selector: {# Enter newline here} } }
Expected items are ["matchExpressions", "matchLabels"]
["matchExpressions", "matchLabels"]
import k8s.api.apps.v1 as appsv1 import k8s.api.core.v1 as corev1 statefulSet = appsv1.StatefulSet { spec: appsv1.StatefulSetSpec{ serviceName: "foo" template: corev1.PodTemplateSpec{} selector: { # Enter newline here } } }
The text was updated successfully, but these errors were encountered:
close by #1476
Sorry, something went wrong.
He1pa
Successfully merging a pull request may close this issue.
Enhancement
Case 1
Case 2
Expected items are
["matchExpressions", "matchLabels"]
Case 3
Expected items are
["matchExpressions", "matchLabels"]
The text was updated successfully, but these errors were encountered: