Skip to content

Instantly share code, notes, and snippets.

@Kampe
Last active March 12, 2020 05:37
Show Gist options
  • Save Kampe/453652c10380a8cd1f3825f4e4e5b397 to your computer and use it in GitHub Desktop.
Save Kampe/453652c10380a8cd1f3825f4e4e5b397 to your computer and use it in GitHub Desktop.
argo
apiVersion: v1
kind: ConfigMap
metadata:
name: argocd-cm
namespace: argocd
labels:
app.kubernetes.io/name: argocd-cm
app.kubernetes.io/part-of: argocd
data:
repositories: |
- url: git@github.com:edf-re/powerflex_edge_manifests
sshPrivateKeySecret:
name: ssh-deploy-keys
key: argo-edge
resource.customizations: |
admissionregistration.k8s.io/MutatingWebhookConfiguration:
ignoreDifferences: |
jsonPointers:
- /webhooks/0/clientConfig/caBundle
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: powerflex-edge
namespace: argocd
spec:
project: default
source:
repoURL: git@github.com:edf-re/powerflex_edge_manifests.git
path: .
targetRevision: dev
directory:
recurse: true
jsonnet: {}
destination:
server: 'https://kubernetes.default.svc'
namespace: default
syncPolicy:
automated:
prune: true
selfHeal: true
---
apiVersion: v1
kind: ConfigMap
metadata:
name: workflow-controller-configmap
namespace: argo
data:
config: |
containerRuntimeExecutor: pns
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: argo-workflow-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: default
namespace: default
apiVersion: v1
kind: Namespace
metadata:
name: argocd
---
apiVersion: v1
kind: Namespace
metadata:
name: argo
---
apiVersion: v1
kind: Namespace
metadata:
name: logging
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: argocd
resources:
- argo-cd-install.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: argo
resources:
- argo-install.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment