Create a new user in the console, assign it no permissions, but make sure to download the credentials.
Go to the user and copy the user ARN:
arn:aws:iam::<account-id>:user/of-connector-test
objects = [MyObject.new(name: "John Smith"), MyObject.new(name: "Joan Smith"), MyObject.new(name: "Jane Doe")] | |
objects.select {|o| o.name["Smith"]}.each do |o| | |
o.name.gsub!("Smith", "Jones") | |
o.save | |
end |
apiVersion: example.com/v1 | |
kind: DigesterFunction | |
metadata: | |
name: digester | |
annotations: | |
config.kubernetes.io/function: | | |
exec: | |
path: ./digester |
#!/bin/bash | |
set -e | |
set -o pipefail | |
# kubectl convert is a plugin or binary that can be used | |
# can be fetched from https://www.downloadkubernetes.com/ | |
# | |
KUBECTL_CONVERT_BIN=$HOME/Downloads/kubectl-convert | |
mkdir -p {pre,converted} |
#!/usr/bin/env bash | |
set -eo pipefail | |
set -u | |
## INSTALL OPERATOR (is install in default namespace, to use another namespace need to modify the yaml) | |
n=0 | |
until [ $n -ge 3 ]; do | |
kubectl apply -f https://storage.googleapis.com/knative-nightly/operator/latest/operator.yaml > /dev/null && break | |
echo "Kourier failed to install on first try" |
image: docker:latest | |
services: | |
- docker:dind | |
stages: | |
- build | |
variables: | |
IMAGE: registry.gitlab.com/bamnet/njtdata | |
DOCKER_CLI_EXPERIMENTAL: enabled |