Skip to content

Commit b8232a5

Browse files
Changed target enable-cert-generation to enable-cert-rotation
Signed-off-by: Patryk Strusiewicz-Surmacki <patryk-pawel.strusiewicz-surmacki@external.telekom.de>
1 parent 336fe34 commit b8232a5

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
go-version: ${{ env.go-version }}
103103
cache-dependency-path: "**/go.sum"
104104
- run: make image
105-
- run: make enable-certs-generation
105+
- run: make enable-certs-rotation
106106
working-directory: v2/e2e
107107
- run: make start KUBERNETES_VERSION=${{ matrix.kindest-node }}
108108
working-directory: v2/e2e

docs/setup.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ config/default/cert.pem config/default/egress-key.pem config/default/ip
5151
config/default/egress-cert.pem config/default/ipam-cert.pem config/default/key.pem
5252
```
5353

54-
### Enable automatic certs generation
54+
### Enable automatic certs rotation
5555

56-
Run `make enable-certs-generation` under `v2/` directory to enable automatic certificate generation in `coil`.
56+
Run `make enable-certs-rotation` under `v2/` directory to enable automatic certificate generation in `coil`.
5757

5858
```console
59-
$ make enable-certs-generation
59+
$ make enable-certs-rotation
6060
```
6161

6262
This will configure the kustomization files that will can be later used by `make install-coil` target.

v2/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@ define comment_certs
301301
@sed -i -E "{s/(^ +.*\/tls.*)/# \1/g}" ${$@_FILE}
302302
endef
303303

304-
.PHONY: enable-certs-generation
305-
enable-certs-generation:
304+
.PHONY: enable-certs-rotation
305+
enable-certs-rotation:
306306
@sed -i "23,35 {s/^# //}" kustomization.yaml
307307
@sed -i -E 's/^(- coil-.*controller_role\.yaml)/# \1/g' config/rbac/kustomization.yaml
308308
@sed -i -E 's/^# (- coil-.*controller-certs_role\.yaml)/\1/g' config/rbac/kustomization.yaml

v2/e2e/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ define comment_certs
111111
@sed -i -E "{s/(^ +.*\/tls.*)/# \1/g}" ${$@_FILE}
112112
endef
113113

114-
.PHONY: enable-certs-generation
115-
enable-certs-generation:
114+
.PHONY: enable-certs-rotation
115+
enable-certs-rotation:
116116
@sed -i "9,21 {s/^# //}" kustomization.yaml
117117
@sed -i -E 's/^(- coil-.*controller_role\.yaml)/# \1/g' ../config/rbac/kustomization.yaml
118118
@sed -i -E 's/^# (- coil-.*controller-certs_role\.yaml)/\1/g' ../config/rbac/kustomization.yaml

0 commit comments

Comments
 (0)