Skip to content

Commit a79ca2a

Browse files
authored
Update draft doc to v1
1 parent be098b8 commit a79ca2a

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

internal/doc/draft-user-guide-v1.adoc

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Each instance of `RuntimeComponent` CR represents the application to be deployed
2626

2727
[source,yaml]
2828
----
29-
apiVersion: rc.app.stacks/v1beta2
29+
apiVersion: rc.app.stacks/v1
3030
kind: RuntimeComponent
3131
metadata:
3232
name: my-app
@@ -126,7 +126,7 @@ To deploy a Docker image that contains a runtime component to a Kubernetes envir
126126

127127
[source,yaml]
128128
----
129-
apiVersion: rc.app.stacks/v1beta2
129+
apiVersion: rc.app.stacks/v1
130130
kind: RuntimeComponent
131131
metadata:
132132
name: my-app
@@ -153,7 +153,7 @@ To deploy an image from an image stream, use the following CR:
153153

154154
[source,yaml]
155155
----
156-
apiVersion: rc.app.stacks/v1beta2
156+
apiVersion: rc.app.stacks/v1
157157
kind: RuntimeComponent
158158
metadata:
159159
name: my-app
@@ -203,7 +203,7 @@ your CR as key/value pairs.
203203

204204
[source,yaml]
205205
----
206-
apiVersion: rc.app.stacks/v1beta2
206+
apiVersion: rc.app.stacks/v1
207207
kind: RuntimeComponent
208208
metadata:
209209
name: my-app
@@ -227,7 +227,7 @@ To add new annotations into all resources created for a `RuntimeComponent`, spec
227227

228228
[source,yaml]
229229
----
230-
apiVersion: rc.app.stacks/v1beta2
230+
apiVersion: rc.app.stacks/v1
231231
kind: RuntimeComponent
232232
metadata:
233233
name: my-app
@@ -256,7 +256,7 @@ override any environment variables specified in the container image.
256256

257257
[source,yaml]
258258
----
259-
apiVersion: rc.app.stacks/v1beta2
259+
apiVersion: rc.app.stacks/v1
260260
kind: RuntimeComponent
261261
metadata:
262262
name: my-app
@@ -311,7 +311,7 @@ The primary port is specified using `.spec.service.port` field and the additiona
311311

312312
[source,yaml]
313313
----
314-
apiVersion: rc.app.stacks/v1beta2
314+
apiVersion: rc.app.stacks/v1
315315
kind: RuntimeComponent
316316
metadata:
317317
name: my-app
@@ -367,7 +367,7 @@ The security context parameters are customizable under `.spec.securityContext` f
367367

368368
[source,yaml]
369369
----
370-
apiVersion: rc.app.stacks/v1beta2
370+
apiVersion: rc.app.stacks/v1
371371
kind: RuntimeComponent
372372
metadata:
373373
name: my-app
@@ -396,7 +396,7 @@ You can choose to create StatefulSet resources without storage, if you only requ
396396

397397
[source,yaml]
398398
----
399-
apiVersion: rc.app.stacks/v1beta2
399+
apiVersion: rc.app.stacks/v1
400400
kind: RuntimeComponent
401401
metadata:
402402
name: my-app
@@ -413,7 +413,7 @@ The operator will also create a volume mount for the `StatefulSet` mounting to `
413413

414414
[source,yaml]
415415
----
416-
apiVersion: rc.app.stacks/v1beta2
416+
apiVersion: rc.app.stacks/v1
417417
kind: RuntimeComponent
418418
metadata:
419419
name: my-app
@@ -433,7 +433,7 @@ It is also possible to create multiple volume mount points for persistent volume
433433

434434
[source,yaml]
435435
----
436-
apiVersion: rc.app.stacks/v1beta2
436+
apiVersion: rc.app.stacks/v1
437437
kind: RuntimeComponent
438438
metadata:
439439
name: my-app
@@ -495,7 +495,7 @@ At minimum, a label needs to be provided that Prometheus expects to be set on `S
495495

496496
[source,yaml]
497497
----
498-
apiVersion: rc.app.stacks/v1beta2
498+
apiVersion: rc.app.stacks/v1
499499
kind: RuntimeComponent
500500
metadata:
501501
name: my-app
@@ -512,7 +512,7 @@ For advanced scenarios, it is possible to set many `ServicerMonitor` settings su
512512

513513
[source,yaml]
514514
----
515-
apiVersion: rc.app.stacks/v1beta2
515+
apiVersion: rc.app.stacks/v1
516516
kind: RuntimeComponent
517517
metadata:
518518
name: my-app
@@ -542,7 +542,7 @@ To create Knative service, set `createKnativeService` to `true`:
542542

543543
[source,yaml]
544544
----
545-
apiVersion: rc.app.stacks/v1beta2
545+
apiVersion: rc.app.stacks/v1
546546
kind: RuntimeComponent
547547
metadata:
548548
name: my-app
@@ -578,7 +578,7 @@ the startup, liveness, and readiness probes, the following configuration can be
578578

579579
[source,yaml]
580580
----
581-
apiVersion: rc.app.stacks/v1beta2
581+
apiVersion: rc.app.stacks/v1
582582
kind: RuntimeComponent
583583
metadata:
584584
name: my-app
@@ -620,7 +620,7 @@ of the liveness probe, you can use this config:
620620

621621
[source,yaml]
622622
----
623-
apiVersion: rc.app.stacks/v1beta2
623+
apiVersion: rc.app.stacks/v1
624624
kind: RuntimeComponent
625625
metadata:
626626
name: my-app
@@ -636,7 +636,7 @@ instead of using the default probe, e.g.,
636636

