Skip to content

Commit 2714bf5

Browse files
committed
Fixes #24: WordPress should be a capital P when referred to as proper noun.
1 parent 89755a4 commit 2714bf5

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

Diff for: cluster-aws-eks/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ After the cluster and nodegroup are created, you should see one EKS cluster and
4545
4646
### Deploy an application to EKS with Ansible
4747
48-
There is a `deploy.yml` playbook which deploys a Wordpress website (using MySQL for a database and EBS PVs for persistent storage) into the Kubernetes cluster.
48+
There is a `deploy.yml` playbook which deploys a WordPress website (using MySQL for a database and EBS PVs for persistent storage) into the Kubernetes cluster.
4949
5050
Run the playbook to deploy the website:
5151
5252
$ ansible-playbook -i inventory deploy.yml
5353
54-
#### Manage DNS for Wordpress with Route53 and Ansible
54+
#### Manage DNS for WordPress with Route53 and Ansible
5555
56-
If you set the following variables inside `vars/main.yml`, the Ansible playbook will also create a DNS A record pointing to the Wordpress Load Balancer for you:
56+
If you set the following variables inside `vars/main.yml`, the Ansible playbook will also create a DNS A record pointing to the WordPress Load Balancer for you:
5757
5858
wordpress_route53_zone: example.com
5959
wordpress_route53_domain: wordpress.example.com
@@ -62,9 +62,9 @@ Using this feature presumes you already have the hosted zone (e.g. `example.com`
6262
6363
> Note: If you don't have a zone configured in Route 53, you can leave these settings blank, and access the load balancer URL via DNS directly. You can find the load balancer's direct URL in the AWS Management Console, in the ELB's details in EC2 > Load Balancers.
6464
65-
### Install Wordpress
65+
### Install WordPress
6666
67-
After you run the playbook, you can visit your website URL (e.g. `http://wordpress.example.com/`) in a browser, and you should see the Wordpress installer. Follow the installation instructions, and you'll end up with a new Wordpress site.
67+
After you run the playbook, you can visit your website URL (e.g. `http://wordpress.example.com/`) in a browser, and you should see the WordPress installer. Follow the installation instructions, and you'll end up with a new WordPress site.
6868
6969
### Delete the cluster and associated resources
7070

Diff for: cluster-aws-eks/deploy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
- vars/main.yml
77

88
tasks:
9-
- name: Deploy Wordpress secrets.
9+
- name: Deploy WordPress secrets.
1010
k8s:
1111
definition: '{{ item }}'
1212
kubeconfig: '{{ k8s_kubeconfig }}'
1313
state: present
1414
loop: "{{ lookup('template', 'wordpress/mysql-pass.yml') | from_yaml_all | list }}"
1515
no_log: k8s_no_log
1616

17-
- name: Deploy MySQL and Wordpress.
17+
- name: Deploy MySQL and WordPress.
1818
k8s:
1919
definition: '{{ item }}'
2020
kubeconfig: '{{ k8s_kubeconfig }}'

Diff for: cluster-aws-eks/vars/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ eks_nodegroup_name: eks-example-nodegroup
1818
eks_nodegroup_instance_type: t3.medium
1919
eks_nodegroup_cluster_size: 3
2020

21-
# Wordpress settings.
21+
# WordPress settings.
2222
wordpress_mysql_password: ebJYfAi2QjhPsR
2323

2424
# Domain settings for Route53 DNS.

Diff for: tests/cluster-aws-eks.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ export KUBECONFIG="${HOME}/.kube/kind-config-test"
4141
kind create cluster --name=test --quiet
4242
travis_fold end "prepare.kind.cluster"
4343

44-
# Test Wordpress manifests in Kind cluster.
44+
# Test WordPress manifests in Kind cluster.
4545
ANSIBLE_PYTHON_INTERPRETER=$(which python3) \
4646
ansible-playbook -i inventory deploy.yml \
4747
-e "k8s_kubeconfig=$KUBECONFIG" \
4848
-e "aws_environment=false" \
4949
-e "k8s_no_log=false"
5050

51-
# Verify Wordpress service is present.
51+
# Verify WordPress service is present.
5252
kubectl get service wordpress

0 commit comments

Comments
 (0)