Skip to content

Instantly share code, notes, and snippets.

View DiederikvandenB's full-sized avatar

Diederik van den Burger DiederikvandenB

View GitHub Profile
apiVersion: apps/v1
kind: Deployment
metadata:
name: auth-svc-staging-deployment
namespace: staging
labels:
app.kubernetes.io/name: auth-svc-staging-deployment
helm.sh/chart: glue-helm-0.1.0
app.kubernetes.io/managed-by: Tiller
spec:
@DiederikvandenB
DiederikvandenB / api-svc.yaml
Last active November 29, 2018 23:36
Micro on Kubernetes
apiVersion: v1
kind: Service
metadata:
name: micro-api
namespace: micro
labels:
name: micro-api
spec:
ports:
# the port that this service should serve on
/**
* COMMON WEBPACK CONFIGURATION
*/
const path = require('path');
const webpack = require('webpack');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const dotEnv = require('dotenv-webpack');
process.noDeprecation = true;
@DiederikvandenB
DiederikvandenB / SearchQuery.php
Last active November 15, 2017 15:13
UnionType
<?php
namespace App\GraphQL\Query;
use GraphQL;
use GraphQL\Type\Definition\Type;
use GraphQL\Type\Definition\UnionType;
use Rebing\GraphQL\Support\Query;
use Rebing\GraphQL\Support\SelectFields;
@DiederikvandenB
DiederikvandenB / nuxt.config.js
Created October 16, 2017 10:21
NuxtJS Sentry Module
module.exports = {
/* ... */
modules: [
['~/modules/sentry', {
public_key: '',
private_key: '',
project_id: '',
}],
],
/* ... */