This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IDP_BASE_URL=https://<your subdomain>.zitadel.cloud/oauth/v2/ | |
CLIENT_ID=<the client id> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
image="dhrp/tools:slim" # Default image | |
serviceaccount="default" # Default service account | |
pvcname="" | |
while [[ $# -gt 0 ]]; do | |
case $1 in | |
--full) | |
image="dhrp/tools:full" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright Broadcom, Inc. All Rights Reserved. | |
# SPDX-License-Identifier: APACHE-2.0 | |
FROM docker.io/bitnami/minideb:bookworm | |
ARG TARGETARCH | |
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \ | |
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \ | |
org.opencontainers.image.created="2024-05-20T05:24:52Z" \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oswald:authentication thatcher$ os volume list | |
+--------------------------------------+--------------------------------------------------------------------------------------------+-----------+------+-------------------------------------------------------+ | |
| ID | Name | Status | Size | Attached to | | |
+--------------------------------------+--------------------------------------------------------------------------------------------+-----------+------+-------------------------------------------------------+ | |
| f04e5683-6a67-4208-b4b4-9c6d544d41db | | in-use | 20 | Attached to wireguard-vpn on /dev/vda | | |
+--------------------------------------+--------------------------------------------------------------------------------------------+-------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
// This file is simply to build the rancher openstack driver. | |
// it's for the latest openstack (train) as we're using at GreenEdge | |
// It is required because the openstack driver is otherwise included | |
// by default in the docker-machine binary. | |
// Simply put it somewhere, and build it with | |
// go build -o docker-machine-driver-greenedge and then use it like | |
// docker-machine create --driver greenedge [etc] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
geth: | |
container_name: configurator_api | |
image: dhrp/aws_gethdaemon:source | |
command: | |
- "--nodiscover" | |
- "--peer-table-name" | |
- "eth-auto-EthereumCommonStack-YUOAW65KR29A-EthereumECSStack-G0RBZQHB26EZ-DynamoPeerTable-XSXJRR6DAIOV" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"Id": "be730673bb1ed2db8160a116dc707e3eb72c1542c749b084ad1bb5f15a8b075c", | |
"Created": "2018-11-08T12:48:44.750070611Z", | |
"Path": "/usr/bin/node", | |
"Args": [ | |
"/opt/geth-daemon/build/index.js", | |
"--nodiscover", | |
"--peer-table-name", | |
"eth-auto-EthereumCommonStack-YUOAW65KR29A-EthereumECSStack-G0RBZQHB26EZ-DynamoPeerTable-XSXJRR6DAIOV", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"handler": "Microsoft.Compute.MultiVm", | |
"version": "0.0.1-preview", | |
"parameters": { | |
"basics": [ | |
{ | |
"name": "adminUsername", | |
"type": "Microsoft.Compute.UserNameTextBox", | |
"label": "VM username", | |
"toolTip": "Administrative username for the virtual machines.", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// grpcHandlerFunc returns an http.Handler that delegates to grpcServer on incoming gRPC | |
// connections or otherHandler otherwise. Copied from cockroachdb. | |
func grpcHandlerFunc(grpcServer *grpc.Server, otherHandler http.Handler) http.Handler { | |
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
if r.ProtoMajor == 2 && strings.Contains(r.Header.Get("Content-Type"), "application/grpc") { | |
grpcServer.ServeHTTP(w, r) | |
} else { | |
otherHandler.ServeHTTP(w, r) | |
} | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func main() { | |
keyPair, certPool := certificates.GetCert() | |
grpcServer := makeGRPCServer(certPool) | |
restMux, err := getRestMux(certPool) | |
if err != nil { | |
log.Panic(err) | |
} | |
// register root Http multiplexer (mux) |
NewerOlder