Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
elvis kahoro committed Sep 6, 2023
2 parents 5fb791a + be86b6c commit 4f09839
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
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: []
4 changes: 2 additions & 2 deletions specs/nextjs/create_next_app.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Create Next.JS app
name: Create Next.js App
command: npx create-next-app {{project_name}} --use-{{package_manager}}
tags:
- react
Expand All @@ -12,7 +12,7 @@ arguments:
description: The package manager to use for the application
default_value: npm
source_url: https://nextjs.org/docs/api-reference/create-next-app
description: Create Next.JS application
description: Create a new Next.js application
author: Lukas Varkalis
author_url: https://github.com/lukasvarkalis
shells: []

0 comments on commit 4f09839

Please sign in to comment.