Allow implicit octals in yamllint and normalize k8s mode values
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
4518fa3ac3
commit
876e51dd77
4 changed files with 4 additions and 3 deletions
|
|
@ -21,7 +21,7 @@ rules:
|
||||||
# Required for ansible-lint compatibility
|
# Required for ansible-lint compatibility
|
||||||
comments-indentation: false
|
comments-indentation: false
|
||||||
octal-values:
|
octal-values:
|
||||||
forbid-implicit-octal: true
|
forbid-implicit-octal: false
|
||||||
forbid-explicit-octal: true
|
forbid-explicit-octal: true
|
||||||
|
|
||||||
ignore:
|
ignore:
|
||||||
|
|
|
||||||
|
|
@ -96,4 +96,4 @@ spec:
|
||||||
- name: sync-script
|
- name: sync-script
|
||||||
configMap:
|
configMap:
|
||||||
name: zim-torrent-sync-script
|
name: zim-torrent-sync-script
|
||||||
defaultMode: 493 # 0755 in decimal
|
defaultMode: 0755
|
||||||
|
|
|
||||||
|
|
@ -85,4 +85,4 @@ spec:
|
||||||
- name: sync-script
|
- name: sync-script
|
||||||
configMap:
|
configMap:
|
||||||
name: ollama-sync-script
|
name: ollama-sync-script
|
||||||
defaultMode: 0755 # yamllint disable-line rule:octal-values
|
defaultMode: 0755
|
||||||
|
|
|
||||||
1
docs/changelog.d/implicit-octal.infra.md
Normal file
1
docs/changelog.d/implicit-octal.infra.md
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Allow implicit octals in yamllint and use `0755` directly in k8s manifests instead of decimal or disable-line comments.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue