This file contains hidden or 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
| test-parsing: | |
| image: tianon/true | |
| labels: | |
| io.rancher.os.scope: system | |
| io.rancher.os.createonly: "true" | |
| bool: true | |
| number: 10 | |
| environment: | |
| bool: true | |
| number: 10 |
This file contains hidden or 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
| #cloud-config | |
| rancher: | |
| log: true |
This file contains hidden or 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 | |
| kind: Namespace | |
| metadata: | |
| name: tekton-pipelines | |
| --- | |
| apiVersion: policy/v1beta1 | |
| kind: PodSecurityPolicy | |
| metadata: | |
| name: tekton-pipelines |
This file contains hidden or 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 | |
| kind: ServiceAccount | |
| metadata: | |
| name: tiller | |
| namespace: kube-system | |
| --- | |
| apiVersion: rbac.authorization.k8s.io/v1 | |
| kind: ClusterRoleBinding | |
| metadata: | |
| name: tiller |
This file contains hidden or 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
| DOCKER_REGISTRY_SERVER=https://index.docker.io/v1/ | |
| DOCKER_USER=Type your dockerhub username, same as when you `docker login` | |
| DOCKER_EMAIL=Type your dockerhub email, same as when you `docker login` | |
| DOCKER_PASSWORD=Type your dockerhub pw, same as when you `docker login` | |
| kubectl create secret docker-registry myregistrykey \ | |
| --docker-server=$DOCKER_REGISTRY_SERVER \ | |
| --docker-username=$DOCKER_USER \ | |
| --docker-password=$DOCKER_PASSWORD \ | |
| --docker-email=$DOCKER_EMAIL |
This file contains hidden or 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 -ex | |
| # docker | |
| yum -y install docker | |
| service docker start |
This file contains hidden or 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 | |
| # | |
| # Auto build image use kaniko in container. | |
| # Copyright (C) 2019 Bowen.Li urakiny@gmail.com | |
| # | |
| red='\033[0;31m' | |
| green='\033[0;32m' | |
| yellow='\033[0;33m' | |
| plain='\033[0m' |
This file contains hidden or 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
| helm reset --force | |
| # helm version --server | |
| kubectl -n kube-system create serviceaccount tiller | |
| kubectl create clusterrolebinding tiller --clusterrole=cluster-admin --serviceaccount=kube-system:tiller | |
| helm init --service-account tiller |
This file contains hidden or 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 | |
| kind: Pod | |
| metadata: | |
| name: dind-stable | |
| spec: | |
| containers: | |
| - name: docker-cmds | |
| image: docker:stable | |
| command: ['docker', 'run', '-p', '80:80', 'httpd:latest'] | |
| resources: |
This file contains hidden or 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
| # Fixed https://github.com/jetstack/cert-manager/issues/870 | |
| helm install --name cert-manager --namespace yournamespace stable/cert-manager --set createCustomResource=false | |
| helm upgrade --install --namespace yournamespace cert-manager stable/cert-manager --set createCustomResource=true |
OlderNewer