-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from KusionStack/operating-0.1.0
release Operating 0.1.0
- Loading branch information
Showing
13 changed files
with
1,559 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
../versions/operating/0.1.0-beta.1 | ||
../versions/operating/0.1.0 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
apiVersion: v1 | ||
name: operating | ||
description: Helm chart for KusionStack Operating | ||
# This is the chart version. This version number should be incremented each time you make changes | ||
# to the chart and its templates, including the app version. | ||
# Versions are expected to follow Semantic Versioning (https://semver.org/) | ||
version: 0.1.0 | ||
# This is the version number of the application being deployed. This version number should be | ||
# incremented each time you make changes to the application. Versions are not expected to | ||
# follow Semantic Versioning. They should reflect the version the application is using. | ||
# It is recommended to use it with quotes. | ||
appVersion: 0.1.0 | ||
|
||
home: https://KusionStack.io | ||
sources: | ||
- https://github.com/KusionStack/operating |
Empty file.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
KusionStack Operating installed. | ||
Welcome! ^_^ |
581 changes: 581 additions & 0 deletions
581
versions/operating/0.1.0/templates/crd/apps.kusionstack.io_collasets.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
409 changes: 409 additions & 0 deletions
409
versions/operating/0.1.0/templates/crd/apps.kusionstack.io_podtransitionrules.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
56 changes: 56 additions & 0 deletions
56
versions/operating/0.1.0/templates/crd/apps.kusionstack.io_resourcecontexts.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.10.0 | ||
creationTimestamp: null | ||
name: resourcecontexts.apps.kusionstack.io | ||
spec: | ||
group: apps.kusionstack.io | ||
names: | ||
kind: ResourceContext | ||
listKind: ResourceContextList | ||
plural: resourcecontexts | ||
shortNames: | ||
- rc | ||
singular: resourcecontext | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: ResourceContext is the Schema for the resourcecontext 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: ResourceContextSpec defines the desired state of ResourceContext | ||
properties: | ||
contexts: | ||
items: | ||
properties: | ||
data: | ||
additionalProperties: | ||
type: string | ||
type: object | ||
id: | ||
type: integer | ||
required: | ||
- id | ||
type: object | ||
type: array | ||
type: object | ||
type: object | ||
served: true | ||
storage: true |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
labels: | ||
{{- toYaml .Values.commonLabels | nindent 4 }} | ||
control-plane: {{ .Values.controlPlane }} | ||
name: kusionstack-controller-manager | ||
namespace: {{ .Values.namespace }} | ||
spec: | ||
replicas: {{ .Values.managerReplicas }} | ||
selector: | ||
matchLabels: | ||
control-plane: {{ .Values.controlPlane }} | ||
template: | ||
metadata: | ||
labels: | ||
control-plane: {{ .Values.controlPlane }} | ||
spec: | ||
containers: | ||
- args: | ||
- --leader-elect | ||
- --cert-dir=/webhook-certs | ||
- --dns-name=kusionstack-controller-manager.{{ .Values.namespace }}.svc | ||
- --health-probe-bind-address=:8081 | ||
- --metrics-bind-address=127.0.0.1:8080 | ||
- -v=4 | ||
command: | ||
- /manager | ||
env: | ||
- name: POD_NAMESPACE | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.namespace | ||
image: {{ .Values.image.repo }}:{{ .Values.image.tag }} | ||
imagePullPolicy: {{ .Values.image.pullPolicy }} | ||
livenessProbe: | ||
httpGet: | ||
path: /healthz | ||
port: 8081 | ||
initialDelaySeconds: 15 | ||
periodSeconds: 20 | ||
name: manager | ||
readinessProbe: | ||
httpGet: | ||
path: /readyz | ||
port: 8081 | ||
initialDelaySeconds: 5 | ||
periodSeconds: 10 | ||
resources: | ||
{{- toYaml .Values.resources | nindent 10 }} | ||
serviceAccountName: kusionstack-controller-manager | ||
terminationGracePeriodSeconds: 0 | ||
volumes: | ||
- name: webhook-certs | ||
secret: | ||
secretName: webhook-certs |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{{- if .Values.namespaceEnabled -}} | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
labels: | ||
{{- toYaml .Values.commonLabels | nindent 4 }} | ||
control-plane: {{ .Values.controlPlane }} | ||
name: {{ .Values.namespace }} | ||
{{- end }} |
Oops, something went wrong.