Skip to content

Commit ac3f8e7

Browse files
committed
Fix markdown checks to cover all md files
This also fixes issues reported by the linter.
1 parent d08c4fb commit ac3f8e7

5 files changed

+16
-13
lines changed

.gitlab-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ lint:
1212
stage: lint
1313
script:
1414
# Markdown check
15-
- mdl -c /kpa/.mdlrc */*.md
15+
- mdl -c /kpa/.mdlrc $(find . -name '*.md')

Common/Kubernetes-Kubectl-Improvements.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ $ kubectl who-can list pods
141141
No subjects found with permissions to list pods assigned through RoleBindings
142142

143143
CLUSTERROLEBINDING SUBJECT TYPE SA-NAMESPACE
144-
cluster-admin system:masters Group
145-
kubeadm:cluster-admins kubeadm:cluster-admins Group
144+
cluster-admin system:masters Group
145+
kubeadm:cluster-admins kubeadm:cluster-admins Group
146146
system:controller:attachdetach-controller attachdetach-controller ServiceAccount kube-system
147147
system:controller:cronjob-controller cronjob-controller ServiceAccount kube-system
148148
system:controller:daemon-set-controller daemon-set-controller ServiceAccount kube-system
@@ -163,8 +163,8 @@ system:controller:replication-controller replication-controller S
163163
system:controller:resourcequota-controller resourcequota-controller ServiceAccount kube-system
164164
system:controller:statefulset-controller statefulset-controller ServiceAccount kube-system
165165
system:coredns coredns ServiceAccount kube-system
166-
system:kube-controller-manager system:kube-controller-manager User
167-
system:kube-scheduler system:kube-scheduler User
166+
system:kube-controller-manager system:kube-controller-manager User
167+
system:kube-scheduler system:kube-scheduler User
168168
trivy-operator trivy-operator ServiceAccount trivy-system
169169
```
170170

Workshops/Argo-CD/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ There are several technologies covered in this workshop, the main ones are
3636
listed here:
3737

3838
- [Kubernetes](https://kubernetes.io/) also known as K8s, is an open-source
39-
system for automating deployment, scaling, and management of containerized
40-
applications.
39+
system for automating deployment, scaling, and management of containerized
40+
applications.
4141
- [Kind](https://kind.sigs.k8s.io/) a tool for running local Kubernetes
42-
clusters using Docker container "nodes".
42+
clusters using Docker container "nodes".
4343
- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/) the
44-
Kubernetes command-line tool.
44+
Kubernetes command-line tool.
4545
- [MetalLB](https://metallb.universe.tf/) a bare metal load balancer for
46-
Kubernetes.
46+
Kubernetes.
4747
- [Argo CD](https://argo-cd.readthedocs.io/) a declarative GitOps CD for
48-
Kubernetes.
48+
Kubernetes.
4949

5050
## Author
5151

Workshops/Argo-CD/Stage-1-K8S-Installation.md

+3
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,13 @@ everything that needs to be done:
3535

3636
```console
3737
$ [ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.22.0/kind-linux-amd64
38+
(no output)
3839

3940
$ chmod +x ./kind
41+
(no output)
4042

4143
$ sudo mv ./kind /usr/local/bin/kind
44+
(no output)
4245
```
4346

4447
## Create the three Kubernetes cluster

Workshops/Argo-CD/Stage-4-Argo-CD-Application-Test.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,9 @@ The yaml will produce:
161161

162162
- A `ConfigMap` that defines an `index.php` file that prints some env variables.
163163
- A `Deployment` named `webserver` with an Apache webserver with PHP that will
164-
expose the `index.php` file.
164+
expose the `index.php` file.
165165
- A `Service` with type `LoadBalancer` that will expose the `80` port of the
166-
deployment.
166+
deployment.
167167

168168
## Configure the Git repository in Argo CD
169169

0 commit comments

Comments
 (0)