- Expected: Authorize HTTP requests with header
required1=expected1
ANDrequired2=expected2
- Actual: Any header is allowed.
AuthorizationPolicy:
spec:
selector:
#!/bin/bash | |
apt-get update | |
apt-get install -y apt-transport-https ca-certificates | |
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
echo 'deb https://apt.dockerproject.org/repo ubuntu-xenial main' > /etc/apt/sources.list.d/docker.list | |
apt-get update |
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
body { background: #222; color: #e6e6e6; } | |
a { color: #949494; } | |
a:link, a:visited { color: #949494; } | |
a:hover, a:active, a:focus { color: #c7c7c7; } | |
hr { border-bottom: 1px solid #424242; border-top: 1px solid #222; } |
// First make sure the wrapper app is loaded | |
document.addEventListener("DOMContentLoaded", function() { | |
// Then get its webviews | |
let webviews = document.querySelectorAll(".TeamView webview"); | |
// Fetch our CSS in parallel ahead of time | |
const cssPath = 'https://raw.githubusercontent.com/mallowigi/slack-one-dark-theme/master/custom.css'; | |
let cssPromise = fetch(cssPath).then(response => response.text()); |
# MAY NEED THIS IN RECOVERY MODE | |
# csrutil disable | |
# reboot | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# brew | |
brew tap caskroom/cask | |
# common tools |
defaults: | |
requestSize: 1 KB | |
responseSize: 1 KB | |
numReplicas: 5 | |
clientImage: tahler/fortio:prometheus | |
serverImage: tahler/isotope-service:1 | |
services: | |
- name: a | |
- name: b | |
script: |
#!/bin/bash | |
execTimes=$1 | |
if [ -z ${execTimes} ]; then | |
execTimes=20 | |
fi | |
totalTime=0 |
Istio AuthorizationPolicy: | |
rules: | |
- to: | |
- operation: | |
methods: ["GET"] | |
- from: | |
- source: | |
namespaces: ["airmesh-test-authz-alpha"] | |
- from: |