File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
integration-tests/src/test/java/oracle/kubernetes/operator Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,9 @@ public void testAdminServerInitContainer() throws Exception {
123
123
// Modify the original domain yaml to include restartVersion in admin server node
124
124
DomainCrd crd = new DomainCrd (originalYaml );
125
125
crd .addInitContNode ("spec" , null , null );
126
+ crd .addInitContNode ("adminServer" , null , null );
127
+ crd .addInitContNode ("clusters" , "cluster-1" , null );
128
+ crd .addInitContNode ("managedServers" , "cluster-1" , "managed-server1" );
126
129
String modYaml = crd .getYamlTree ();
127
130
logger .info (modYaml );
128
131
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ public class DomainCrd {
31
31
public static void main (String args []) {
32
32
try {
33
33
DomainCrd test = new DomainCrd ("/c/Users/sankar/Downloads/domain.yaml" );
34
- test .createInitContNode ("spec" , null , null );
35
34
} catch (IOException ex ) {
36
35
Logger .getLogger (DomainCrd .class .getName ()).log (Level .SEVERE , null , ex );
37
36
}
You can’t perform that action at this time.
0 commit comments