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
|
||||
comments-indentation: false
|
||||
octal-values:
|
||||
forbid-implicit-octal: true
|
||||
forbid-implicit-octal: false
|
||||
forbid-explicit-octal: true
|
||||
|
||||
ignore:
|
||||
|
|
|
|||
|
|
@ -96,4 +96,4 @@ spec:
|
|||
- name: sync-script
|
||||
configMap:
|
||||
name: zim-torrent-sync-script
|
||||
defaultMode: 493 # 0755 in decimal
|
||||
defaultMode: 0755
|
||||
|
|
|
|||
|
|
@ -85,4 +85,4 @@ spec:
|
|||
- name: sync-script
|
||||
configMap:
|
||||
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