Skip to content

Commit 224c0ce

Browse files
committed
Sample YAML create cluster before domain
1 parent eec5721 commit 224c0ce

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

kubernetes/samples/quick-start/domain-resource.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
1-
# Copyright (c) 2022, Oracle and/or its affiliates.
1+
# Copyright (c) 2022, 2024, Oracle and/or its affiliates.
22
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
33

4+
apiVersion: "weblogic.oracle/v1"
5+
kind: Cluster
6+
metadata:
7+
name: sample-domain1-cluster-1
8+
# Update this with the namespace your domain will run in:
9+
namespace: sample-domain1-ns
10+
labels:
11+
# Update this with the `domainUID` of your domain:
12+
weblogic.domainUID: sample-domain1
13+
14+
spec:
15+
replicas: 2
16+
clusterName: cluster-1
17+
18+
---
19+
420
apiVersion: "weblogic.oracle/v9"
521
kind: Domain
622
metadata:
@@ -128,20 +144,4 @@ spec:
128144
# Secrets that are referenced by model yaml macros
129145
# (the model yaml in the optional configMap or in the image)
130146
#secrets:
131-
#- sample-domain1-datasource-secret
132-
133-
---
134-
135-
apiVersion: "weblogic.oracle/v1"
136-
kind: Cluster
137-
metadata:
138-
name: sample-domain1-cluster-1
139-
# Update this with the namespace your domain will run in:
140-
namespace: sample-domain1-ns
141-
labels:
142-
# Update this with the `domainUID` of your domain:
143-
weblogic.domainUID: sample-domain1
144-
145-
spec:
146-
replicas: 2
147-
clusterName: cluster-1
147+
#- sample-domain1-datasource-secret

0 commit comments

Comments
 (0)