Skip to content

Commit

Permalink
Merge branch 'main' into list-docker-images
Browse files Browse the repository at this point in the history
  • Loading branch information
elvis kahoro authored Sep 6, 2023
2 parents 3ac327b + 3ef2e22 commit 6f9dc2a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
13 changes: 13 additions & 0 deletions specs/code-insiders/open_a_path_in_vs_code_insiders.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Open a path in VS Code (Insiders)
command: "code-insiders {{path}}"
tags: ["code-insiders"]
description: This workflow opens the current or the specified folder in VS Code.
arguments:
- name: path
description: The file or directory for VS Code to open. The default is the current directory.
default_value: "."
source_url: https://code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line
author: pan93412
author_url: "https://github.com/pan93412"
shells: []
15 changes: 15 additions & 0 deletions specs/kubernetes/list_pod_images_by_app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: List all Kubernetes pods by app label
command: >
kubectl get pods -l app={{app}} -o jsonpath='{range .items[*]}{"\n"}{range .spec.containers[*]}{.name}{"\t"}{.image}{"\n"}{end}{end}' | sort | uniq
tags:
- kubernetes
description: Lists the images of pods fetched by app label
arguments:
- name: app
description: The value of the app label
default_value: ~
source_url: "https://kubernetes.io/docs/reference/kubectl/jsonpath/"
author: pkaramol
author_url: "https://www.linkedin.com/in/pkaramol/"
shells: []

0 comments on commit 6f9dc2a

Please sign in to comment.