Giter VIP home page Giter VIP logo

cp-k8sscripts's Introduction

cp-k8sScripts - Repo of helpful scripts for Crossplane testing

Bring your own cluster and use these scripts to test Crossplane. These scripts are tested on MacOS to work with 'traditional' Kubernetes and KinD clusters.

argo-cp-all-in-one.sh

Usage: ./argo-cp-all-in-one.sh [arogCD admin password]

Installs argo CD, then appllies argo CD applications to the cluster that install Gatekeeper, Crossplane, and the Crossplane XRDs and Composition for an AKS cluster.

The argoCD applications include a platofrm config that (after manual sync) installs an Azure ProviderConfig. That config requires a Kubernetes seceret per the instructions here Azure Provider Secret Config (Stopping at kubectl create secret generic azure-account-creds -n upbound-system --from-file=credentials=./crossplane-azure-provider-key.json). Future iterations of this repo will include other cloud provider options and respective ProviderConfig instructions.

uxp.sh

Usage: ./uxp.sh

Installs UXP (Downstream Upbound version of Crossplane), with Composition Revision enabled.

argoCD.sh

Usage: ./argoCD.sh [arogCD admin password]

Installs ArgoCD.

makeK8sUser.sh

Usage: ./makeK8suser.sh [username] [namespace] [cluster name in kubeconfig (e.g. kind-kind)]

Creates a kube-apiserver user, grants them rights at namespace level. If namespace doesn't exits, creates namespace. Updates kube config file with context named same as username.

cp-k8sscripts's People

Contributors

natereid72 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.