Skip to content

Instantly share code, notes, and snippets.

@varac
Created November 22, 2022 20:15
Show Gist options
  • Save varac/1ea134e78288e79dd7e95e4454cc0b57 to your computer and use it in GitHub Desktop.
Save varac/1ea134e78288e79dd7e95e4454cc0b57 to your computer and use it in GitHub Desktop.
lsp.log
[START][2022-11-22 21:13:48] LSP logging initiated
[INFO][2022-11-22 21:13:48] .../vim/lsp/rpc.lua:261 "Starting RPC client" {
args = { "--stdio" },
cmd = "yaml-language-server",
extra = {
cwd = "/tmp/bitnami"
}
}
[TRACE][2022-11-22 21:13:48] .../lua/vim/lsp.lua:953 "LSP[yamlls]" "initialize_params" {
capabilities = {
callHierarchy = {
dynamicRegistration = false
},
textDocument = {
codeAction = {
codeActionLiteralSupport = {
codeActionKind = {
valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" }
}
},
dataSupport = true,
dynamicRegistration = false,
resolveSupport = {
properties = { "edit" }
}
},
completion = {
completionItem = {
commitCharactersSupport = false,
deprecatedSupport = false,
documentationFormat = { "markdown", "plaintext" },
preselectSupport = false,
snippetSupport = false
},
completionItemKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 }
},
contextSupport = false,
dynamicRegistration = false
},
declaration = {
linkSupport = true
},
definition = {
linkSupport = true
},
documentHighlight = {
dynamicRegistration = false
},
documentSymbol = {
dynamicRegistration = false,
hierarchicalDocumentSymbolSupport = true,
symbolKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
}
},
hover = {
contentFormat = { "markdown", "plaintext" },
dynamicRegistration = false
},
implementation = {
linkSupport = true
},
publishDiagnostics = {
relatedInformation = true,
tagSupport = {
valueSet = { 1, 2 }
}
},
references = {
dynamicRegistration = false
},
rename = {
dynamicRegistration = false,
prepareSupport = true
},
signatureHelp = {
dynamicRegistration = false,
signatureInformation = {
activeParameterSupport = true,
documentationFormat = { "markdown", "plaintext" },
parameterInformation = {
labelOffsetSupport = true
}
}
},
synchronization = {
didSave = true,
dynamicRegistration = false,
willSave = false,
willSaveWaitUntil = false
},
typeDefinition = {
linkSupport = true
}
},
window = {
showDocument = {
support = false
},
showMessage = {
messageActionItem = {
additionalPropertiesSupport = false
}
},
workDoneProgress = true
},
workspace = {
applyEdit = true,
configuration = true,
symbol = {
dynamicRegistration = false,
hierarchicalWorkspaceSymbolSupport = true,
symbolKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
}
},
workspaceEdit = {
resourceOperations = { "rename", "create", "delete" }
},
workspaceFolders = true
}
},
clientInfo = {
name = "Neovim",
version = "0.7.2"
},
initializationOptions = vim.empty_dict(),
processId = 263466,
rootPath = "/tmp/bitnami",
rootUri = "file:///tmp/bitnami",
trace = "off",
workspaceFolders = { {
name = "/tmp/bitnami",
uri = "file:///tmp/bitnami"
} }
}
[DEBUG][2022-11-22 21:13:48] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 1,
jsonrpc = "2.0",
method = "initialize",
params = {
capabilities = {
callHierarchy = {
dynamicRegistration = false
},
textDocument = {
codeAction = {
codeActionLiteralSupport = {
codeActionKind = {
valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" }
}
},
dataSupport = true,
dynamicRegistration = false,
resolveSupport = {
properties = { "edit" }
}
},
completion = {
completionItem = {
commitCharactersSupport = false,
deprecatedSupport = false,
documentationFormat = { "markdown", "plaintext" },
preselectSupport = false,
snippetSupport = false
},
completionItemKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 }
},
contextSupport = false,
dynamicRegistration = false
},
declaration = {
linkSupport = true
},
definition = {
linkSupport = true
},
documentHighlight = {
dynamicRegistration = false
},
documentSymbol = {
dynamicRegistration = false,
hierarchicalDocumentSymbolSupport = true,
symbolKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
}
},
hover = {
contentFormat = { "markdown", "plaintext" },
dynamicRegistration = false
},
implementation = {
linkSupport = true
},
publishDiagnostics = {
relatedInformation = true,
tagSupport = {
valueSet = { 1, 2 }
}
},
references = {
dynamicRegistration = false
},
rename = {
dynamicRegistration = false,
prepareSupport = true
},
signatureHelp = {
dynamicRegistration = false,
signatureInformation = {
activeParameterSupport = true,
documentationFormat = { "markdown", "plaintext" },
parameterInformation = {
labelOffsetSupport = true
}
}
},
synchronization = {
didSave = true,
dynamicRegistration = false,
willSave = false,
willSaveWaitUntil = false
},
typeDefinition = {
linkSupport = true
}
},
window = {
showDocument = {
support = false
},
showMessage = {
messageActionItem = {
additionalPropertiesSupport = false
}
},
workDoneProgress = true
},
workspace = {
applyEdit = true,
configuration = true,
symbol = {
dynamicRegistration = false,
hierarchicalWorkspaceSymbolSupport = true,
symbolKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
}
},
workspaceEdit = {
resourceOperations = { "rename", "create", "delete" }
},
workspaceFolders = true
}
},
clientInfo = {
name = "Neovim",
version = "0.7.2"
},
initializationOptions = vim.empty_dict(),
processId = 263466,
rootPath = "/tmp/bitnami",
rootUri = "file:///tmp/bitnami",
trace = "off",
workspaceFolders = { {
name = "/tmp/bitnami",
uri = "file:///tmp/bitnami"
} }
}
}
[INFO][2022-11-22 21:13:48] .../vim/lsp/rpc.lua:261 "Starting RPC client" {
args = { "serve" },
cmd = "helm_ls",
extra = {
cwd = "/tmp/bitnami/bitnami/nginx"
}
}
[TRACE][2022-11-22 21:13:48] .../lua/vim/lsp.lua:953 "LSP[helm_ls]" "initialize_params" {
capabilities = {
callHierarchy = {
dynamicRegistration = false
},
textDocument = {
codeAction = {
codeActionLiteralSupport = {
codeActionKind = {
valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" }
}
},
dataSupport = true,
dynamicRegistration = false,
resolveSupport = {
properties = { "edit" }
}
},
completion = {
completionItem = {
commitCharactersSupport = false,
deprecatedSupport = false,
documentationFormat = { "markdown", "plaintext" },
preselectSupport = false,
snippetSupport = false
},
completionItemKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 }
},
contextSupport = false,
dynamicRegistration = false
},
declaration = {
linkSupport = true
},
definition = {
linkSupport = true
},
documentHighlight = {
dynamicRegistration = false
},
documentSymbol = {
dynamicRegistration = false,
hierarchicalDocumentSymbolSupport = true,
symbolKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
}
},
hover = {
contentFormat = { "markdown", "plaintext" },
dynamicRegistration = false
},
implementation = {
linkSupport = true
},
publishDiagnostics = {
relatedInformation = true,
tagSupport = {
valueSet = { 1, 2 }
}
},
references = {
dynamicRegistration = false
},
rename = {
dynamicRegistration = false,
prepareSupport = true
},
signatureHelp = {
dynamicRegistration = false,
signatureInformation = {
activeParameterSupport = true,
documentationFormat = { "markdown", "plaintext" },
parameterInformation = {
labelOffsetSupport = true
}
}
},
synchronization = {
didSave = true,
dynamicRegistration = false,
willSave = false,
willSaveWaitUntil = false
},
typeDefinition = {
linkSupport = true
}
},
window = {
showDocument = {
support = false
},
showMessage = {
messageActionItem = {
additionalPropertiesSupport = false
}
},
workDoneProgress = true
},
workspace = {
applyEdit = true,
configuration = true,
symbol = {
dynamicRegistration = false,
hierarchicalWorkspaceSymbolSupport = true,
symbolKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
}
},
workspaceEdit = {
resourceOperations = { "rename", "create", "delete" }
},
workspaceFolders = true
}
},
clientInfo = {
name = "Neovim",
version = "0.7.2"
},
initializationOptions = vim.empty_dict(),
processId = 263466,
rootPath = "/tmp/bitnami/bitnami/nginx",
rootUri = "file:///tmp/bitnami/bitnami/nginx",
trace = "off",
workspaceFolders = { {
name = "/tmp/bitnami/bitnami/nginx",
uri = "file:///tmp/bitnami/bitnami/nginx"
} }
}
[DEBUG][2022-11-22 21:13:48] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 1,
jsonrpc = "2.0",
method = "initialize",
params = {
capabilities = {
callHierarchy = {
dynamicRegistration = false
},
textDocument = {
codeAction = {
codeActionLiteralSupport = {
codeActionKind = {
valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" }
}
},
dataSupport = true,
dynamicRegistration = false,
resolveSupport = {
properties = { "edit" }
}
},
completion = {
completionItem = {
commitCharactersSupport = false,
deprecatedSupport = false,
documentationFormat = { "markdown", "plaintext" },
preselectSupport = false,
snippetSupport = false
},
completionItemKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 }
},
contextSupport = false,
dynamicRegistration = false
},
declaration = {
linkSupport = true
},
definition = {
linkSupport = true
},
documentHighlight = {
dynamicRegistration = false
},
documentSymbol = {
dynamicRegistration = false,
hierarchicalDocumentSymbolSupport = true,
symbolKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
}
},
hover = {
contentFormat = { "markdown", "plaintext" },
dynamicRegistration = false
},
implementation = {
linkSupport = true
},
publishDiagnostics = {
relatedInformation = true,
tagSupport = {
valueSet = { 1, 2 }
}
},
references = {
dynamicRegistration = false
},
rename = {
dynamicRegistration = false,
prepareSupport = true
},
signatureHelp = {
dynamicRegistration = false,
signatureInformation = {
activeParameterSupport = true,
documentationFormat = { "markdown", "plaintext" },
parameterInformation = {
labelOffsetSupport = true
}
}
},
synchronization = {
didSave = true,
dynamicRegistration = false,
willSave = false,
willSaveWaitUntil = false
},
typeDefinition = {
linkSupport = true
}
},
window = {
showDocument = {
support = false
},
showMessage = {
messageActionItem = {
additionalPropertiesSupport = false
}
},
workDoneProgress = true
},
workspace = {
applyEdit = true,
configuration = true,
symbol = {
dynamicRegistration = false,
hierarchicalWorkspaceSymbolSupport = true,
symbolKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
}
},
workspaceEdit = {
resourceOperations = { "rename", "create", "delete" }
},
workspaceFolders = true
}
},
clientInfo = {
name = "Neovim",
version = "0.7.2"
},
initializationOptions = vim.empty_dict(),
processId = 263466,
rootPath = "/tmp/bitnami/bitnami/nginx",
rootUri = "file:///tmp/bitnami/bitnami/nginx",
trace = "off",
workspaceFolders = { {
name = "/tmp/bitnami/bitnami/nginx",
uri = "file:///tmp/bitnami/bitnami/nginx"
} }
}
}
[ERROR][2022-11-22 21:13:48] .../vim/lsp/rpc.lua:420 "rpc" "helm_ls" "stderr" '{"level":"info","msg":"helm-lint-langserver: connections opened","time":"2022-11-22T21:13:48+01:00"}\n'
[DEBUG][2022-11-22 21:13:48] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 1,
jsonrpc = "2.0",
result = {
capabilities = {
completionProvider = {
triggerCharacters = { ".", "$." }
},
textDocumentSync = {
change = 1,
openClose = true,
save = {
includeText = true
}
}
}
}
}
[DEBUG][2022-11-22 21:13:48] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "initialized",
params = vim.empty_dict()
}
[DEBUG][2022-11-22 21:13:48] .../lua/vim/lsp.lua:982 "LSP[helm_ls]" "server_capabilities" {
completionProvider = {
triggerCharacters = { ".", "$." }
},
textDocumentSync = {
change = 1,
openClose = true,
save = {
includeText = true
}
}
}
[INFO][2022-11-22 21:13:48] .../lua/vim/lsp.lua:983 "LSP[helm_ls]" "initialized" {
resolved_capabilities = {
call_hierarchy = false,
code_action = false,
code_lens = false,
code_lens_resolve = false,
completion = true,
declaration = false,
document_formatting = false,
document_highlight = false,
document_range_formatting = false,
document_symbol = false,
execute_command = false,
find_references = false,
goto_definition = false,
hover = false,
implementation = false,
rename = false,
signature_help = false,
signature_help_trigger_characters = {},
text_document_did_change = 1,
text_document_open_close = true,
text_document_save = {
includeText = true
},
text_document_save_include_text = true,
text_document_will_save = false,
text_document_will_save_wait_until = false,
type_definition = false,
workspace_folder_properties = {
changeNotifications = false,
supported = false
},
workspace_symbol = false
}
}
[DEBUG][2022-11-22 21:13:48] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didOpen",
params = {
textDocument = {
languageId = "helm",
text = "apiVersion: {{ include \"common.capabilities.deployment.apiVersion\" . }}\nkind: Deployment\nmetadata:\n name: {{ include \"common.names.fullname\" . }}\n namespace: {{ include \"common.names.namespace\" . | quote }}\n labels: {{- include \"common.labels.standard\" . | nindent 4 }}\n {{- if .Values.commonLabels }}\n {{- include \"common.tplvalues.render\" ( dict \"value\" .Values.commonLabels \"context\" $ ) | nindent 4 }}\n {{- end }}\n {{- if .Values.commonAnnotations }}\n annotations: {{- include \"common.tplvalues.render\" ( dict \"value\" .Values.commonAnnotations \"context\" $ ) | nindent 4 }}\n {{- end }}\nspec:\n {{- if not .Values.autoscaling.enabled }}\n replicas: {{ .Values.replicaCount }}\n {{- end }}\n {{- if .Values.updateStrategy }}\n strategy: {{- toYaml .Values.updateStrategy | nindent 4 }}\n {{- end }}\n selector:\n matchLabels: {{- include \"common.labels.matchLabels\" . | nindent 6 }}\n template:\n metadata:\n labels: {{- include \"common.labels.standard\" . | nindent 8 }}\n {{- if .Values.podLabels }}\n {{- include \"common.tplvalues.render\" (dict \"value\" .Values.podLabels \"context\" $) | nindent 8 }}\n {{- end }}\n annotations:\n {{- if .Values.podAnnotations }}\n {{- include \"common.tplvalues.render\" ( dict \"value\" .Values.podAnnotations \"context\" $) | nindent 8 }}\n {{- end }}\n {{- if and .Values.metrics.enabled .Values.metrics.podAnnotations }}\n {{- include \"common.tplvalues.render\" ( dict \"value\" .Values.metrics.podAnnotations \"context\" $) | nindent 8 }}\n {{- end }}\n {{- if and .Values.serverBlock (not .Values.existingServerBlockConfigmap) }}\n checksum/server-block-configuration: {{ include (print $.Template.BasePath \"/server-block-configmap.yaml\") . | sha256sum }}\n {{- end }}\n spec:\n {{- include \"nginx.imagePullSecrets\" . | nindent 6 }}\n automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}\n shareProcessNamespace: {{ .Values.sidecarSingleProcessNamespace }}\n serviceAccountName: {{ template \"nginx.serviceAccountName\" . }}\n {{- if .Values.hostAliases }}\n hostAliases: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.hostAliases \"context\" $) | nindent 8 }}\n {{- end }}\n {{- if .Values.affinity }}\n affinity: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.affinity \"context\" $) | nindent 8 }}\n {{- else }}\n affinity:\n podAffinity: {{- include \"common.affinities.pods\" (dict \"type\" .Values.podAffinityPreset \"context\" $) | nindent 10 }}\n podAntiAffinity: {{- include \"common.affinities.pods\" (dict \"type\" .Values.podAntiAffinityPreset \"context\" $) | nindent 10 }}\n nodeAffinity: {{- include \"common.affinities.nodes\" (dict \"type\" .Values.nodeAffinityPreset.type \"key\" .Values.nodeAffinityPreset.key \"values\" .Values.nodeAffinityPreset.values) | nindent 10 }}\n {{- end }}\n hostNetwork: {{ .Values.hostNetwork }}\n hostIPC: {{ .Values.hostIPC }}\n {{- if .Values.priorityClassName }}\n priorityClassName: {{ .Values.priorityClassName | quote }}\n {{- end }}\n {{- if .Values.nodeSelector }}\n nodeSelector: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.nodeSelector \"context\" $) | nindent 8 }}\n {{- end }}\n {{- if .Values.tolerations }}\n tolerations: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.tolerations \"context\" $) | nindent 8 }}\n {{- end }}\n {{- if .Values.schedulerName }}\n schedulerName: {{ .Values.schedulerName | quote }}\n {{- end }}\n {{- if .Values.topologySpreadConstraints }}\n topologySpreadConstraints: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.topologySpreadConstraints \"context\" .) | nindent 8 }}\n {{- end }}\n {{- if .Values.podSecurityContext.enabled }}\n securityContext: {{- omit .Values.podSecurityContext \"enabled\" | toYaml | nindent 8 }}\n {{- end }}\n {{- if .Values.terminationGracePeriodSeconds }}\n terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }}\n {{- end }}\n initContainers:\n {{- if .Values.cloneStaticSiteFromGit.enabled }}\n - name: git-clone-repository\n image: {{ include \"nginx.cloneStaticSiteFromGit.image\" . }}\n imagePullPolicy: {{ .Values.cloneStaticSiteFromGit.image.pullPolicy | quote }}\n {{- if .Values.containerSecurityContext.enabled }}\n securityContext: {{- omit .Values.containerSecurityContext \"enabled\" | toYaml | nindent 12 }}\n {{- end }}\n {{- if .Values.cloneStaticSiteFromGit.gitClone.command }}\n command: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.cloneStaticSiteFromGit.gitClone.command \"context\" $) | nindent 12 }}\n {{- else }}\n command:\n - /bin/bash\n - -ec\n - |\n [[ -f \"/opt/bitnami/scripts/git/entrypoint.sh\" ]] && source \"/opt/bitnami/scripts/git/entrypoint.sh\"\n git clone {{ .Values.cloneStaticSiteFromGit.repository }} --branch {{ .Values.cloneStaticSiteFromGit.branch }} /tmp/app\n [[ \"$?\" -eq 0 ]] && rm -rf /app/* && mv /tmp/repo/* /app/\n {{- end }}\n {{- if .Values.cloneStaticSiteFromGit.gitClone.args }}\n args: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.cloneStaticSiteFromGit.gitClone.args \"context\" $) | nindent 12 }}\n {{- end }}\n volumeMounts:\n - name: staticsite\n mountPath: /app\n {{- if .Values.cloneStaticSiteFromGit.extraVolumeMounts }}\n {{- include \"common.tplvalues.render\" (dict \"value\" .Values.cloneStaticSiteFromGit.extraVolumeMounts \"context\" $) | nindent 12 }}\n {{- end }}\n {{- if .Values.cloneStaticSiteFromGit.extraEnvVars }}\n env: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.cloneStaticSiteFromGit.extraEnvVars \"context\" $) | nindent 12 }}\n {{- end }}\n {{- end }}\n {{- if .Values.initContainers }}\n {{- include \"common.tplvalues.render\" (dict \"value\" .Values.initContainers \"context\" $) | nindent 8 }}\n {{- end }}\n containers:\n {{- if .Values.cloneStaticSiteFromGit.enabled }}\n - name: git-repo-syncer\n image: {{ include \"nginx.cloneStaticSiteFromGit.image\" . }}\n imagePullPolicy: {{ .Values.cloneStaticSiteFromGit.image.pullPolicy | quote }}\n {{- if .Values.containerSecurityContext.enabled }}\n securityContext: {{- omit .Values.containerSecurityContext \"enabled\" | toYaml | nindent 12 }}\n {{- end }}\n {{- if .Values.cloneStaticSiteFromGit.gitSync.command }}\n command: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.cloneStaticSiteFromGit.gitSync.command \"context\" $) | nindent 12 }}\n {{- else }}\n command:\n - /bin/bash\n - -ec\n - |\n [[ -f \"/opt/bitnami/scripts/git/entrypoint.sh\" ]] && source \"/opt/bitnami/scripts/git/entrypoint.sh\"\n while true; do\n cd /app && git pull origin {{ .Values.cloneStaticSiteFromGit.branch }}\n sleep {{ .Values.cloneStaticSiteFromGit.interval }}\n done\n {{- end }}\n {{- if .Values.cloneStaticSiteFromGit.gitSync.args }}\n args: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.cloneStaticSiteFromGit.gitSync.args \"context\" $) | nindent 12 }}\n {{- end }}\n volumeMounts:\n - name: staticsite\n mountPath: /app\n {{- if .Values.cloneStaticSiteFromGit.extraVolumeMounts }}\n {{- include \"common.tplvalues.render\" (dict \"value\" .Values.cloneStaticSiteFromGit.extraVolumeMounts \"context\" $) | nindent 12 }}\n {{- end }}\n {{- if .Values.cloneStaticSiteFromGit.extraEnvVars }}\n env: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.cloneStaticSiteFromGit.extraEnvVars \"context\" $) | nindent 12 }}\n {{- end }}\n {{- end }}\n - name: nginx\n image: {{ include \"nginx.image\" . }}\n imagePullPolicy: {{ .Values.image.pullPolicy | quote }}\n {{- if .Values.containerSecurityContext.enabled }}\n securityContext: {{- omit .Values.containerSecurityContext \"enabled\" | toYaml | nindent 12 }}\n {{- end }}\n {{- if .Values.diagnosticMode.enabled }}\n command: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.diagnosticMode.command \"context\" $) | nindent 12 }}\n {{- else if .Values.command }}\n command: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.command \"context\" $) | nindent 12 }}\n {{- end }}\n {{- if .Values.diagnosticMode.enabled }}\n args: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.diagnosticMode.args \"context\" $) | nindent 12 }}\n {{- else if .Values.args }}\n args: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.args \"context\" $) | nindent 12 }}\n {{- end }}\n {{- if .Values.lifecycleHooks }}\n lifecycle: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.lifecycleHooks \"context\" $) | nindent 12 }}\n {{- end }}\n env:\n - name: BITNAMI_DEBUG\n value: {{ ternary \"true\" \"false\" .Values.image.debug | quote }}\n - name: NGINX_HTTP_PORT_NUMBER\n value: {{ .Values.containerPorts.http | quote }}\n {{- if .Values.containerPorts.https }}\n - name: NGINX_HTTPS_PORT_NUMBER\n value: {{ .Values.containerPorts.https | quote }}\n {{- end }}\n {{- if .Values.extraEnvVars }}\n {{- include \"common.tplvalues.render\" (dict \"value\" .Values.extraEnvVars \"context\" $) | nindent 12 }}\n {{- end }}\n envFrom:\n {{- if .Values.extraEnvVarsCM }}\n - configMapRef:\n name: {{ include \"common.tplvalues.render\" (dict \"value\" .Values.extraEnvVarsCM \"context\" $) }}\n {{- end }}\n {{- if .Values.extraEnvVarsSecret }}\n - secretRef:\n name: {{ include \"common.tplvalues.render\" (dict \"value\" .Values.extraEnvVarsSecret \"context\" $) }}\n {{- end }}\n ports:\n - name: http\n containerPort: {{ .Values.containerPorts.http }}\n {{- if .Values.containerPorts.https }}\n - name: https\n containerPort: {{ .Values.containerPorts.https }}\n {{- end }}\n {{- if .Values.extraContainerPorts }}\n {{- include \"common.tplvalues.render\" (dict \"value\" .Values.extraContainerPorts \"context\" $) | nindent 12 }}\n {{- end }}\n {{- if not .Values.diagnosticMode.enabled }}\n {{- if .Values.customLivenessProbe }}\n livenessProbe: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.customLivenessProbe \"context\" $) | nindent 12 }}\n {{- else if .Values.livenessProbe.enabled }}\n livenessProbe: {{- include \"common.tplvalues.render\" (dict \"value\" (omit .Values.livenessProbe \"enabled\") \"context\" $) | nindent 12 }}\n tcpSocket:\n port: http\n {{- end }}\n {{- if .Values.customReadinessProbe }}\n readinessProbe: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.customReadinessProbe \"context\" $) | nindent 12 }}\n {{- else if .Values.readinessProbe.enabled }}\n readinessProbe: {{- include \"common.tplvalues.render\" (dict \"value\" (omit .Values.readinessProbe \"enabled\") \"context\" $) | nindent 12 }}\n tcpSocket:\n port: http\n {{- end }}\n {{- if .Values.customStartupProbe }}\n startupProbe: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.customStartupProbe \"context\" $) | nindent 12 }}\n {{- else if .Values.startupProbe.enabled }}\n startupProbe: {{- include \"common.tplvalues.render\" (dict \"value\" (omit .Values.startupProbe \"enabled\") \"context\" $) | nindent 12 }}\n tcpSocket:\n port: http\n {{- end }}\n {{- end }}\n {{- if .Values.resources }}\n resources: {{- toYaml .Values.resources | nindent 12 }}\n {{- end }}\n volumeMounts:\n {{- if or .Values.serverBlock .Values.existingServerBlockConfigmap }}\n - name: nginx-server-block\n mountPath: /opt/bitnami/nginx/conf/server_blocks\n {{- end }}\n {{- if (include \"nginx.useStaticSite\" .) }}\n - name: staticsite\n mountPath: /app\n {{- end }}\n {{- if .Values.extraVolumeMounts }}\n {{- include \"common.tplvalues.render\" ( dict \"value\" .Values.extraVolumeMounts \"context\" $) | nindent 12 }}\n {{- end }}\n {{- if .Values.metrics.enabled }}\n - name: metrics\n image: {{ include \"nginx.metrics.image\" . }}\n imagePullPolicy: {{ .Values.metrics.image.pullPolicy | quote }}\n {{- if .Values.metrics.securityContext.enabled }}\n securityContext: {{- omit .Values.metrics.securityContext \"enabled\" | toYaml | nindent 12 }}\n {{- end }}\n command: ['/usr/bin/exporter', '-nginx.scrape-uri', 'http://127.0.0.1:{{- default .Values.containerPorts.http .Values.metrics.port }}/status']\n ports:\n - name: metrics\n containerPort: 9113\n livenessProbe:\n httpGet:\n path: /metrics\n port: metrics\n initialDelaySeconds: 15\n timeoutSeconds: 5\n readinessProbe:\n httpGet:\n path: /metrics\n port: metrics\n initialDelaySeconds: 5\n timeoutSeconds: 1\n {{- if .Values.metrics.resources }}\n resources: {{- toYaml .Values.metrics.resources | nindent 12 }}\n {{- end }}\n {{- end }}\n {{- if .Values.sidecars }}\n {{- include \"common.tplvalues.render\" ( dict \"value\" .Values.sidecars \"context\" $) | nindent 8 }}\n {{- end }}\n volumes:\n {{- if or .Values.serverBlock .Values.existingServerBlockConfigmap }}\n - name: nginx-server-block\n configMap:\n name: {{ include \"nginx.serverBlockConfigmapName\" . }}\n {{- end }}\n {{- if (include \"nginx.useStaticSite\" .) }}\n - name: staticsite\n {{- include \"nginx.staticSiteVolume\" . | nindent 10 }}\n {{- end }}\n {{- if .Values.extraVolumes }}\n {{- include \"common.tplvalues.render\" ( dict \"value\" .Values.extraVolumes \"context\" $) | nindent 8 }}\n {{- end }}\n",
uri = "file:///tmp/bitnami/bitnami/nginx/templates/deployment.yaml",
version = 0
}
}
}
[ERROR][2022-11-22 21:13:48] .../vim/lsp/rpc.lua:420 "rpc" "helm_ls" "stderr" '{"level":"info","msg":"/tmp/bitnami/bitnami/nginx","time":"2022-11-22T21:13:48+01:00"}\n'
[ERROR][2022-11-22 21:13:48] .../vim/lsp/rpc.lua:420 "rpc" "helm_ls" "stderr" '{"level":"info","msg":"/tmp/bitnami/bitnami/nginx/values.yaml file loaded successfully","time":"2022-11-22T21:13:48+01:00"}\n'
[ERROR][2022-11-22 21:13:48] .../vim/lsp/rpc.lua:420 "rpc" "helm_ls" "stderr" '{"level":"info","msg":"helm lint: result: []","time":"2022-11-22T21:13:48+01:00"}\n'
[DEBUG][2022-11-22 21:13:48] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = {},
uri = "file:///tmp/bitnami/bitnami/nginx/templates/deployment.yaml"
}
}
[TRACE][2022-11-22 21:13:48] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" {
diagnostics = {},
uri = "file:///tmp/bitnami/bitnami/nginx/templates/deployment.yaml"
}
[TRACE][2022-11-22 21:13:48] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" {
ctx = '{\n client_id = 2,\n method = "textDocument/publishDiagnostics"\n}',
result = {
diagnostics = {},
uri = "file:///tmp/bitnami/bitnami/nginx/templates/deployment.yaml"
}
}
[DEBUG][2022-11-22 21:13:49] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 1,
jsonrpc = "2.0",
result = {
capabilities = {
codeActionProvider = true,
codeLensProvider = {
resolveProvider = false
},
completionProvider = {
resolveProvider = false
},
definitionProvider = true,
documentFormattingProvider = false,
documentLinkProvider = vim.empty_dict(),
documentOnTypeFormattingProvider = {
firstTriggerCharacter = "\n"
},
documentRangeFormattingProvider = false,
documentSymbolProvider = true,
executeCommandProvider = {
commands = { "jumpToSchema" }
},
foldingRangeProvider = true,
hoverProvider = true,
textDocumentSync = 2,
workspace = {
workspaceFolders = {
changeNotifications = true,
supported = true
}
}
}
}
}
[DEBUG][2022-11-22 21:13:49] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "initialized",
params = vim.empty_dict()
}
[DEBUG][2022-11-22 21:13:49] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "workspace/didChangeConfiguration",
params = {
settings = {
redhat = {
telemetry = {
enabled = false
}
}
}
}
}
[DEBUG][2022-11-22 21:13:49] .../lua/vim/lsp.lua:982 "LSP[yamlls]" "server_capabilities" {
codeActionProvider = true,
codeLensProvider = {
resolveProvider = false
},
completionProvider = {
resolveProvider = false
},
definitionProvider = true,
documentFormattingProvider = false,
documentLinkProvider = vim.empty_dict(),
documentOnTypeFormattingProvider = {
firstTriggerCharacter = "\n"
},
documentRangeFormattingProvider = false,
documentSymbolProvider = true,
executeCommandProvider = {
commands = { "jumpToSchema" }
},
foldingRangeProvider = true,
hoverProvider = true,
textDocumentSync = 2,
workspace = {
workspaceFolders = {
changeNotifications = true,
supported = true
}
}
}
[INFO][2022-11-22 21:13:49] .../lua/vim/lsp.lua:983 "LSP[yamlls]" "initialized" {
resolved_capabilities = {
call_hierarchy = false,
code_action = true,
code_lens = true,
code_lens_resolve = false,
completion = true,
declaration = false,
document_formatting = false,
document_highlight = false,
document_range_formatting = false,
document_symbol = true,
execute_command = true,
find_references = false,
goto_definition = true,
hover = true,
implementation = false,
rename = false,
signature_help = false,
signature_help_trigger_characters = {},
text_document_did_change = 2,
text_document_open_close = true,
text_document_save = true,
text_document_save_include_text = false,
text_document_will_save = false,
text_document_will_save_wait_until = false,
type_definition = false,
workspace_folder_properties = {
changeNotifications = true,
supported = true
},
workspace_symbol = false
}
}
[DEBUG][2022-11-22 21:13:49] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didOpen",
params = {
textDocument = {
languageId = "helm",
text = "apiVersion: {{ include \"common.capabilities.deployment.apiVersion\" . }}\nkind: Deployment\nmetadata:\n name: {{ include \"common.names.fullname\" . }}\n namespace: {{ include \"common.names.namespace\" . | quote }}\n labels: {{- include \"common.labels.standard\" . | nindent 4 }}\n {{- if .Values.commonLabels }}\n {{- include \"common.tplvalues.render\" ( dict \"value\" .Values.commonLabels \"context\" $ ) | nindent 4 }}\n {{- end }}\n {{- if .Values.commonAnnotations }}\n annotations: {{- include \"common.tplvalues.render\" ( dict \"value\" .Values.commonAnnotations \"context\" $ ) | nindent 4 }}\n {{- end }}\nspec:\n {{- if not .Values.autoscaling.enabled }}\n replicas: {{ .Values.replicaCount }}\n {{- end }}\n {{- if .Values.updateStrategy }}\n strategy: {{- toYaml .Values.updateStrategy | nindent 4 }}\n {{- end }}\n selector:\n matchLabels: {{- include \"common.labels.matchLabels\" . | nindent 6 }}\n template:\n metadata:\n labels: {{- include \"common.labels.standard\" . | nindent 8 }}\n {{- if .Values.podLabels }}\n {{- include \"common.tplvalues.render\" (dict \"value\" .Values.podLabels \"context\" $) | nindent 8 }}\n {{- end }}\n annotations:\n {{- if .Values.podAnnotations }}\n {{- include \"common.tplvalues.render\" ( dict \"value\" .Values.podAnnotations \"context\" $) | nindent 8 }}\n {{- end }}\n {{- if and .Values.metrics.enabled .Values.metrics.podAnnotations }}\n {{- include \"common.tplvalues.render\" ( dict \"value\" .Values.metrics.podAnnotations \"context\" $) | nindent 8 }}\n {{- end }}\n {{- if and .Values.serverBlock (not .Values.existingServerBlockConfigmap) }}\n checksum/server-block-configuration: {{ include (print $.Template.BasePath \"/server-block-configmap.yaml\") . | sha256sum }}\n {{- end }}\n spec:\n {{- include \"nginx.imagePullSecrets\" . | nindent 6 }}\n automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}\n shareProcessNamespace: {{ .Values.sidecarSingleProcessNamespace }}\n serviceAccountName: {{ template \"nginx.serviceAccountName\" . }}\n {{- if .Values.hostAliases }}\n hostAliases: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.hostAliases \"context\" $) | nindent 8 }}\n {{- end }}\n {{- if .Values.affinity }}\n affinity: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.affinity \"context\" $) | nindent 8 }}\n {{- else }}\n affinity:\n podAffinity: {{- include \"common.affinities.pods\" (dict \"type\" .Values.podAffinityPreset \"context\" $) | nindent 10 }}\n podAntiAffinity: {{- include \"common.affinities.pods\" (dict \"type\" .Values.podAntiAffinityPreset \"context\" $) | nindent 10 }}\n nodeAffinity: {{- include \"common.affinities.nodes\" (dict \"type\" .Values.nodeAffinityPreset.type \"key\" .Values.nodeAffinityPreset.key \"values\" .Values.nodeAffinityPreset.values) | nindent 10 }}\n {{- end }}\n hostNetwork: {{ .Values.hostNetwork }}\n hostIPC: {{ .Values.hostIPC }}\n {{- if .Values.priorityClassName }}\n priorityClassName: {{ .Values.priorityClassName | quote }}\n {{- end }}\n {{- if .Values.nodeSelector }}\n nodeSelector: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.nodeSelector \"context\" $) | nindent 8 }}\n {{- end }}\n {{- if .Values.tolerations }}\n tolerations: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.tolerations \"context\" $) | nindent 8 }}\n {{- end }}\n {{- if .Values.schedulerName }}\n schedulerName: {{ .Values.schedulerName | quote }}\n {{- end }}\n {{- if .Values.topologySpreadConstraints }}\n topologySpreadConstraints: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.topologySpreadConstraints \"context\" .) | nindent 8 }}\n {{- end }}\n {{- if .Values.podSecurityContext.enabled }}\n securityContext: {{- omit .Values.podSecurityContext \"enabled\" | toYaml | nindent 8 }}\n {{- end }}\n {{- if .Values.terminationGracePeriodSeconds }}\n terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }}\n {{- end }}\n initContainers:\n {{- if .Values.cloneStaticSiteFromGit.enabled }}\n - name: git-clone-repository\n image: {{ include \"nginx.cloneStaticSiteFromGit.image\" . }}\n imagePullPolicy: {{ .Values.cloneStaticSiteFromGit.image.pullPolicy | quote }}\n {{- if .Values.containerSecurityContext.enabled }}\n securityContext: {{- omit .Values.containerSecurityContext \"enabled\" | toYaml | nindent 12 }}\n {{- end }}\n {{- if .Values.cloneStaticSiteFromGit.gitClone.command }}\n command: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.cloneStaticSiteFromGit.gitClone.command \"context\" $) | nindent 12 }}\n {{- else }}\n command:\n - /bin/bash\n - -ec\n - |\n [[ -f \"/opt/bitnami/scripts/git/entrypoint.sh\" ]] && source \"/opt/bitnami/scripts/git/entrypoint.sh\"\n git clone {{ .Values.cloneStaticSiteFromGit.repository }} --branch {{ .Values.cloneStaticSiteFromGit.branch }} /tmp/app\n [[ \"$?\" -eq 0 ]] && rm -rf /app/* && mv /tmp/repo/* /app/\n {{- end }}\n {{- if .Values.cloneStaticSiteFromGit.gitClone.args }}\n args: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.cloneStaticSiteFromGit.gitClone.args \"context\" $) | nindent 12 }}\n {{- end }}\n volumeMounts:\n - name: staticsite\n mountPath: /app\n {{- if .Values.cloneStaticSiteFromGit.extraVolumeMounts }}\n {{- include \"common.tplvalues.render\" (dict \"value\" .Values.cloneStaticSiteFromGit.extraVolumeMounts \"context\" $) | nindent 12 }}\n {{- end }}\n {{- if .Values.cloneStaticSiteFromGit.extraEnvVars }}\n env: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.cloneStaticSiteFromGit.extraEnvVars \"context\" $) | nindent 12 }}\n {{- end }}\n {{- end }}\n {{- if .Values.initContainers }}\n {{- include \"common.tplvalues.render\" (dict \"value\" .Values.initContainers \"context\" $) | nindent 8 }}\n {{- end }}\n containers:\n {{- if .Values.cloneStaticSiteFromGit.enabled }}\n - name: git-repo-syncer\n image: {{ include \"nginx.cloneStaticSiteFromGit.image\" . }}\n imagePullPolicy: {{ .Values.cloneStaticSiteFromGit.image.pullPolicy | quote }}\n {{- if .Values.containerSecurityContext.enabled }}\n securityContext: {{- omit .Values.containerSecurityContext \"enabled\" | toYaml | nindent 12 }}\n {{- end }}\n {{- if .Values.cloneStaticSiteFromGit.gitSync.command }}\n command: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.cloneStaticSiteFromGit.gitSync.command \"context\" $) | nindent 12 }}\n {{- else }}\n command:\n - /bin/bash\n - -ec\n - |\n [[ -f \"/opt/bitnami/scripts/git/entrypoint.sh\" ]] && source \"/opt/bitnami/scripts/git/entrypoint.sh\"\n while true; do\n cd /app && git pull origin {{ .Values.cloneStaticSiteFromGit.branch }}\n sleep {{ .Values.cloneStaticSiteFromGit.interval }}\n done\n {{- end }}\n {{- if .Values.cloneStaticSiteFromGit.gitSync.args }}\n args: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.cloneStaticSiteFromGit.gitSync.args \"context\" $) | nindent 12 }}\n {{- end }}\n volumeMounts:\n - name: staticsite\n mountPath: /app\n {{- if .Values.cloneStaticSiteFromGit.extraVolumeMounts }}\n {{- include \"common.tplvalues.render\" (dict \"value\" .Values.cloneStaticSiteFromGit.extraVolumeMounts \"context\" $) | nindent 12 }}\n {{- end }}\n {{- if .Values.cloneStaticSiteFromGit.extraEnvVars }}\n env: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.cloneStaticSiteFromGit.extraEnvVars \"context\" $) | nindent 12 }}\n {{- end }}\n {{- end }}\n - name: nginx\n image: {{ include \"nginx.image\" . }}\n imagePullPolicy: {{ .Values.image.pullPolicy | quote }}\n {{- if .Values.containerSecurityContext.enabled }}\n securityContext: {{- omit .Values.containerSecurityContext \"enabled\" | toYaml | nindent 12 }}\n {{- end }}\n {{- if .Values.diagnosticMode.enabled }}\n command: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.diagnosticMode.command \"context\" $) | nindent 12 }}\n {{- else if .Values.command }}\n command: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.command \"context\" $) | nindent 12 }}\n {{- end }}\n {{- if .Values.diagnosticMode.enabled }}\n args: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.diagnosticMode.args \"context\" $) | nindent 12 }}\n {{- else if .Values.args }}\n args: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.args \"context\" $) | nindent 12 }}\n {{- end }}\n {{- if .Values.lifecycleHooks }}\n lifecycle: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.lifecycleHooks \"context\" $) | nindent 12 }}\n {{- end }}\n env:\n - name: BITNAMI_DEBUG\n value: {{ ternary \"true\" \"false\" .Values.image.debug | quote }}\n - name: NGINX_HTTP_PORT_NUMBER\n value: {{ .Values.containerPorts.http | quote }}\n {{- if .Values.containerPorts.https }}\n - name: NGINX_HTTPS_PORT_NUMBER\n value: {{ .Values.containerPorts.https | quote }}\n {{- end }}\n {{- if .Values.extraEnvVars }}\n {{- include \"common.tplvalues.render\" (dict \"value\" .Values.extraEnvVars \"context\" $) | nindent 12 }}\n {{- end }}\n envFrom:\n {{- if .Values.extraEnvVarsCM }}\n - configMapRef:\n name: {{ include \"common.tplvalues.render\" (dict \"value\" .Values.extraEnvVarsCM \"context\" $) }}\n {{- end }}\n {{- if .Values.extraEnvVarsSecret }}\n - secretRef:\n name: {{ include \"common.tplvalues.render\" (dict \"value\" .Values.extraEnvVarsSecret \"context\" $) }}\n {{- end }}\n ports:\n - name: http\n containerPort: {{ .Values.containerPorts.http }}\n {{- if .Values.containerPorts.https }}\n - name: https\n containerPort: {{ .Values.containerPorts.https }}\n {{- end }}\n {{- if .Values.extraContainerPorts }}\n {{- include \"common.tplvalues.render\" (dict \"value\" .Values.extraContainerPorts \"context\" $) | nindent 12 }}\n {{- end }}\n {{- if not .Values.diagnosticMode.enabled }}\n {{- if .Values.customLivenessProbe }}\n livenessProbe: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.customLivenessProbe \"context\" $) | nindent 12 }}\n {{- else if .Values.livenessProbe.enabled }}\n livenessProbe: {{- include \"common.tplvalues.render\" (dict \"value\" (omit .Values.livenessProbe \"enabled\") \"context\" $) | nindent 12 }}\n tcpSocket:\n port: http\n {{- end }}\n {{- if .Values.customReadinessProbe }}\n readinessProbe: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.customReadinessProbe \"context\" $) | nindent 12 }}\n {{- else if .Values.readinessProbe.enabled }}\n readinessProbe: {{- include \"common.tplvalues.render\" (dict \"value\" (omit .Values.readinessProbe \"enabled\") \"context\" $) | nindent 12 }}\n tcpSocket:\n port: http\n {{- end }}\n {{- if .Values.customStartupProbe }}\n startupProbe: {{- include \"common.tplvalues.render\" (dict \"value\" .Values.customStartupProbe \"context\" $) | nindent 12 }}\n {{- else if .Values.startupProbe.enabled }}\n startupProbe: {{- include \"common.tplvalues.render\" (dict \"value\" (omit .Values.startupProbe \"enabled\") \"context\" $) | nindent 12 }}\n tcpSocket:\n port: http\n {{- end }}\n {{- end }}\n {{- if .Values.resources }}\n resources: {{- toYaml .Values.resources | nindent 12 }}\n {{- end }}\n volumeMounts:\n {{- if or .Values.serverBlock .Values.existingServerBlockConfigmap }}\n - name: nginx-server-block\n mountPath: /opt/bitnami/nginx/conf/server_blocks\n {{- end }}\n {{- if (include \"nginx.useStaticSite\" .) }}\n - name: staticsite\n mountPath: /app\n {{- end }}\n {{- if .Values.extraVolumeMounts }}\n {{- include \"common.tplvalues.render\" ( dict \"value\" .Values.extraVolumeMounts \"context\" $) | nindent 12 }}\n {{- end }}\n {{- if .Values.metrics.enabled }}\n - name: metrics\n image: {{ include \"nginx.metrics.image\" . }}\n imagePullPolicy: {{ .Values.metrics.image.pullPolicy | quote }}\n {{- if .Values.metrics.securityContext.enabled }}\n securityContext: {{- omit .Values.metrics.securityContext \"enabled\" | toYaml | nindent 12 }}\n {{- end }}\n command: ['/usr/bin/exporter', '-nginx.scrape-uri', 'http://127.0.0.1:{{- default .Values.containerPorts.http .Values.metrics.port }}/status']\n ports:\n - name: metrics\n containerPort: 9113\n livenessProbe:\n httpGet:\n path: /metrics\n port: metrics\n initialDelaySeconds: 15\n timeoutSeconds: 5\n readinessProbe:\n httpGet:\n path: /metrics\n port: metrics\n initialDelaySeconds: 5\n timeoutSeconds: 1\n {{- if .Values.metrics.resources }}\n resources: {{- toYaml .Values.metrics.resources | nindent 12 }}\n {{- end }}\n {{- end }}\n {{- if .Values.sidecars }}\n {{- include \"common.tplvalues.render\" ( dict \"value\" .Values.sidecars \"context\" $) | nindent 8 }}\n {{- end }}\n volumes:\n {{- if or .Values.serverBlock .Values.existingServerBlockConfigmap }}\n - name: nginx-server-block\n configMap:\n name: {{ include \"nginx.serverBlockConfigmapName\" . }}\n {{- end }}\n {{- if (include \"nginx.useStaticSite\" .) }}\n - name: staticsite\n {{- include \"nginx.staticSiteVolume\" . | nindent 10 }}\n {{- end }}\n {{- if .Values.extraVolumes }}\n {{- include \"common.tplvalues.render\" ( dict \"value\" .Values.extraVolumes \"context\" $) | nindent 8 }}\n {{- end }}\n",
uri = "file:///tmp/bitnami/bitnami/nginx/templates/deployment.yaml",
version = 0
}
}
}
[DEBUG][2022-11-22 21:13:49] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 0,
jsonrpc = "2.0",
method = "workspace/configuration",
params = {
items = { {
section = "yaml"
}, {
section = "http"
}, {
section = "[yaml]"
}, {
section = "editor"
}, {
section = "files"
} }
}
}
[TRACE][2022-11-22 21:13:49] .../lua/vim/lsp.lua:806 "server_request" "workspace/configuration" {
items = { {
section = "yaml"
}, {
section = "http"
}, {
section = "[yaml]"
}, {
section = "editor"
}, {
section = "files"
} }
}
[TRACE][2022-11-22 21:13:49] .../lua/vim/lsp.lua:809 "server_request: found handler for" "workspace/configuration"
[TRACE][2022-11-22 21:13:49] ...lsp/handlers.lua:488 "default_handler" "workspace/configuration" {
ctx = '{\n client_id = 1,\n method = "workspace/configuration"\n}',
result = {
items = { {
section = "yaml"
}, {
section = "http"
}, {
section = "[yaml]"
}, {
section = "editor"
}, {
section = "files"
} }
}
}
[DEBUG][2022-11-22 21:13:49] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = { vim.NIL, vim.NIL, vim.NIL, vim.NIL, vim.NIL },
status = true
}
[DEBUG][2022-11-22 21:13:49] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 0,
jsonrpc = "2.0",
result = { vim.NIL, vim.NIL, vim.NIL, vim.NIL, vim.NIL }
}
[DEBUG][2022-11-22 21:13:49] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 1,
jsonrpc = "2.0",
method = "workspace/configuration",
params = {
items = { {
section = "yaml"
}, {
section = "http"
}, {
section = "[yaml]"
}, {
section = "editor"
}, {
section = "files"
} }
}
}
[TRACE][2022-11-22 21:13:49] .../lua/vim/lsp.lua:806 "server_request" "workspace/configuration" {
items = { {
section = "yaml"
}, {
section = "http"
}, {
section = "[yaml]"
}, {
section = "editor"
}, {
section = "files"
} }
}
[TRACE][2022-11-22 21:13:49] .../lua/vim/lsp.lua:809 "server_request: found handler for" "workspace/configuration"
[TRACE][2022-11-22 21:13:49] ...lsp/handlers.lua:488 "default_handler" "workspace/configuration" {
ctx = '{\n client_id = 1,\n method = "workspace/configuration"\n}',
result = {
items = { {
section = "yaml"
}, {
section = "http"
}, {
section = "[yaml]"
}, {
section = "editor"
}, {
section = "files"
} }
}
}
[DEBUG][2022-11-22 21:13:49] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = { vim.NIL, vim.NIL, vim.NIL, vim.NIL, vim.NIL },
status = true
}
[DEBUG][2022-11-22 21:13:49] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 1,
jsonrpc = "2.0",
result = { vim.NIL, vim.NIL, vim.NIL, vim.NIL, vim.NIL }
}
[DEBUG][2022-11-22 21:13:49] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = { {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 64,
line = 5
},
start = {
character = 12,
line = 5
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 64,
line = 5
},
start = {
character = 14,
line = 5
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 0,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 4,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 6,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 8,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 4,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 107,
line = 7
},
start = {
character = 4,
line = 7
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 4,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 6,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 8,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 4,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 123,
line = 10
},
start = {
character = 17,
line = 10
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 123,
line = 10
},
start = {
character = 19,
line = 10
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 2,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 4,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 6,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 2,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 44,
line = 13
},
start = {
character = 4,
line = 13
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 44,
line = 13
},
start = {
character = 6,
line = 13
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 39,
line = 14
},
start = {
character = 0,
line = 14
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 0,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 2,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 4,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 6,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 2,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 35,
line = 16
},
start = {
character = 2,
line = 16
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 61,
line = 17
},
start = {
character = 14,
line = 17
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 61,
line = 17
},
start = {
character = 16,
line = 17
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 0,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 2,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 4,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 6,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 2,
line = 18
}
},
severity = 1,
source = "YAML"
} },
uri = "file:///tmp/bitnami/bitnami/nginx/templates/deployment.yaml"
}
}
[TRACE][2022-11-22 21:13:49] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" {
diagnostics = { {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 64,
line = 5
},
start = {
character = 12,
line = 5
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 64,
line = 5
},
start = {
character = 14,
line = 5
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 0,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 4,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 6,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 8,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 4,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 107,
line = 7
},
start = {
character = 4,
line = 7
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 4,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 6,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 8,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 4,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 123,
line = 10
},
start = {
character = 17,
line = 10
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 123,
line = 10
},
start = {
character = 19,
line = 10
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 2,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 4,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 6,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 2,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 44,
line = 13
},
start = {
character = 4,
line = 13
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 44,
line = 13
},
start = {
character = 6,
line = 13
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 39,
line = 14
},
start = {
character = 0,
line = 14
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 0,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 2,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 4,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 6,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 2,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 35,
line = 16
},
start = {
character = 2,
line = 16
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 61,
line = 17
},
start = {
character = 14,
line = 17
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 61,
line = 17
},
start = {
character = 16,
line = 17
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 0,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 2,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 4,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 6,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 2,
line = 18
}
},
severity = 1,
source = "YAML"
} },
uri = "file:///tmp/bitnami/bitnami/nginx/templates/deployment.yaml"
}
[TRACE][2022-11-22 21:13:49] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" {
ctx = '{\n client_id = 1,\n method = "textDocument/publishDiagnostics"\n}',
result = {
diagnostics = { {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 64,
line = 5
},
start = {
character = 12,
line = 5
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 64,
line = 5
},
start = {
character = 14,
line = 5
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 0,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 4,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 6,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 8,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 4,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 107,
line = 7
},
start = {
character = 4,
line = 7
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 4,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 6,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 8,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 4,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 123,
line = 10
},
start = {
character = 17,
line = 10
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 123,
line = 10
},
start = {
character = 19,
line = 10
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 2,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 4,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 6,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 2,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 44,
line = 13
},
start = {
character = 4,
line = 13
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 44,
line = 13
},
start = {
character = 6,
line = 13
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 39,
line = 14
},
start = {
character = 0,
line = 14
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 0,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 2,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 4,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 6,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 2,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 35,
line = 16
},
start = {
character = 2,
line = 16
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 61,
line = 17
},
start = {
character = 14,
line = 17
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 61,
line = 17
},
start = {
character = 16,
line = 17
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 0,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 2,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 4,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 6,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 2,
line = 18
}
},
severity = 1,
source = "YAML"
} },
uri = "file:///tmp/bitnami/bitnami/nginx/templates/deployment.yaml"
}
}
[DEBUG][2022-11-22 21:13:50] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = { {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 64,
line = 5
},
start = {
character = 12,
line = 5
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 64,
line = 5
},
start = {
character = 14,
line = 5
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 0,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 4,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 6,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 8,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 4,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 107,
line = 7
},
start = {
character = 4,
line = 7
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 4,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 6,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 8,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 4,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 123,
line = 10
},
start = {
character = 17,
line = 10
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 123,
line = 10
},
start = {
character = 19,
line = 10
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 2,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 4,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 6,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 2,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 44,
line = 13
},
start = {
character = 4,
line = 13
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 44,
line = 13
},
start = {
character = 6,
line = 13
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 39,
line = 14
},
start = {
character = 0,
line = 14
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 0,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 2,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 4,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 6,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 2,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 35,
line = 16
},
start = {
character = 2,
line = 16
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 61,
line = 17
},
start = {
character = 14,
line = 17
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 61,
line = 17
},
start = {
character = 16,
line = 17
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 0,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 2,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 4,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 6,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 2,
line = 18
}
},
severity = 1,
source = "YAML"
} },
uri = "file:///tmp/bitnami/bitnami/nginx/templates/deployment.yaml"
}
}
[TRACE][2022-11-22 21:13:51] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" {
diagnostics = { {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 64,
line = 5
},
start = {
character = 12,
line = 5
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 64,
line = 5
},
start = {
character = 14,
line = 5
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 0,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 4,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 6,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 8,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 4,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 107,
line = 7
},
start = {
character = 4,
line = 7
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 4,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 6,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 8,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 4,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 123,
line = 10
},
start = {
character = 17,
line = 10
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 123,
line = 10
},
start = {
character = 19,
line = 10
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 2,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 4,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 6,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 2,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 44,
line = 13
},
start = {
character = 4,
line = 13
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 44,
line = 13
},
start = {
character = 6,
line = 13
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 39,
line = 14
},
start = {
character = 0,
line = 14
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 0,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 2,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 4,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 6,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 2,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 35,
line = 16
},
start = {
character = 2,
line = 16
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 61,
line = 17
},
start = {
character = 14,
line = 17
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 61,
line = 17
},
start = {
character = 16,
line = 17
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 0,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 2,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 4,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 6,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 2,
line = 18
}
},
severity = 1,
source = "YAML"
} },
uri = "file:///tmp/bitnami/bitnami/nginx/templates/deployment.yaml"
}
[TRACE][2022-11-22 21:13:51] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" {
ctx = '{\n client_id = 1,\n method = "textDocument/publishDiagnostics"\n}',
result = {
diagnostics = { {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 64,
line = 5
},
start = {
character = 12,
line = 5
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 64,
line = 5
},
start = {
character = 14,
line = 5
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 0,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 4,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 6,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 8,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 35,
line = 6
},
start = {
character = 4,
line = 6
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 107,
line = 7
},
start = {
character = 4,
line = 7
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 4,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 6,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 8,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 15,
line = 8
},
start = {
character = 4,
line = 8
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 123,
line = 10
},
start = {
character = 17,
line = 10
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 123,
line = 10
},
start = {
character = 19,
line = 10
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 2,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 4,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 6,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 13,
line = 11
},
start = {
character = 2,
line = 11
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 44,
line = 13
},
start = {
character = 4,
line = 13
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 44,
line = 13
},
start = {
character = 6,
line = 13
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 39,
line = 14
},
start = {
character = 0,
line = 14
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 0,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 2,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 4,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 6,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 13,
line = 15
},
start = {
character = 2,
line = 15
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 35,
line = 16
},
start = {
character = 2,
line = 16
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 61,
line = 17
},
start = {
character = 14,
line = 17
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 61,
line = 17
},
start = {
character = 16,
line = 17
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "All mapping items must start at the same column",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 0,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit keys need to be on a single line",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 2,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Block collections are not allowed within flow collections",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 4,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Missing , or : between flow map items",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 6,
line = 18
}
},
severity = 1,
source = "YAML"
}, {
code = 0,
message = "Implicit map keys need to be followed by map values",
range = {
end = {
character = 13,
line = 18
},
start = {
character = 2,
line = 18
}
},
severity = 1,
source = "YAML"
} },
uri = "file:///tmp/bitnami/bitnami/nginx/templates/deployment.yaml"
}
}
[INFO][2022-11-22 21:13:59] .../lua/vim/lsp.lua:1392 "exit_handler" { {
_on_attach = <function 1>,
attached_buffers = { true },
cancel_request = <function 2>,
commands = {},
config = {
autostart = true,
capabilities = {
callHierarchy = <1>{
dynamicRegistration = false
},
textDocument = <2>{
codeAction = {
codeActionLiteralSupport = {
codeActionKind = {
valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" }
}
},
dataSupport = true,
dynamicRegistration = false,
resolveSupport = {
properties = { "edit" }
}
},
completion = {
completionItem = {
commitCharactersSupport = false,
deprecatedSupport = false,
documentationFormat = { "markdown", "plaintext" },
preselectSupport = false,
snippetSupport = false
},
completionItemKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 }
},
contextSupport = false,
dynamicRegistration = false
},
declaration = {
linkSupport = true
},
definition = {
linkSupport = true
},
documentHighlight = {
dynamicRegistration = false
},
documentSymbol = {
dynamicRegistration = false,
hierarchicalDocumentSymbolSupport = true,
symbolKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
}
},
hover = {
contentFormat = { "markdown", "plaintext" },
dynamicRegistration = false
},
implementation = {
linkSupport = true
},
publishDiagnostics = {
relatedInformation = true,
tagSupport = {
valueSet = { 1, 2 }
}
},
references = {
dynamicRegistration = false
},
rename = {
dynamicRegistration = false,
prepareSupport = true
},
signatureHelp = {
dynamicRegistration = false,
signatureInformation = {
activeParameterSupport = true,
documentationFormat = { "markdown", "plaintext" },
parameterInformation = {
labelOffsetSupport = true
}
}
},
synchronization = {
didSave = true,
dynamicRegistration = false,
willSave = false,
willSaveWaitUntil = false
},
typeDefinition = {
linkSupport = true
}
},
window = <3>{
showDocument = {
support = false
},
showMessage = {
messageActionItem = {
additionalPropertiesSupport = false
}
},
workDoneProgress = true
},
workspace = {
applyEdit = true,
configuration = true,
symbol = <4>{
dynamicRegistration = false,
hierarchicalWorkspaceSymbolSupport = true,
symbolKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
}
},
workspaceEdit = <5>{
resourceOperations = { "rename", "create", "delete" }
},
workspaceFolders = true
}
},
cmd = { "yaml-language-server", "--stdio" },
cmd_cwd = "/tmp/bitnami",
filetypes = { "yaml", "yaml.docker-compose" },
flags = {},
get_language_id = <function 3>,
handlers = <6>{},
init_options = <7>vim.empty_dict(),
log_level = 2,
message_level = 2,
name = "yamlls",
on_attach = <function 4>,
on_exit = <function 5>,
on_init = <function 6>,
root_dir = "/tmp/bitnami",
settings = {
redhat = {
telemetry = {
enabled = false
}
}
},
single_file_support = true,
workspace_folders = <8>{ {
name = "/tmp/bitnami",
uri = "file:///tmp/bitnami"
} },
<metatable> = <9>{
__tostring = <function 7>
}
},
handlers = <table 6>,
id = 1,
initialized = true,
is_stopped = <function 8>,
messages = {
messages = {},
name = "yamlls",
progress = {},
status = {}
},
name = "yamlls",
notify = <function 9>,
offset_encoding = "utf-16",
request = <function 10>,
request_sync = <function 11>,
requests = {},
resolved_capabilities = {
call_hierarchy = false,
code_action = true,
code_lens = true,
code_lens_resolve = false,
completion = true,
declaration = false,
document_formatting = false,
document_highlight = false,
document_range_formatting = false,
document_symbol = true,
execute_command = true,
find_references = false,
goto_definition = true,
hover = true,
implementation = false,
rename = false,
signature_help = false,
signature_help_trigger_characters = {},
text_document_did_change = 2,
text_document_open_close = true,
text_document_save = true,
text_document_save_include_text = false,
text_document_will_save = false,
text_document_will_save_wait_until = false,
type_definition = false,
workspace_folder_properties = {
changeNotifications = true,
supported = true
},
workspace_symbol = false
},
rpc = {
handle = <userdata 1>,
notify = <function 12>,
pid = 263469,
request = <function 13>
},
server_capabilities = {
codeActionProvider = true,
codeLensProvider = {
resolveProvider = false
},
completionProvider = {
resolveProvider = false
},
definitionProvider = true,
documentFormattingProvider = false,
documentLinkProvider = vim.empty_dict(),
documentOnTypeFormattingProvider = {
firstTriggerCharacter = "\n"
},
documentRangeFormattingProvider = false,
documentSymbolProvider = true,
executeCommandProvider = {
commands = { "jumpToSchema" }
},
foldingRangeProvider = true,
hoverProvider = true,
textDocumentSync = 2,
workspace = {
workspaceFolders = {
changeNotifications = true,
supported = true
}
}
},
stop = <function 14>,
supports_method = <function 15>,
workspaceFolders = <table 8>,
workspace_did_change_configuration = <function 16>,
workspace_folders = <table 8>
}, {
_on_attach = <function 17>,
attached_buffers = { true },
cancel_request = <function 18>,
commands = {},
config = {
autostart = true,
capabilities = {
callHierarchy = <table 1>,
textDocument = <table 2>,
window = <table 3>,
workspace = {
applyEdit = true,
configuration = true,
symbol = <table 4>,
workspaceEdit = <table 5>,
workspaceFolders = true
}
},
cmd = { "helm_ls", "serve" },
cmd_cwd = "/tmp/bitnami/bitnami/nginx",
filetypes = { "helm" },
flags = {},
get_language_id = <function 19>,
handlers = <table 6>,
init_options = <table 7>,
log_level = 2,
message_level = 2,
name = "helm_ls",
on_attach = <function 20>,
on_exit = <function 21>,
on_init = <function 22>,
root_dir = "/tmp/bitnami/bitnami/nginx",
settings = vim.empty_dict(),
workspace_folders = <10>{ {
name = "/tmp/bitnami/bitnami/nginx",
uri = "file:///tmp/bitnami/bitnami/nginx"
} },
<metatable> = <table 9>
},
handlers = <table 6>,
id = 2,
initialized = true,
is_stopped = <function 23>,
messages = {
messages = {},
name = "helm_ls",
progress = {},
status = {}
},
name = "helm_ls",
notify = <function 24>,
offset_encoding = "utf-16",
request = <function 25>,
request_sync = <function 26>,
requests = {},
resolved_capabilities = {
call_hierarchy = false,
code_action = false,
code_lens = false,
code_lens_resolve = false,
completion = true,
declaration = false,
document_formatting = false,
document_highlight = false,
document_range_formatting = false,
document_symbol = false,
execute_command = false,
find_references = false,
goto_definition = false,
hover = false,
implementation = false,
rename = false,
signature_help = false,
signature_help_trigger_characters = {},
text_document_did_change = 1,
text_document_open_close = true,
text_document_save = <11>{
includeText = true
},
text_document_save_include_text = true,
text_document_will_save = false,
text_document_will_save_wait_until = false,
type_definition = false,
workspace_folder_properties = {
changeNotifications = false,
supported = false
},
workspace_symbol = false
},
rpc = {
handle = <userdata 2>,
notify = <function 27>,
pid = 263470,
request = <function 28>
},
server_capabilities = {
completionProvider = {
triggerCharacters = { ".", "$." }
},
textDocumentSync = {
change = 1,
openClose = true,
save = <table 11>
}
},
stop = <function 29>,
supports_method = <function 30>,
workspaceFolders = <table 10>,
workspace_did_change_configuration = <function 31>,
workspace_folders = <table 10>
} }
[DEBUG][2022-11-22 21:13:59] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 2,
jsonrpc = "2.0",
method = "shutdown"
}
[DEBUG][2022-11-22 21:13:59] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 2,
jsonrpc = "2.0",
method = "shutdown"
}
[ERROR][2022-11-22 21:13:59] .../vim/lsp/rpc.lua:420 "rpc" "helm_ls" "stderr" 'panic: request "shutdown" was never replied to\n\ngoroutine 21 [running]:\ngo.lsp.dev/jsonrpc2.ReplyHandler.func1({0x17ec1d8, 0xc000040138}, 0xc000a03680, {0x7f4dc4e4d418?, 0xc0009abb40'
[DEBUG][2022-11-22 21:13:59] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 2,
jsonrpc = "2.0"
}
[DEBUG][2022-11-22 21:13:59] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "exit"
}
[ERROR][2022-11-22 21:13:59] .../vim/lsp/rpc.lua:420 "rpc" "helm_ls" "stderr" "?})\n\t/home/runner/go/pkg/mod/go.lsp.dev/[email protected]/handler.go:44 +0x165\ngo.lsp.dev/jsonrpc2.(*conn).run(0xc00046a870, {0x17ec1d8, 0xc000040138}, 0xc000031d70)\n\t/home/runner/go/pkg/mod/go.lsp.dev/[email protected]/conn.go:206 +0x24b\ncreated by go.lsp.dev/jsonrpc2.(*conn).Go\n\t/home/runner/go/pkg/mod/go.lsp.dev/[email protected]/conn.go:189 +0xb0\n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment