Skip to content

Commit 10db405

Browse files
committed
Checkpoint k8s artifact renaming work
1 parent ec75883 commit 10db405

File tree

9 files changed

+19
-19
lines changed

9 files changed

+19
-19
lines changed

kubernetes/internal/create-weblogic-domain.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ function initAndValidateOutputDir {
9696
${domainOutputDir} \
9797
${valuesInputFile} \
9898
create-weblogic-domain-inputs.yaml \
99-
weblogic-domain-persistent-volume.yaml \
100-
weblogic-domain-persistent-volume-claim.yaml \
99+
weblogic-domain-pv.yaml \
100+
weblogic-domain-pvc.yaml \
101101
weblogic-domain-traefik-${clusterNameLC}.yaml \
102102
weblogic-domain-traefik-security-${clusterNameLC}.yaml \
103103
create-weblogic-domain-job.yaml \
@@ -291,12 +291,12 @@ function initialize {
291291
fi
292292
fi
293293

294-
domainPVInput="${scriptDir}/weblogic-domain-persistent-volume-template.yaml"
294+
domainPVInput="${scriptDir}/weblogic-domain-pv-template.yaml"
295295
if [ ! -f ${domainPVInput} ]; then
296296
validationError "The template file ${domainPVInput} for generating a persistent volume was not found"
297297
fi
298298

299-
domainPVCInput="${scriptDir}/weblogic-domain-persistent-volume-claim-template.yaml"
299+
domainPVCInput="${scriptDir}/weblogic-domain-pvc-template.yaml"
300300
if [ ! -f ${domainPVCInput} ]; then
301301
validationError "The template file ${domainPVCInput} for generating a persistent volume claim was not found"
302302
fi
@@ -382,8 +382,8 @@ function createYamlFiles {
382382
# (if needed) and copy the inputs file there.
383383
copyInputsFileToOutputDirectory ${valuesInputFile} "${domainOutputDir}/create-weblogic-domain-inputs.yaml"
384384

385-
domainPVOutput="${domainOutputDir}/weblogic-domain-persistent-volume.yaml"
386-
domainPVCOutput="${domainOutputDir}/weblogic-domain-persistent-volume-claim.yaml"
385+
domainPVOutput="${domainOutputDir}/weblogic-domain-pv.yaml"
386+
domainPVCOutput="${domainOutputDir}/weblogic-domain-pvc.yaml"
387387
jobOutput="${domainOutputDir}/create-weblogic-domain-job.yaml"
388388
dcrOutput="${domainOutputDir}/domain-custom-resource.yaml"
389389
traefikSecurityOutput="${domainOutputDir}/weblogic-domain-traefik-security-${clusterNameLC}.yaml"

kubernetes/internal/weblogic-domain-persistent-volume-template.yaml renamed to kubernetes/internal/weblogic-domain-pv-template.yaml

File renamed without changes.

kubernetes/internal/weblogic-domain-persistent-volume-claim-template.yaml renamed to kubernetes/internal/weblogic-domain-pvc-template.yaml

File renamed without changes.

site/manually-creating-domain.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ Then, execute the script, pointing it at your inputs file and output directory:
2727

2828
The following YAML files will be generated in the /path/to/weblogic-operator-output-directory/weblogic-domains/<domainUID> directory:
2929

30-
* `weblogic-domain-persistent-volume.yaml` can be customized and used to create the persistent volume for this domain.
31-
* `weblogic-domain-persistent-volume-claim.yaml` can be customized and used to create the persistent volume claim for this domain.
30+
* `weblogic-domain-pv.yaml` can be customized and used to create the persistent volume for this domain.
31+
* `weblogic-domain-pvc.yaml` can be customized and used to create the persistent volume claim for this domain.
3232
* `create-weblogic-domain-job.yaml` can be ignored when creating the domain manually.
3333
* `domain-custom-resource.yaml` can be customized and used to create the domain custom resource.
3434

@@ -43,7 +43,7 @@ The persistent volume will be mounted as `/shared` within every container that i
4343
* `/shared/logs` contains log directories
4444
* `/shared/stores` contains persistent stores
4545

46-
The file `weblogic-domain-persistent-volume.yaml` contains a template to create a persistent volume. The customizable items are listed below:
46+
The file `weblogic-domain-pv.yaml` contains a template to create a persistent volume. The customizable items are listed below:
4747

4848
* Persistent volume name
4949
* Storage class name
@@ -57,7 +57,7 @@ The file `weblogic-domain-persistent-volume.yaml` contains a template to create
5757
To create the persistent volume issue the following command:
5858

5959
```
60-
kubectl create –f weblogic-domain-persistent-volume.yaml
60+
kubectl create –f weblogic-domain-pv.yaml
6161
```
6262

6363
To verify the persistent volume was created, use this command:
@@ -70,7 +70,7 @@ Replace `PV_NAME` with the name of the persistent volume.
7070

7171
## Preparing to create the persistent volume claim
7272

73-
The file `weblogic-domain-persistent-volume-claim.yaml` contains a template to claim a portion of the persistent volume storage. The customizable items are listed below:
73+
The file `weblogic-domain-pvc.yaml` contains a template to claim a portion of the persistent volume storage. The customizable items are listed below:
7474

7575
* Persistent volume claim name
7676
* Namespace name
@@ -83,7 +83,7 @@ The file `weblogic-domain-persistent-volume-claim.yaml` contains a template to c
8383
To create the persistent volume claim issue the following command:
8484

8585
```
86-
kubectl create –f weblogic-domain-persistent-volume-claim.yaml
86+
kubectl create –f weblogic-domain-pvc.yaml
8787
```
8888

8989
To verify the persistent volume was created, use this command:

site/name-changes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ The names of several of the generated YAML files have changed.
8888
| --- | --- |
8989
| domain-custom-resource.yaml | same |
9090
| domain-job.yaml | create-weblogic-domain-job.yaml |
91-
| persistent-volume.yaml | weblogic-domain-persistent-volume.yaml |
92-
| persistent-volume-claim.yaml | weblogic-domain-persistent-volume-claim.yaml |
91+
| persistent-volume.yaml | weblogic-domain-pv.yaml |
92+
| persistent-volume-claim.yaml | weblogic-domain-pvc.yaml |
9393
| rbac.yaml | weblogic-operator-security.yaml |
9494
| traefik-deployment.yaml | weblogic-domain-traefik-${clusterName, lower case}.yaml |
9595
| traefik-rbac.yaml | weblogic-domain-traefik-security-${clusterName, lower case}.yaml |

src/test/java/oracle/kubernetes/operator/create/DomainFiles.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ public class DomainFiles {
1616
private static final String CREATE_WEBLOGIC_DOMAIN_INPUTS_YAML = "create-weblogic-domain-inputs.yaml";
1717
private static final String DOMAIN_CUSTOM_RESOURCE_YAML = "domain-custom-resource.yaml";
1818
private static final String CREATE_WEBLOGIC_DOMAIN_JOB_YAML = "create-weblogic-domain-job.yaml";
19-
private static final String WEBLOGIC_DOMAIN_PERSISTENT_VOLUME_YAML = "weblogic-domain-persistent-volume.yaml";
20-
private static final String WEBLOGIC_DOMAIN_PERSISTENT_VOLUME_CLAIM_YAML = "weblogic-domain-persistent-volume-claim.yaml";
19+
private static final String WEBLOGIC_DOMAIN_PERSISTENT_VOLUME_YAML = "weblogic-domain-pv.yaml";
20+
private static final String WEBLOGIC_DOMAIN_PERSISTENT_VOLUME_CLAIM_YAML = "weblogic-domain-pvc.yaml";
2121

2222
private Path userProjectsPath;
2323
private CreateDomainInputs inputs;

src/test/java/oracle/kubernetes/operator/create/ParsedWeblogicDomainPersistentVolumeClaimYaml.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import io.kubernetes.client.models.V1PersistentVolumeClaim;
99

1010
/**
11-
* Parses a generated weblogic-domain-persistent-volume-claim.yaml file into a set of typed k8s java objects
11+
* Parses a generated weblogic-domain-pvc.yaml file into a set of typed k8s java objects
1212
*/
1313
public class ParsedWeblogicDomainPersistentVolumeClaimYaml extends ParsedKubernetesYaml {
1414

src/test/java/oracle/kubernetes/operator/create/ParsedWeblogicDomainPersistentVolumeYaml.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import io.kubernetes.client.models.V1PersistentVolume;
99

1010
/**
11-
* Parses a generated weblogic-domain-persistent-volume.yaml file into a set of typed k8s java objects
11+
* Parses a generated weblogic-domain-pv.yaml file into a set of typed k8s java objects
1212
*/
1313
public class ParsedWeblogicDomainPersistentVolumeYaml extends ParsedKubernetesYaml {
1414

src/test/java/oracle/kubernetes/operator/create/PodHelperConfigTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class PodHelperConfigTest {
4343
private static final String WEBLOGIC_CREDENTIALS_SECRET_NAME = "test-weblogic-credentials-secret-name";
4444
private static final int ADMIN_SERVER_PORT = 7654;
4545
private static final int MANAGED_SERVER_PORT = 4567;
46-
private static final String WEBLOGIC_DOMAIN_PERSISTENT_VOLUME_CLAIM_NAME = "test-weblogic-domain-persistent-volume-claim-name";
46+
private static final String WEBLOGIC_DOMAIN_PERSISTENT_VOLUME_CLAIM_NAME = "test-weblogic-domain-pvc-name";
4747
private static final String INTERNAL_OPERATOR_CERT_FILE = "test-internal-operator-cert-file";
4848
private static final String CUSTOM_LATEST_IMAGE = "custom-image:latest";
4949
private static final String ADMIN_OPTION1_NAME = "AdminOption1Name";

0 commit comments

Comments
 (0)