637637
[source,yaml]
638638
----
639-
apiVersion: rc.app.stacks/v1beta2
639+
apiVersion: rc.app.stacks/v1
640640
kind: RuntimeComponent
641641
metadata:
642642
name: my-app
@@ -657,7 +657,7 @@ To expose your application externally, set `expose` to `true`:
657657

658658
[source,yaml]
659659
----
660-
apiVersion: rc.app.stacks/v1beta2
660+
apiVersion: rc.app.stacks/v1
661661
kind: RuntimeComponent
662662
metadata:
663663
name: my-app
@@ -683,7 +683,7 @@ To use the Ingress resource, set the `defaultHostName` variable in the _runtime-
683683

684684
[source,yaml]
685685
----
686-
apiVersion: rc.app.stacks/v1beta2
686+
apiVersion: rc.app.stacks/v1
687687
kind: RuntimeComponent
688688
metadata:
689689
name: my-app
@@ -702,7 +702,7 @@ Generate your certificate and specify the secret containing the certificate usin
702702

703703
[source,yaml]
704704
----
705-
apiVersion: rc.app.stacks/v1beta2
705+
apiVersion: rc.app.stacks/v1
706706
kind: RuntimeComponent
707707
metadata:
708708
name: my-app
@@ -722,7 +722,7 @@ You can provide an existing TLS secret and set a custom hostname.
722722

723723
[source,yaml]
724724
----
725-
apiVersion: rc.app.stacks/v1beta2
725+
apiVersion: rc.app.stacks/v1
726726
kind: RuntimeComponent
727727
metadata:
728728
name: my-app
@@ -755,7 +755,7 @@ To expose your application as a Knative service externally, set `expose` to `tru
755755

756756
[source,yaml]
757757
----
758-
apiVersion: rc.app.stacks/v1beta2
758+
apiVersion: rc.app.stacks/v1
759759
kind: RuntimeComponent
760760
metadata:
761761
name: my-app
@@ -776,7 +776,7 @@ policies for an application, set `.spec.networkPolicy.disable` to `true`:
776776

777777
[source,yaml]
778778
----
779-
apiVersion: rc.app.stacks/v1beta2
779+
apiVersion: rc.app.stacks/v1
780780
kind: RuntimeComponent
781781
metadata:
782782
name: my-app
@@ -814,7 +814,7 @@ Example of allowing incoming traffic from pods labeled with `role: frontend` and
814814

815815
[source,yaml]
816816
----
817-
apiVersion: rc.app.stacks/v1beta2
817+
apiVersion: rc.app.stacks/v1
818818
kind: RuntimeComponent
819819
metadata:
820820
name: my-app
@@ -828,7 +828,7 @@ Example of allowing incoming traffic from pods belonging to the same application
828828

829829
[source,yaml]
830830
----
831-
apiVersion: rc.app.stacks/v1beta2
831+
apiVersion: rc.app.stacks/v1
832832
kind: RuntimeComponent
833833
metadata:
834834
name: my-app
@@ -842,7 +842,7 @@ Example of allowing incoming traffic from pods labeled with `role: frontend` in
842842

843843
[source,yaml]
844844
----
845-
apiVersion: rc.app.stacks/v1beta2
845+
apiVersion: rc.app.stacks/v1
846846
kind: RuntimeComponent
847847
metadata:
848848
name: my-app
@@ -894,7 +894,7 @@ OpenShift service CA an annotation can be added to application's YAML:
894894

895895
[source,yaml]
896896
----
897-
apiVersion: rc.app.stacks/v1beta2
897+
apiVersion: rc.app.stacks/v1
898898
kind: RuntimeComponent
899899
metadata:
900900
name: my-app
@@ -916,7 +916,7 @@ Example of certificates specified for the Route:
916916

917917
[source,yaml]
918918
----
919-
apiVersion: rc.app.stacks/v1beta2
919+
apiVersion: rc.app.stacks/v1
920920
kind: RuntimeComponent
921921
metadata:
922922
name: my-app
@@ -965,7 +965,7 @@ Use `nodeAffinityLabels` field to set required labels for pod scheduling on spec
965965

966966
[source,yaml]
967967
----
968-
apiVersion: rc.app.stacks/v1beta2
968+
apiVersion: rc.app.stacks/v1
969969
kind: RuntimeComponent
970970
metadata:
971971
name: my-app
@@ -984,7 +984,7 @@ The following example requires a node type of _Large_ and preferences for two zo
984984

985985
[source,yaml]
986986
----
987-
apiVersion: rc.app.stacks/v1beta2
987+
apiVersion: rc.app.stacks/v1
988988
kind: RuntimeComponent
989989
metadata:
990990
name: my-app
@@ -1025,7 +1025,7 @@ The following example shows that pod affinity is required and that the pods for
10251025

10261026
[source,yaml]
10271027
----
1028-
apiVersion: rc.app.stacks/v1beta2
1028+
apiVersion: rc.app.stacks/v1
10291029
kind: RuntimeComponent
10301030
metadata:
10311031
name: Service-B
@@ -1073,7 +1073,7 @@ Example:
10731073

10741074
[source,yaml]
10751075
----
1076-
apiVersion: rc.app.stacks/v1beta2
1076+
apiVersion: rc.app.stacks/v1
10771077
kind: RuntimeOperation
10781078
metadata:
10791079
name: example-runtime-operation

0 commit comments

Comments
 (0)