gpg --import simonemms-public-key.asc
gpg --list-key
#!/bin/bash | |
# Extract secrets from all namespaces | |
kubectl get secrets -A --field-selector=type=kubernetes.io/tls -o json | jq -r '.items[]' | yq -p=json | |
# Extract secrets from a single namespace | |
kubectl get secrets -n default --field-selector=type=kubernetes.io/tls -o json | jq -r '.items[]' | yq -p=json |
package main | |
import ( | |
"fmt" | |
"go/types" | |
) | |
func Is[T types.Type](v types.Type) bool { | |
_, ok := v.(T) | |
return ok |
#!/bin/bash | |
# Save this script to a `gitpod-installer` file, make it | |
# executable and save to your $PATH directory. Now you can | |
# use this as you would the normal Installer binary. | |
# | |
# To change the Installer version, apply a `GITPOD_INSTALLER_VERSION` | |
# environment variable (or change the default value). | |
set -euo pipefail |
# Replace $DOMAIN with your own domain | |
apiVersion: networking.k8s.io/v1 | |
kind: Ingress | |
metadata: | |
name: gitpod | |
annotations: | |
kubernetes.io/ingress.class: nginx | |
nginx.ingress.kubernetes.io/ssl-passthrough: "true" | |
spec: |
http: | |
port: 9999 | |
admin: | |
port: 9876 | |
host: 0.0.0.0 | |
apiEndpoints: | |
# see: http://www.express-gateway.io/docs/configuration/gateway.config.yml/apiEndpoints | |
api: | |
paths: | |
- /api/v1/apiary |
const { promises: fs } = require('fs'); | |
/** | |
* Get Secret | |
* | |
* Get a secret | |
* | |
* @link https://docs.openfaas.com/reference/secrets/#use-the-secret-in-your-function | |
* @param {string} secretName | |
* @returns {Promise<string>} |
2020/07/29 09:34:44 [DEBUG] azurerm_data_factory_dataset_delimited_text.example apply errored, but we're indicating that via the Error pointer rather than returning it: One of `http_server_location`, `blob_storage_location` must be specified to create a DataFactory Delimited Text Dataset | |
2020/07/29 09:34:44 [ERROR] <root>: eval: *terraform.EvalApplyPost, err: One of `http_server_location`, `blob_storage_location` must be specified to create a DataFactory Delimited Text Dataset | |
2020/07/29 09:34:44 [ERROR] <root>: eval: *terraform.EvalSequence, err: One of `http_server_location`, `blob_storage_location` must be specified to create a DataFactory Delimited Text Dataset |
CONTAINER_NAME ?= open-apiary | |
TAG ?= develop | |
IMAGE = registry.gitlab.com/mrsimonemms/open-apiary:${TAG} | |
destroy: | |
docker stop ${CONTAINER_NAME} || true | |
docker rm ${CONTAINER_NAME} || true | |
.PHONY: destroy | |
deploy: |
I hereby claim:
To claim this, I am signing this object: