Skip to content

Instantly share code, notes, and snippets.

@joejulian
Last active August 26, 2020 21:11
Show Gist options
  • Save joejulian/e80e49443ab545ef250849a527b98bc4 to your computer and use it in GitHub Desktop.
Save joejulian/e80e49443ab545ef250849a527b98bc4 to your computer and use it in GitHub Desktop.
# DO NOT EDIT: this file is generated by the Makefile
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.5
creationTimestamp: null
name: addons.kubeaddons.mesosphere.io
spec:
additionalPrinterColumns:
- JSONPath: .status.ready
name: ready
type: string
- JSONPath: .status.stage
name: stage
type: string
- JSONPath: .metadata.annotations.catalog\.kubeaddons\.mesosphere\.io/addon-revision
name: revision
type: string
group: kubeaddons.mesosphere.io
names:
kind: Addon
listKind: AddonList
plural: addons
singular: addon
preserveUnknownFields: false
scope: Namespaced
subresources:
status: {}
version: v1beta1
versions:
- name: v1beta1
schema:
openAPIV3Schema:
description: Addon is the Schema for the addons API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: AddonSpec defines the desired state of Addon
properties:
chartReference:
description: ChartReference defines the Helm Chart configuration of
this addon (if applicable)
properties:
chart:
description: Chart is the name of the desired chart to use
type: string
release:
description: Release is the helm release by which to reference
this addon
type: string
repo:
description: Repo is the chart repository to use (if not the default)
type: string
values:
description: Values is the value configurations defined to configure
the chart
type: string
version:
description: Version is the version of the chart to use
type: string
required:
- chart
- version
type: object
cloudProvider:
description: 'CloudProvider defines the cloud providers for which
this addon should be included in the default configuration. If CloudProvider
is omitted, all cloud providers will be included and the default
for each will be set to "enabled". If CloudProvider is an empty
list, this addon will not be part of a generated list of available
addons for implementers of this library to consume. They may still
add this addon to their list and enable it. If CloudProvider has
any entries, only those cloud providers will receive this addons
as an available addon in the generated list. Any cloud providers
absent from the list will not receive this addon as "available".
TODO: come back and replace "generated list" with the function name
that generates this list.'
items:
description: ProviderSpec is configuration specific to a cloud provider
properties:
enabled:
description: Enabled is a field that can be used by the library
implementer to populate a list of available addons. This field
will allow them to set a default enable or disable setting.
type: boolean
name:
description: Name is the cloud provider name, ie "aws" or "none"
type: string
values:
description: Values provides provider specific values which
should be merged into the general values before deployment
type: string
required:
- enabled
- name
type: object
type: array
kubernetes:
description: Kubernetes defines configuration options relevant to
the Kubernetes cluster where the addon will be deployed
properties:
maxSupportedVersion:
description: MaxSupportedVersion is the maximum version of Kubernetes
that this addon can be used with
type: string
minSupportedVersion:
description: MinSupportedVersion is the minimum version of Kubernetes
that this addon can be used with
type: string
type: object
kudoReference:
description: KudoReference defines the KUDO package configuration
of this addon (if applicable)
properties:
appVersion:
description: AppVersion is the application version of the package
to use
type: string
package:
description: Package is the name of the desired package to use
type: string
parameters:
description: Parameters is the parameter configuration defined
to configure the package
type: string
repo:
description: Repo is the package repository to use
type: string
version:
description: Version is the operator version of the package to
use
type: string
required:
- package
- repo
- version
type: object
requires:
description: 'Requires (dependencies) based on LabelSelectors. This
allows for depending on a specific addon, or a label that defines
the capability, ie: test that metadata.labels.cni exists.'
items:
description: A label selector is a label query over a set of resources.
The result of matchLabels and matchExpressions are ANDed. An empty
label selector matches all objects. A null label selector matches
no objects.
properties:
matchExpressions:
description: matchExpressions is a list of label selector requirements.
The requirements are ANDed.
items:
description: A label selector requirement is a selector that
contains values, a key, and an operator that relates the
key and values.
properties:
key:
description: key is the label key that the selector applies
to.
type: string
operator:
description: operator represents a key's relationship
to a set of values. Valid operators are In, NotIn, Exists
and DoesNotExist.
type: string
values:
description: values is an array of string values. If the
operator is In or NotIn, the values array must be non-empty.
If the operator is Exists or DoesNotExist, the values
array must be empty. This array is replaced during a
strategic merge patch.
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
description: matchLabels is a map of {key,value} pairs. A single
{key,value} in the matchLabels map is equivalent to an element
of matchExpressions, whose key field is "key", the operator
is "In", and the values array contains only "value". The requirements
are ANDed.
type: object
type: object
type: array
type: object
status:
description: AddonStatus defines the observed state of Addon
properties:
ready:
type: boolean
stage:
description: Status represents the operational status of an addon
type: string
required:
- ready
type: object
required:
- metadata
- spec
type: object
served: true
storage: false
- name: v1beta2
schema:
openAPIV3Schema:
description: Addon is the Schema for the addons API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: AddonSpec defines the desired state of Addon
properties:
chartReference:
description: ChartReference defines the Helm Chart configuration of
this addon (if applicable)
properties:
chart:
description: Chart is the name of the desired chart to use
type: string
release:
description: Release is the helm release by which to reference
this addon
type: string
repo:
description: Repo is the chart repository to use (if not the default)
type: string
values:
description: Values is the value configurations defined to configure
the chart
type: string
valuesRemap:
additionalProperties:
type: string
description: ValuesRemap is a map of {key,value} pairs. Keys represent
paths of values passed into the chart, values represent paths
in ConfigMaps
type: object
version:
description: Version is the version of the chart to use
type: string
required:
- chart
- version
type: object
cloudProvider:
description: 'CloudProvider defines the cloud providers for which
this addon should be included in the default configuration. If CloudProvider
is omitted, all cloud providers will be included and the default
for each will be set to "enabled". If CloudProvider is an empty
list, this addon will not be part of a generated list of available
addons for implementers of this library to consume. They may still
add this addon to their list and enable it. If CloudProvider has
any entries, only those cloud providers will receive this addons
as an available addon in the generated list. Any cloud providers
absent from the list will not receive this addon as "available".
TODO: come back and replace "generated list" with the function name
that generates this list.'
items:
description: ProviderSpec is configuration specific to a cloud provider
properties:
enabled:
description: Enabled is a field that can be used by the library
implementer to populate a list of available addons. This field
will allow them to set a default enable or disable setting.
type: boolean
name:
description: Name is the cloud provider name, ie "aws" or "none"
type: string
values:
description: Values provides provider specific values which
should be merged into the general values before deployment
type: string
required:
- enabled
- name
type: object
type: array
kubernetes:
description: Kubernetes defines configuration options relevant to
the Kubernetes cluster where the addon will be deployed
properties:
maxSupportedVersion:
description: MaxSupportedVersion is the maximum version of Kubernetes
that this addon can be used with
type: string
minSupportedVersion:
description: MinSupportedVersion is the minimum version of Kubernetes
that this addon can be used with
type: string
type: object
kudoReference:
description: KudoReference defines the KUDO package configuration
of this addon (if applicable)
properties:
appVersion:
description: AppVersion is the application version of the package
to use
type: string
package:
description: Package is the name of the desired package to use
type: string
parameters:
description: Parameters is the parameter configuration defined
to configure the package
type: string
repo:
description: Repo is the package repository to use
type: string
version:
description: Version is the operator version of the package to
use
type: string
required:
- package
- repo
- version
type: object
requires:
description: 'Requires (dependencies) based on LabelSelectors. This
allows for depending on a specific addon, or a label that defines
the capability, ie: test that metadata.labels.cni exists.'
items:
description: A label selector is a label query over a set of resources.
The result of matchLabels and matchExpressions are ANDed. An empty
label selector matches all objects. A null label selector matches
no objects.
properties:
matchExpressions:
description: matchExpressions is a list of label selector requirements.
The requirements are ANDed.
items:
description: A label selector requirement is a selector that
contains values, a key, and an operator that relates the
key and values.
properties:
key:
description: key is the label key that the selector applies
to.
type: string
operator:
description: operator represents a key's relationship
to a set of values. Valid operators are In, NotIn, Exists
and DoesNotExist.
type: string
values:
description: values is an array of string values. If the
operator is In or NotIn, the values array must be non-empty.
If the operator is Exists or DoesNotExist, the values
array must be empty. This array is replaced during a
strategic merge patch.
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
description: matchLabels is a map of {key,value} pairs. A single
{key,value} in the matchLabels map is equivalent to an element
of matchExpressions, whose key field is "key", the operator
is "In", and the values array contains only "value". The requirements
are ANDed.
type: object
type: object
type: array
type: object
status:
description: AddonStatus defines the observed state of Addon
properties:
ready:
type: boolean
stage:
description: Status represents the operational status of an addon
type: string
required:
- ready
type: object
required:
- metadata
- spec
type: object
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.5
creationTimestamp: null
name: clusteraddons.kubeaddons.mesosphere.io
spec:
additionalPrinterColumns:
- JSONPath: .status.ready
name: ready
type: string
- JSONPath: .status.stage
name: stage
type: string
- JSONPath: .metadata.annotations.catalog\.kubeaddons\.mesosphere\.io/addon-revision
name: revision
type: string
group: kubeaddons.mesosphere.io
names:
kind: ClusterAddon
listKind: ClusterAddonList
plural: clusteraddons
singular: clusteraddon
preserveUnknownFields: false
scope: Cluster
subresources:
status: {}
version: v1beta1
versions:
- name: v1beta1
schema:
openAPIV3Schema:
description: ClusterAddon is the Schema for the cluster-scoped addons API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: ClusterAddonSpec defines the desired state of Addon
properties:
chartReference:
description: ChartReference defines the Helm Chart configuration of
this addon (if applicable)
properties:
chart:
description: Chart is the name of the desired chart to use
type: string
release:
description: Release is the helm release by which to reference
this addon
type: string
repo:
description: Repo is the chart repository to use (if not the default)
type: string
values:
description: Values is the value configurations defined to configure
the chart
type: string
version:
description: Version is the version of the chart to use
type: string
required:
- chart
- version
type: object
cloudProvider:
description: 'CloudProvider defines the cloud providers for which
this addon should be included in the default configuration. If CloudProvider
is omitted, all cloud providers will be included and the default
for each will be set to "enabled". If CloudProvider is an empty
list, this addon will not be part of a generated list of available
addons for implementers of this library to consume. They may still
add this addon to their list and enable it. If CloudProvider has
any entries, only those cloud providers will receive this addons
as an available addon in the generated list. Any cloud providers
absent from the list will not receive this addon as "available".
TODO: come back and replace "generated list" with the function name
that generates this list.'
items:
description: ProviderSpec is configuration specific to a cloud provider
properties:
enabled:
description: Enabled is a field that can be used by the library
implementer to populate a list of available addons. This field
will allow them to set a default enable or disable setting.
type: boolean
name:
description: Name is the cloud provider name, ie "aws" or "none"
type: string
values:
description: Values provides provider specific values which
should be merged into the general values before deployment
type: string
required:
- enabled
- name
type: object
type: array
kubernetes:
description: Kubernetes defines configuration options relevant to
the Kubernetes cluster where the addon will be deployed
properties:
maxSupportedVersion:
description: MaxSupportedVersion is the maximum version of Kubernetes
that this addon can be used with
type: string
minSupportedVersion:
description: MinSupportedVersion is the minimum version of Kubernetes
that this addon can be used with
type: string
type: object
kudoReference:
description: KudoReference defines the KUDO package configuration
of this addon (if applicable)
properties:
appVersion:
description: AppVersion is the application version of the package
to use
type: string
package:
description: Package is the name of the desired package to use
type: string
parameters:
description: Parameters is the parameter configuration defined
to configure the package
type: string
repo:
description: Repo is the package repository to use
type: string
version:
description: Version is the operator version of the package to
use
type: string
required:
- package
- repo
- version
type: object
namespace:
description: Namespace defines the namespace for which to deploy cluster-scoped
addon components to (defaults to the same namespace where the cluster-scoped
addon is installed)
type: string
requires:
description: 'Requires (dependencies) based on LabelSelectors. This
allows for depending on a specific addon, or a label that defines
the capability, ie: test that metadata.labels.cni exists.'
items:
description: A label selector is a label query over a set of resources.
The result of matchLabels and matchExpressions are ANDed. An empty
label selector matches all objects. A null label selector matches
no objects.
properties:
matchExpressions:
description: matchExpressions is a list of label selector requirements.
The requirements are ANDed.
items:
description: A label selector requirement is a selector that
contains values, a key, and an operator that relates the
key and values.
properties:
key:
description: key is the label key that the selector applies
to.
type: string
operator:
description: operator represents a key's relationship
to a set of values. Valid operators are In, NotIn, Exists
and DoesNotExist.
type: string
values:
description: values is an array of string values. If the
operator is In or NotIn, the values array must be non-empty.
If the operator is Exists or DoesNotExist, the values
array must be empty. This array is replaced during a
strategic merge patch.
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
description: matchLabels is a map of {key,value} pairs. A single
{key,value} in the matchLabels map is equivalent to an element
of matchExpressions, whose key field is "key", the operator
is "In", and the values array contains only "value". The requirements
are ANDed.
type: object
type: object
type: array
type: object
status:
description: AddonStatus defines the observed state of Addon
properties:
ready:
type: boolean
stage:
description: Status represents the operational status of an addon
type: string
required:
- ready
type: object
required:
- metadata
- spec
type: object
served: true
storage: false
- name: v1beta2
schema:
openAPIV3Schema:
description: ClusterAddon is the Schema for the cluster-scoped addons API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: ClusterAddonSpec defines the desired state of Addon
properties:
chartReference:
description: ChartReference defines the Helm Chart configuration of
this addon (if applicable)
properties:
chart:
description: Chart is the name of the desired chart to use
type: string
release:
description: Release is the helm release by which to reference
this addon
type: string
repo:
description: Repo is the chart repository to use (if not the default)
type: string
values:
description: Values is the value configurations defined to configure
the chart
type: string
valuesRemap:
additionalProperties:
type: string
description: ValuesRemap is a map of {key,value} pairs. Keys represent
paths of values passed into the chart, values represent paths
in ConfigMaps
type: object
version:
description: Version is the version of the chart to use
type: string
required:
- chart
- version
type: object
cloudProvider:
description: 'CloudProvider defines the cloud providers for which
this addon should be included in the default configuration. If CloudProvider
is omitted, all cloud providers will be included and the default
for each will be set to "enabled". If CloudProvider is an empty
list, this addon will not be part of a generated list of available
addons for implementers of this library to consume. They may still
add this addon to their list and enable it. If CloudProvider has
any entries, only those cloud providers will receive this addons
as an available addon in the generated list. Any cloud providers
absent from the list will not receive this addon as "available".
TODO: come back and replace "generated list" with the function name
that generates this list.'
items:
description: ProviderSpec is configuration specific to a cloud provider
properties:
enabled:
description: Enabled is a field that can be used by the library
implementer to populate a list of available addons. This field
will allow them to set a default enable or disable setting.
type: boolean
name:
description: Name is the cloud provider name, ie "aws" or "none"
type: string
values:
description: Values provides provider specific values which
should be merged into the general values before deployment
type: string
required:
- enabled
- name
type: object
type: array
kubernetes:
description: Kubernetes defines configuration options relevant to
the Kubernetes cluster where the addon will be deployed
properties:
maxSupportedVersion:
description: MaxSupportedVersion is the maximum version of Kubernetes
that this addon can be used with
type: string
minSupportedVersion:
description: MinSupportedVersion is the minimum version of Kubernetes
that this addon can be used with
type: string
type: object
kudoReference:
description: KudoReference defines the KUDO package configuration
of this addon (if applicable)
properties:
appVersion:
description: AppVersion is the application version of the package
to use
type: string
package:
description: Package is the name of the desired package to use
type: string
parameters:
description: Parameters is the parameter configuration defined
to configure the package
type: string
repo:
description: Repo is the package repository to use
type: string
version:
description: Version is the operator version of the package to
use
type: string
required:
- package
- repo
- version
type: object
namespace:
description: Namespace defines the namespace for which to deploy cluster-scoped
addon components to (defaults to the same namespace where the cluster-scoped
addon is installed)
type: string
requires:
description: 'Requires (dependencies) based on LabelSelectors. This
allows for depending on a specific addon, or a label that defines
the capability, ie: test that metadata.labels.cni exists.'
items:
description: A label selector is a label query over a set of resources.
The result of matchLabels and matchExpressions are ANDed. An empty
label selector matches all objects. A null label selector matches
no objects.
properties:
matchExpressions:
description: matchExpressions is a list of label selector requirements.
The requirements are ANDed.
items:
description: A label selector requirement is a selector that
contains values, a key, and an operator that relates the
key and values.
properties:
key:
description: key is the label key that the selector applies
to.
type: string
operator:
description: operator represents a key's relationship
to a set of values. Valid operators are In, NotIn, Exists
and DoesNotExist.
type: string
values:
description: values is an array of string values. If the
operator is In or NotIn, the values array must be non-empty.
If the operator is Exists or DoesNotExist, the values
array must be empty. This array is replaced during a
strategic merge patch.
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
description: matchLabels is a map of {key,value} pairs. A single
{key,value} in the matchLabels map is equivalent to an element
of matchExpressions, whose key field is "key", the operator
is "In", and the values array contains only "value". The requirements
are ANDed.
type: object
type: object
type: array
type: object
status:
description: AddonStatus defines the observed state of Addon
properties:
ready:
type: boolean
stage:
description: Status represents the operational status of an addon
type: string
required:
- ready
type: object
required:
- metadata
- spec
type: object
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.5
creationTimestamp: null
name: addonrepositories.kubeaddons.mesosphere.io
spec:
additionalPrinterColumns:
- JSONPath: .status.ready
name: ready
type: string
group: kubeaddons.mesosphere.io
names:
kind: AddonRepository
listKind: AddonRepositoryList
plural: addonrepositories
singular: addonrepository
preserveUnknownFields: false
scope: Namespaced
subresources:
status: {}
validation:
openAPIV3Schema:
description: AddonRepository is the Schema for the addonrepositories API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: AddonRepositorySpec defines the desired state of AddonRepository
properties:
options:
description: AddonRepositoryOptions defines the credentials reference
for the repository
properties:
credentialsRef:
description: LocalObjectReference contains enough information to
let you locate the referenced object inside the same namespace.
properties:
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?'
type: string
type: object
required:
- credentialsRef
type: object
priority:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
ref:
type: string
type:
type: string
url:
type: string
required:
- ref
- url
type: object
status:
description: AddonRepositoryStatus defines the observed state of AddonRepository
properties:
ready:
type: boolean
required:
- ready
type: object
type: object
version: v1beta1
versions:
- name: v1beta1
served: true
storage: false
- name: v1beta2
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
---
apiVersion: v1
kind: Namespace
metadata:
name: kubeaddons
labels:
tillerAccessAllowed: "true"
---
# Source: kubeaddons/templates/networkpolicies.yaml
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
name: tiller-network-access-control
namespace: kube-system
spec:
podSelector:
matchLabels:
app: helm
ingress:
- from:
- namespaceSelector:
matchLabels:
tillerAccessAllowed: "true"
---
# Source: kubeaddons/templates/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: kubeaddons-controller-manager
namespace: kubeaddons
---
# Source: kubeaddons/templates/clusterrolebinding.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: kubeaddons-controller-manager-cluster-admin-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- apiGroup: ""
kind: ServiceAccount
name: kubeaddons-controller-manager
namespace: kubeaddons
---
# Source: kubeaddons/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: kubeaddons-controller-manager
namespace: kubeaddons
labels:
control-plane: kubeaddons-controller-manager
spec:
selector:
matchLabels:
control-plane: kubeaddons-controller-manager
replicas: 1
template:
metadata:
labels:
control-plane: kubeaddons-controller-manager
spec:
serviceAccountName: kubeaddons-controller-manager
containers:
- command:
- /manager
args:
- --enable-leader-election
image: mesosphere/kubeaddons:v0.18.0
imagePullPolicy: Always
name: manager
resources:
limits:
cpu: 1000m
memory: 512Mi
requests:
cpu: 100m
memory: 20Mi
terminationGracePeriodSeconds: 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment