Skip to content

Instantly share code, notes, and snippets.

@carlwang87
carlwang87 / deployment.yml
Created July 6, 2022 09:24 — forked from troyharvey/deployment.yml
Using Kubernetes envFrom for environment variables
# Use envFrom to load Secrets and ConfigMaps into environment variables
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: mans-not-hot
labels:
app: mans-not-hot
spec:
replicas: 1
@carlwang87
carlwang87 / ladon_vs_casbin.md
Created March 4, 2022 07:47 — forked from Wang-Kai/ladon_vs_casbin.md
ladon & casbin 两个 authorization 库的比较

通览了 casbin 的文档,结合先前对 AWS IAM 的理解,以及对 ladon SDK 的使用,总结对比一下 Ladon & Casbin 两个授权库。

1. 项目定位

先对比两个项目的简介:

ladon

A SDK for access control policies: authorization for the microservice and IoT age. Inspired by AWS IAM policies. Written for Go.

@carlwang87
carlwang87 / open-source-sso.md
Created January 17, 2021 04:13 — forked from bmaupin/open-source-sso.md
Comparison of open-source SSO implementations