Skip to content

Instantly share code, notes, and snippets.

Avatar

Martin Held martinheld

  • Berlin / Germany
View GitHub Profile
@martinheld
martinheld / GraphQL introspection query via curl.md
Last active Sep 20, 2022
GraphQL introspection query via curl
View GraphQL introspection query via curl.md

GraphQL introspection query via curl

cat introspection_query.json

{ 
  "query": "query IntrospectionQuery {
      __schema {
        queryType { name }
        mutationType { name }
View kubernetes dashboard.md

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 Sep 29, 2022
Short example to use JWT with Kong
View KongJwt.md

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