@@ -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
3030kind: RuntimeComponent
3131metadata:
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
130130kind: RuntimeComponent
131131metadata:
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
157157kind: RuntimeComponent
158158metadata:
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
207207kind: RuntimeComponent
208208metadata:
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
231231kind: RuntimeComponent
232232metadata:
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
260260kind: RuntimeComponent
261261metadata:
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
315315kind: RuntimeComponent
316316metadata:
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
371371kind: RuntimeComponent
372372metadata:
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
400400kind: RuntimeComponent
401401metadata:
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
417417kind: RuntimeComponent
418418metadata:
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
437437kind: RuntimeComponent
438438metadata:
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
499499kind: RuntimeComponent
500500metadata:
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
516516kind: RuntimeComponent
517517metadata:
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
546546kind: RuntimeComponent
547547metadata:
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
582582kind: RuntimeComponent
583583metadata:
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
624624kind: RuntimeComponent
625625metadata:
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
640640kind: RuntimeComponent
641641metadata:
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
661661kind: RuntimeComponent
662662metadata:
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
687687kind: RuntimeComponent
688688metadata:
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
706706kind: RuntimeComponent
707707metadata:
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
726726kind: RuntimeComponent
727727metadata:
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
759759kind: RuntimeComponent
760760metadata:
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
780780kind: RuntimeComponent
781781metadata:
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
818818kind: RuntimeComponent
819819metadata:
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
832832kind: RuntimeComponent
833833metadata:
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
846846kind: RuntimeComponent
847847metadata:
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
898898kind: RuntimeComponent
899899metadata:
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
920920kind: RuntimeComponent
921921metadata:
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
969969kind: RuntimeComponent
970970metadata:
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
988988kind: RuntimeComponent
989989metadata:
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
10291029kind: RuntimeComponent
10301030metadata:
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
10771077kind: RuntimeOperation
10781078metadata:
10791079 name: example-runtime-operation
0 commit comments