-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.13, 4.12, 4.14, 4.15, 4.16, 4.17
-
None
-
Low
-
None
-
False
-
Description of problem:
Wrong YAML description of objects
Issue 1
At "Example rolling strategy definition":
kind: DeploymentConfig apiVersion: apps.openshift.io/v1 metadata: name: example-dc # ... spec: # ... strategy: type: Rolling rollingParams: updatePeriodSeconds: 1 intervalSeconds: 1 timeoutSeconds: 120 maxSurge: "20%" maxUnavailable: "10%" pre: {} post: {}
the last line with content `post: {}` requires an extra space so that `post: {}` is aligned with the previous line.
Issue 2
At "Example recreate strategy definition":
kind: Deployment apiVersion: apps/v1 metadata: name: hello-openshift # ... spec: # ... strategy: type: Recreate recreateParams: pre: {} mid: {} post: {}
the first two lines should read:
kind: DeploymentConfig apiVersion: apps.openshift.io/v1