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: apiextensions.k8s.io/v1beta1 | |
kind: CustomResourceDefinition | |
metadata: | |
name: vmpools.cloud.mycompany.com | |
spec: | |
group: cloud.mycompany.com | |
versions: | |
- name: v1 | |
served: 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: argoproj.io/v1alpha1 | |
kind: WorkflowTemplate | |
metadata: | |
name: saltstack | |
namespace: argo | |
spec: | |
templates: | |
- name: highstate | |
inputs: |
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: argoproj.io/v1alpha1 | |
kind: Sensor | |
metadata: | |
name: k8s-vmpool | |
namespace: argo | |
spec: | |
template: | |
serviceAccountName: argo-events-sa | |
subscription: |
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: argoproj.io/v1alpha1 | |
kind: Gateway | |
metadata: | |
name: resource | |
namespace: argo | |
spec: | |
type: resource | |
eventSourceRef: | |
name: resource-event-source |
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: argoproj.io/v1alpha1 | |
kind: EventSource | |
metadata: | |
name: resource-event-source | |
spec: | |
type: resource | |
resource: | |
vmpool: | |
namespace: customers |
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: argoproj.io/v1alpha1 | |
kind: Sensor | |
metadata: | |
name: kafka-terraform-update | |
namespace: argo | |
spec: | |
template: | |
serviceAccountName: argo-events-sa | |
subscription: |
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: argoproj.io/v1alpha1 | |
kind: Gateway | |
metadata: | |
name: kafka | |
namespace: argo | |
spec: | |
type: kafka | |
eventSourceRef: | |
name: kafka-event-source | |
template: |
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: argoproj.io/v1alpha1 | |
kind: EventSource | |
metadata: | |
name: kafka-event-source | |
namespace: argo | |
spec: | |
type: "kafka" | |
kafka: | |
terraform: |
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: argoproj.io/v1alpha1 | |
kind: WorkflowTemplate | |
metadata: | |
name: terraform | |
namespace: argo | |
spec: | |
templates: | |
- name: plan | |
inputs: |
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
FROM alpine:latest | |
ENV TERRAFORM_VERSION=0.12.9 | |
ENV TERRAFORM_PROVIDER_AZURERM=2.8.0 | |
ENV TERRAFORM_PROVIDER_CLOUDFLARE=2.6.0 | |
ENV TERRAFORM_PROVIDER_PINGDOM=1.1.1 | |
ENV TERRAFORM_PROVIDER_K8S=0.7.6 | |
ENV TERRAFORM_PROVIDER_VAULT=2.10.0 | |
RUN apk add --update bash curl openssl |