add support for kubernetes

This commit is contained in:
Peter Tillemans 2025-09-01 11:41:38 +02:00
parent 22bda92f22
commit d5f90a7b37

View file

@ -1,4 +1,3 @@
#+TITLE: My Emacs Configuration
#+PROPERTY: header-args :tangle yes
#+PROPERTY: header-args:emacs-lisp :lexical yes :tangle yes :comments nil :padline yes
@ -1040,6 +1039,9 @@ exporter manual.]]
))
(make-directory "~/.org-jira" 'parents)
;; avoid flushing the recent file list when updating jira state
(add-to-list 'recentf-exclude "~/.org-jira/.*")
(setq jiralib-url (auth-source-pass-get "url" "customer/melexis.atlassian.net"))
(setq org-jira-custom-jqls
'((:jql " assignee = currentUser() and (created > '2024-01-01' or updated > '2024-01-01') order by created DESC"
@ -1051,8 +1053,8 @@ exporter manual.]]
)
)
(jiralib-login
(auth-source-pass-get "user" "customer/jira")
(auth-source-pass-get 'secret "customer/jira"))
(auth-source-pass-get "user" "customer/melexis.atlassian.net")
(auth-source-pass-get 'secret "customer/melexis.atlassian.net"))
:bind (("C-c j i g" . 'org-jira-get-issues)
("C-c j p g" . 'org-jira-get-projects)
("C-c j i j" . 'org-jira-get-issues-from-custom-jql)))
@ -1306,6 +1308,22 @@ templates to be generated. By default it uses
#+RESULTS:
: [nil 26455 5250 886750 nil elpaca-process-queues nil nil 641000 nil]
** Markdown
#+BEGIN_SRC emacs-lisp
(use-package markdown-mode
:ensure t
:mode ("README\\.md\\'" . gfm-mode)
:init (setq markdown-command "multimarkdown")
:bind (:map markdown-mode-map
("C-c C-e" . markdown-do)))
#+END_SRC
#+RESULTS:
: [nil 26789 44231 458103 nil elpaca-process-queues nil nil 912000 nil]
* Integration with Environment
#+BEGIN_SRC emacs-lisp
@ -1553,6 +1571,18 @@ Add support to edit Dockerfile files :
: [nil 26557 44943 649 nil elpaca-process-queues nil nil 729000 nil]
** Kubernetes Integration
#+BEGIN_SRC emacs-lisp
(use-package kubernetes
:ensure t
:config
(fset 'k8s 'kubernetes-overview))
#+END_SRC
#+RESULTS:
: [nil 26805 22780 134106 nil elpaca-process-queues nil nil 25000 nil]
** Confluence Integration
This module is advertised as being alpha quality but should allow
@ -1582,8 +1612,8 @@ importing and exporting confluence pages.
(executable-find "mu")))
"share/emacs/site-lisp/mu4e")))
(use-package mu4e
:load-path snm/mu4e-load-path
`(use-package mu4e
:load-path ,snm/mu4e-load-path
;"/usr/share/emacs/site-lisp/mu4e"
:config
@ -1659,7 +1689,7 @@ importing and exporting confluence pages.
#+END_SRC
#+RESULTS:
: t
| use-package | mu4e | :load-path | /usr/share/emacs/site-lisp/mu4e | :config | (setq mail-user-agent 'mu4e-user-agent) | (setq mu4e-drafts-folder /[Gmail].Drafts) | (setq mu4e-sent-folder /[Gmail].Sent Mail) | (setq mu4e-trash-folder /[Gmail].Trash) | (setq mu4e-sent-messages-behavior 'delete) | (setq mu4e-maildir-shortcuts '((:maildir /INBOX :key 105) (:maildir /[Gmail].Sent Mail :key 115) (:maildir /[Gmail].Trash :key 116) (:maildir /[Gmail].All Mail :key 97))) | (add-to-list 'mu4e-bookmarks '(:query maildir:/inbox :name Inbox :key 105 :favorite t)) | (setq mu4e-get-mail-command offlineimap) | (setq user-mail-address pti@snamellit.com user-full-name Peter Tillemans message-signature (concat Peter Tillemans |
* Editor Features
@ -3143,7 +3173,6 @@ integration in Emacs.
*** Enable model providers
#+begin_src emacs-lisp
(setq gptel-api-key openai-api-key)
(gptel-make-gemini "Gemini" :key gemini-api-key :stream t)
(gptel-make-anthropic "Claude" :stream t :key anthropic-api-key)
@ -3152,6 +3181,9 @@ integration in Emacs.
:description "QWen 2.5 Coder 14b"))
#+end_src
#+RESULTS:
: #s(gptel-ollama "Qwen Coder" "localhost:11434" nil "http" nil "/api/chat" nil (qwen2.5-coder:14b :description QWen\ 2.5\ Coder\ 14b) "http://localhost:11434/api/chat" nil nil nil)
*** Enable Tools
**** File and Buffer Tools
***** Create File
@ -3621,9 +3653,9 @@ Gregg Grubbs for examples what to put here.
:command "npx"
:args ("-y" "graphlit-mcp-server")
:env (
:GRAPHLIT_ORGANIZATION_ID (auth-source-pass-get "organization-id" "snamellit/graphlit.dev")
:GRAPHLIT_ENVIRONMENT_ID (auth-source-pass-get "environment-id" "snamellit/graphlit.dev")
:GRAPHLIT_JWT_SECRET (auth-source-pass-get 'secret "snamellit/graphlit.dev"))))
:GRAPHLIT_ORGANIZATION_ID ,(auth-source-pass-get "organization-id" "snamellit/graphlit.dev")
:GRAPHLIT_ENVIRONMENT_ID ,(auth-source-pass-get "environment-id" "snamellit/graphlit.dev")
:GRAPHLIT_JWT_SECRET ,(auth-source-pass-get 'secret "snamellit/graphlit.dev"))))
("terminal-controller" . (
:command "uvx"
:args ("terminal_controller")))))
@ -3633,7 +3665,7 @@ Gregg Grubbs for examples what to put here.
#+END_SRC
#+RESULTS:
: [nil 26780 48702 422697 nil elpaca-process-queues nil nil 640000 nil]
: [nil 26781 46260 860178 nil elpaca-process-queues nil nil 420000 nil]
*** Load jwiegley/gptel-prompts for prompt composability