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
--- | |
apiVersion: v1 | |
stringData: | |
ca.pem: | | |
-----BEGIN CERTIFICATE----- | |
MIIFFjCCAv6gAwIBAgIRAJErCErPDBinU/bWLiWnX1owDQYJKoZIhvcNAQELBQAw | |
TzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh | |
cmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwHhcNMjAwOTA0MDAwMDAw | |
WhcNMjUwOTE1MTYwMDAwWjAyMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNTGV0J3Mg | |
RW5jcnlwdDELMAkGA1UEAxMCUjMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK |
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
#!/usr/bin/env sh | |
set -eux -o pipefail | |
CHART_NAME=gitlab-runner | |
SERVICE_FOLDER=${CHART_NAME} | |
CHART_REPO_NAME=gitlab | |
CHART_REPO_URL=https://charts.gitlab.io | |
HARBOR_REPO=your.repo.example.com |
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
[Global] | |
[ServiceOverride "ec2"] | |
URL = "https://ec2.${AWS_ENDPOINT_URL}" | |
SigningRegion = "${AWS_REGION}" | |
Region = "${AWS_REGION}" | |
SigningMethod = v4 | |
Service = ec2 | |
[ServiceOverride "elasticloadbalancing"] |
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 | |
# KIOSK generator for Scientific Linux and CentOS (versions 5; 6 and 7) | |
# Created using Scientific Linux | |
# Wasn't made and never tested on different distros than SL/CentOS/EL! | |
# Version 1.4 for i386 and x86_64 | |
# | |
# Feel free to contact me: marcin@marcinwilk.eu | |
# www.marcinwilk.eu | |
# Marcin Wilk |
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
#! variables that need to be externally configurable | |
#! are specified in a data values schema file | |
#! This file is just here to show how the values are merged together. | |
#@ load("@ytt:data", "data") | |
#@ load("@ytt:yaml", "yaml") | |
tap_values: #@ yaml.encode(data.values) |
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
--- | |
apiVersion: packaging.carvel.dev/v1alpha1 | |
kind: PackageInstall | |
metadata: | |
name: simple-app | |
namespace: common-install | |
spec: | |
serviceAccountName: common-sa | |
packageRef: | |
refName: simple.app.example.com |
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 | |
set -e | |
set -o pipefail | |
# Add user to k8s using service account or build kubeconfig for existing service account, no RBAC (must create RBAC after this script) | |
if [[ -z "$1" ]] || [[ -z "$2" ]] || [[ -z "$3" ]]; then | |
echo "usage: $0 <service_account_name> <namespace> <target_folder>" | |
exit 1 | |
fi |
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
#@ load("@ytt:overlay", "overlay") | |
#@ load("@ytt:data", "data") | |
--- | |
apiVersion: sso.apps.tanzu.vmware.com/v1alpha1 | |
kind: ClientRegistration | |
metadata: | |
name: boats-appsso | |
namespace: boats | |
spec: |
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
#@ load("@ytt:data", "data") | |
#@ load("@ytt:yaml", "yaml") | |
#@ load("@ytt:overlay", "overlay") | |
#@ def supervisor_svc_external_dns(): | |
#@ return "kubectl.phantom.{}".format(data.values.cluster_domain) | |
#@ end | |
#@ def management_overlay(): |
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
#!/usr/bin/env bash | |
set -eu -o pipefail | |
USAGE="Usage: $0 PACKAGE ACTION REPO # ACTION should be test or deploy" | |
if [ "$#" == "0" ]; then | |
echo "$USAGE" | |
exit 1 | |
fi |
NewerOlder