Skip to content

Instantly share code, notes, and snippets.

Antoine Martin antoinemartin

  • Unowhy
  • Paris
View GitHub Profile
View openstack-cloud-controller-manager-ds.yaml
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: cloud-controller-manager
namespace: kube-system
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
@antoinemartin
antoinemartin / pod-reader.yaml
Created Mar 2, 2019
Add API read rights to default K8S service account
View pod-reader.yaml
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: pod-reader
namespace: default
rules:
- apiGroups: [ "" ]
resources: [ "pods", "services"]
verbs: [ "get", "list", "watch"]
@antoinemartin
antoinemartin / fcgi.py
Created Jun 27, 2012
Django management command to run Django on Windows with IIS through FastCGI
View fcgi.py
# encoding: utf-8
# FastCGI-to-WSGI bridge for files/pipes transport (not socket)
#
# Copyright (c) 2002, 2003, 2005, 2006 Allan Saddi <allan@saddi.com>
# Copyright (c) 2011 Ruslan Keba <ruslan@helicontech.com>
# Copyright (c) 2012 Antoine Martin <antoine@openance.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
You can’t perform that action at this time.