Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View martinheld's full-sized avatar

Martin Held martinheld

  • Berlin / Germany
View GitHub Profile
@martinheld
martinheld / GraphQL introspection query via curl.md
Last active April 16, 2024 16:26
GraphQL introspection query via curl

GraphQL introspection query via curl

cat introspection_query.json

{ 
  "query": "query IntrospectionQuery {
      __schema {
        queryType { name }
        mutationType { name }

Accessing the Dashboard

  1. Obtain the dashboard access token via

    kubectl -n kube-system describe secrets $(kubectl get secrets -n kube-system | grep kubernetes-dashboard-token | awk '{ print $1}')
    
  2. Start the local proxy to access kubernetes

@martinheld
martinheld / KongJwt.md
Last active February 21, 2024 14:47
Short example to use JWT with Kong

JWT Kong Example

  • Get and Start Kong and Co
git clone git@github.com:Mashape/docker-kong.git
cd docker-kong/compose
docker-compose up
  • Create Kong API Route