Skip to content

Latest commit

 

History

History
58 lines (48 loc) · 1.3 KB

deployment.md

File metadata and controls

58 lines (48 loc) · 1.3 KB

Deployment Guide

Table of Contents generated with DocToc

RBAC

The service account is multicluster-operators-deployable.

The role multicluster-operators-deployable is binded to that service account.

Deployment

cd multicloud-operators-deployable
kubectl apply -f deploy/crds
kubectl apply -f deploy

General process

Deployable CR:

apiVersion: apps.open-cluster-management.io/v1
kind: Deployable
metadata:
  annotations:
    apps.open-cluster-management.io/is-local-deployable: "false"
  labels:
    deployable-label: "passed-in"
  name: example-configmap
  namespace: default
spec:
  template:
    apiVersion: v1
    kind: ConfigMap
    metadata:
      name: config1
      namespace: default
    data:
      purpose: for test
  placement:
    clusterSelector: {}
  overrides:
  - clusterName: endpoint2-ns
    clusterOverrides:
    - path: data
      value:
        foo: bar