Skip to content

Instantly share code, notes, and snippets.

View loesak's full-sized avatar

Aaron Loes loesak

View GitHub Profile
package org.loesak.springframework.security.openfeign.oauth2;
import feign.RequestInterceptor;
import feign.RequestTemplate;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpHeaders;
import org.springframework.security.authentication.AnonymousAuthenticationToken;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.authority.AuthorityUtils;
import org.springframework.security.oauth2.client.*;
package com.loesak.feign.oauth2;
import feign.RequestInterceptor;
import feign.RequestTemplate;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpHeaders;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.context.SecurityContextHolder;
terraform {
required_version = ">= 0.12"
}
variable "kubeconfig" {}
provider "kubernetes" {
version = "~> 1.8.1"
config_path = var.kubeconfig
terraform {
required_version = ">= 0.12"
}
variable "kubeconfig" {}
provider "kubernetes" {
version = "~> 1.8.1"
config_path = var.kubeconfig
2019/08/15 13:08:16 [INFO] Terraform version: 0.12.6
2019/08/15 13:08:16 [INFO] Go runtime version: go1.12.4
2019/08/15 13:08:16 [INFO] CLI args: []string{"/home/aaronloes/.local/bin/terraform", "output", "kubeconfig"}
2019/08/15 13:08:16 [DEBUG] Attempting to open CLI config file: /home/aaronloes/.terraformrc
2019/08/15 13:08:16 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/08/15 13:08:16 [INFO] CLI command args: []string{"output", "kubeconfig"}
2019/08/15 13:08:16 [DEBUG] New state was assigned lineage "7c1e9f0c-7224-b1b9-989e-9954b0112025"
2019/08/15 13:08:16 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2019/08/15 13:08:16 [TRACE] Meta.Backend: instantiated backend of type <nil>
2019/08/15 13:08:16 [DEBUG] checking for provider in "."

Keybase proof

I hereby claim:

  • I am loesak on github.
  • I am loesak (https://keybase.io/loesak) on keybase.
  • I have a public key whose fingerprint is ED5D E7C3 3E10 197A 4E2D 5470 2F95 862C 63A6 FB15

To claim this, I am signing this object:

@loesak
loesak / erl3-example-config.txt
Last active January 8, 2017 19:34 — forked from sforshee/erl3-example-config.txt
Example configuration for Ubiquiti EdgeRouter Lite 3
# EdgeRouter Lite 3 configuration example based on the walkthroughs starting
# with
# http://www.forshee.me/2016/03/01/ubiquiti-edgerouter-lite-setup-part-1-the-basics.html.
#
# Demonstrates a network setup utilizing VLANs, a zone-based firewall, and
# an OpenVPN server. The network has VLANs to segregate home and home-office
# network traffic, plus a management VLAN for "smart" networking equipment.
# The office VLAN has administrative access to web and SSH interfaces on the
# router and the management VLAN whereas the home network does not.
#