Skip to content

Commit d108770

Browse files
author
Bob Furu
authored
Merge pull request #39200 from multi-arch/osdocs-3006
2 parents 091fce6 + 5b09f67 commit d108770

35 files changed

+51
-51
lines changed

modules/builds-chaining-builds.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The first build takes the application source and produces an image containing a
2323

2424
[source,yaml]
2525
----
26-
apiVersion: v1
26+
apiVersion: build.openshift.io/v1
2727
kind: BuildConfig
2828
metadata:
2929
name: artifact-build
@@ -47,7 +47,7 @@ The second build uses image source with a path to the WAR file inside the output
4747

4848
[source,yaml]
4949
----
50-
apiVersion: v1
50+
apiVersion: build.openshift.io/v1
5151
kind: BuildConfig
5252
metadata:
5353
name: image-build

modules/builds-use-custom-builder-image.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ You can define a `BuildConfig` object that uses the custom strategy in conjuncti
2121
[source,yaml]
2222
----
2323
kind: BuildConfig
24-
apiVersion: v1
24+
apiVersion: build.openshift.io/v1
2525
metadata:
2626
name: sample-custom-build
2727
labels:
@@ -56,7 +56,7 @@ $ oc create -f buildconfig.yaml
5656
[source,yaml]
5757
----
5858
kind: ImageStream
59-
apiVersion: v1
59+
apiVersion: image.openshift.io/v1
6060
metadata:
6161
name: sample-custom
6262
spec: {}

modules/builds-using-secrets-as-environment-variables.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This method shows the secrets as plain text in the output of the build pod conso
1919
+
2020
[source,yaml]
2121
----
22-
apiVersion: v1
22+
apiVersion: build.openshift.io/v1
2323
kind: BuildConfig
2424
metadata:
2525
name: secret-example-bc

modules/builds-using-secrets.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ spec:
105105
.YAML of a Build Config Populating Environment Variables with Secret Data
106106
[source,yaml]
107107
----
108-
apiVersion: v1
108+
apiVersion: build.openshift.io/v1
109109
kind: BuildConfig
110110
metadata:
111111
name: secret-example-bc

modules/cluster-logging-eventrouter-deploy.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The following Template object creates the service account, cluster role, and clu
2323
[source,yaml]
2424
----
2525
kind: Template
26-
apiVersion: v1
26+
apiVersion: template.openshift.io/v1
2727
metadata:
2828
name: eventrouter-template
2929
annotations:
@@ -36,15 +36,15 @@ objects:
3636
name: eventrouter
3737
namespace: ${NAMESPACE}
3838
- kind: ClusterRole <2>
39-
apiVersion: v1
39+
apiVersion: rbac.authorization.k8s.io/v1
4040
metadata:
4141
name: event-reader
4242
rules:
4343
- apiGroups: [""]
4444
resources: ["events"]
4545
verbs: ["get", "watch", "list"]
4646
- kind: ClusterRoleBinding <3>
47-
apiVersion: v1
47+
apiVersion: rbac.authorization.k8s.io/v1
4848
metadata:
4949
name: event-reader-binding
5050
subjects:

modules/deployments-deploymentconfigs.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ replication controller, scaling up the new one, and running hooks). The deployme
3535
.Example `DeploymentConfig` definition
3636
[source,yaml]
3737
----
38-
apiVersion: v1
38+
apiVersion: apps.openshift.io/v1
3939
kind: DeploymentConfig
4040
metadata:
4141
name: frontend

modules/deployments-lifecycle-hooks.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The following simplified example deployment uses the rolling strategy. Triggers
4444
[source,yaml]
4545
----
4646
kind: DeploymentConfig
47-
apiVersion: v1
47+
apiVersion: apps.openshift.io/v1
4848
metadata:
4949
name: frontend
5050
spec:

modules/how-to-plan-your-environment-according-to-application-requirements.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ links in the deployment's service specification file to overcome this:
8383
[source,yaml]
8484
----
8585
---
86-
apiVersion: v1
86+
apiVersion: template.openshift.io/v1
8787
kind: Template
8888
metadata:
8989
name: deployment-config-template
@@ -92,7 +92,7 @@ metadata:
9292
description: This template will create a deploymentConfig with 1 replica, 4 env vars and a service.
9393
tags: ''
9494
objects:
95-
- apiVersion: v1
95+
- apiVersion: apps.openshift.io/v1
9696
kind: DeploymentConfig
9797
metadata:
9898
name: deploymentconfig${IDENTIFIER}

modules/images-imagestream-configure.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ An `ImageStream` object file contains the following elements.
1111

1212
[source,yaml]
1313
----
14-
apiVersion: v1
14+
apiVersion: image.openshift.io/v1
1515
kind: ImageStream
1616
metadata:
1717
annotations:

modules/images-imagestream-mapping.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The following image stream mapping example results in an image being tagged as `
1919

2020
[source,yaml]
2121
----
22-
apiVersion: v1
22+
apiVersion: image.openshift.io/v1
2323
kind: ImageStreamMapping
2424
metadata:
2525
creationTimestamp: null

0 commit comments

Comments
 (0)