argocd app create demo \
--project default \
--sync-policy auto \
--repo https://github.com/codefresh-contrib/gitops-certification-examples \
--path ./blue-green-app \
--dest-namespace default \
--dest-server https://kubernetes.default.svc
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
- name: Tests playbook | |
hosts: localhost | |
gather_facts: no | |
vars: | |
num_users: 10 | |
infra_template_object: | |
- name: infra | |
autoscale: false | |
total_replicas: 3 | |
total_replicas_min: 3 |
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: List | |
items: | |
- apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: hyperfoil-auth | |
data: | |
password: b3BlbnNoaWZ0 | |
type: Opaque |
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
- name: Add new users playbook | |
hosts: localhost | |
gather_facts: false | |
vars: | |
users: | |
- user1 | |
- user2 | |
- user3 | |
- user4 | |
- user5 |
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: broker.amq.io/v1beta1 | |
kind: ActiveMQArtemis | |
metadata: | |
name: artemis-broker-amqp | |
spec: | |
adminUser: admin | |
adminPassword: $secret$ | |
acceptors: | |
- name: amqp | |
expose: 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
#!/bin/sh | |
export TUTORIAL_HOME=/Users/rsoares/workshops/Knative/knative-tutorial | |
DNS_DOMAIN=minikube #nip.io | |
KNATIVE_EVENTING_KAFKA_VERSION=v1.8.1 | |
KNATIVE_SERVING_VERSION=v1.8.3 | |
KNATIVE_EVENTING_VERSION=v1.8.5 | |
MINIKUBE_PROFILE=knativetutorial | |
KOURIER_VERSION=v1.8.1 | |
STRIMZI_OP_VERSION=0.32.0 |
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: org.eclipse.che/v2 | |
kind: CheCluster | |
metadata: | |
name: devspaces | |
namespace: ocp-devspaces | |
spec: | |
components: | |
cheServer: | |
debug: false | |
logLevel: INFO |
- add a new alias to your shell (bash or zsh) to create a temporary Unix Domain Socket for podman
you need
jq
installed confirm the path forpodman.sock
withpodman system connection list --format=json
podman-sock='rm -f /tmp/podman.sock && ssh -i ~/.ssh/podman-machine -p $(podman system connection list --format=json | jq ''.[0].URI'' | sed -E ''s|.+://.+@.+:([[:digit:]]+)/.+|\1|'') -L''/tmp/podman.sock:/run/user/501/podman/podman.sock'' -N core@localhost'
- set the following env vars to configure Test Containers for
podman