Skip to content

Commit e6b341c

Browse files
committed
Fix yaml pre-commit checks
1 parent 5476d85 commit e6b341c

File tree

4 files changed

+22
-21
lines changed

4 files changed

+22
-21
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ repos:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer
77
- id: check-yaml
8+
exclude: ^helm/templates/
89
- id: check-added-large-files
910
- id: check-toml
1011
- id: debug-statements

helm/templates/configmap.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ data:
1111
confluence-spaces-filter: {{ .Values.confluence.spacesFilter | quote }}
1212
{{- end }}
1313
{{- end }}
14-
14+
1515
{{- if .Values.jira.enabled }}
1616
jira-url: {{ .Values.jira.url | quote }}
1717
{{- if .Values.jira.projectsFilter }}
1818
jira-projects-filter: {{ .Values.jira.projectsFilter | quote }}
1919
{{- end }}
2020
{{- end }}
21-
21+
2222
{{- if eq .Values.authMode "oauth" }}
2323
oauth-redirect-uri: {{ .Values.oauth.redirectUri | quote }}
2424
oauth-scope: {{ .Values.oauth.scope | quote }}

helm/templates/secret.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ stringData:
1717
confluence-custom-headers: {{ .Values.confluence.customHeaders | quote }}
1818
{{- end }}
1919
{{- end }}
20-
20+
2121
{{- if .Values.jira.enabled }}
2222
{{- if eq .Values.authMode "api-token" }}
2323
jira-username: {{ .Values.jira.username | quote }}
@@ -29,7 +29,7 @@ stringData:
2929
jira-custom-headers: {{ .Values.jira.customHeaders | quote }}
3030
{{- end }}
3131
{{- end }}
32-
32+
3333
{{- if or (eq .Values.authMode "oauth") (eq .Values.authMode "byot") }}
3434
oauth-cloud-id: {{ .Values.oauth.cloudId | quote }}
3535
{{- if eq .Values.authMode "oauth" }}

helm/values.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -119,20 +119,20 @@ confluence:
119119
# For Cloud: https://your-company.atlassian.net/wiki
120120
# For Server/DC: https://confluence.your-company.com
121121
url: ""
122-
122+
123123
# Cloud authentication (when authMode: api-token)
124124
username: ""
125125
apiToken: ""
126-
126+
127127
# Server/DC authentication (when authMode: personal-token)
128128
personalToken: ""
129-
129+
130130
# SSL verification for Server/DC (set to false for self-signed certs)
131131
sslVerify: "true"
132-
132+
133133
# Space filter (comma-separated space keys)
134134
spacesFilter: ""
135-
135+
136136
# Custom headers (comma-separated key=value pairs)
137137
customHeaders: ""
138138

@@ -142,20 +142,20 @@ jira:
142142
# For Cloud: https://your-company.atlassian.net
143143
# For Server/DC: https://jira.your-company.com
144144
url: ""
145-
145+
146146
# Cloud authentication (when authMode: api-token)
147147
username: ""
148148
apiToken: ""
149-
149+
150150
# Server/DC authentication (when authMode: personal-token)
151151
personalToken: ""
152-
152+
153153
# SSL verification for Server/DC
154154
sslVerify: "true"
155-
155+
156156
# Project filter (comma-separated project keys)
157157
projectsFilter: ""
158-
158+
159159
# Custom headers (comma-separated key=value pairs)
160160
customHeaders: ""
161161

@@ -164,13 +164,13 @@ jira:
164164
oauth:
165165
# Cloud ID (from --oauth-setup wizard or known for your instance)
166166
cloudId: ""
167-
167+
168168
# For standard OAuth flow (authMode: oauth)
169169
clientId: ""
170170
clientSecret: ""
171171
redirectUri: "http://localhost:8080/callback"
172172
scope: "read:jira-work write:jira-work read:confluence-content.all write:confluence-content offline_access"
173-
173+
174174
# For BYOT mode (authMode: byot)
175175
# Provide pre-existing access token
176176
accessToken: ""
@@ -182,7 +182,7 @@ proxy:
182182
https: ""
183183
noProxy: "localhost,127.0.0.1"
184184
socks: ""
185-
185+
186186
# Service-specific proxy overrides
187187
confluence:
188188
http: ""
@@ -197,16 +197,16 @@ proxy:
197197
config:
198198
# Read-only mode (disables all write operations)
199199
readOnlyMode: false
200-
200+
201201
# Enable verbose logging
202202
verbose: false
203-
203+
204204
# Very verbose logging (includes debug info)
205205
veryVerbose: false
206-
206+
207207
# Log to stdout instead of stderr
208208
loggingStdout: true
209-
209+
210210
# Comma-separated list of enabled tools
211211
# Leave empty to enable all tools
212212
# Example: "confluence_search,jira_get_issue,jira_search"

0 commit comments

Comments
 (0)