Skip to content

Commit f6dc0a3

Browse files
committed
fix: regenerate manifests
Add dirtiness check so that we will never have outdated manifests. Signed-off-by: Andrey Smirnov <[email protected]>
1 parent 2a4115f commit f6dc0a3

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.drone.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ steps:
3333
PLATFORM: linux/amd64,linux/arm64
3434
commands:
3535
- make
36+
- make check-dirty
3637
when:
3738
event:
3839
include:
@@ -116,6 +117,7 @@ steps:
116117
pull: always
117118
commands:
118119
- make release
120+
- make check-dirty
119121
when:
120122
event:
121123
- tag
@@ -181,6 +183,6 @@ depends_on:
181183

182184
---
183185
kind: signature
184-
hmac: 405eea502f51dfc9368f81971ca97c96ac99f5fff6ddc1afa613894e80dd67c2
186+
hmac: 08c8794304be76a3ddf7d3fd138b79c792dd747c9d57004e7836363fb0985e32
185187

186188
...

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ run: install ## Run the controller locally. This is for testing purposes only.
125125
clean:
126126
@rm -rf $(ARTIFACTS)
127127

128+
check-dirty: ## Verifies that source tree is not dirty
129+
@if test -n "`git status --porcelain`"; then echo "Source tree is dirty"; git status; exit 1 ; fi
130+
128131
conformance: ## Performs policy checks against the commit and source code.
129132
docker run --rm -it -v $(PWD):/src -w /src ghcr.io/talos-systems/conform:v0.1.0-alpha.23 enforce
130133

config/crd/bases/bootstrap.cluster.x-k8s.io_talosconfigs.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,9 @@ spec:
183183
consumed
184184
type: boolean
185185
talosConfig:
186-
description: Talos config will be a string containing the config for
187-
download
186+
description: "Talos config will be a string containing the config
187+
for download. \n Deprecated: please use `<cluster>-talosconfig`
188+
secret."
188189
type: string
189190
type: object
190191
type: object

0 commit comments

Comments
 (0)