-
Notifications
You must be signed in to change notification settings - Fork 9
feat: added talos controlplane and bootstrap #94 #95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # Patterns to ignore when building packages. | ||
| # This supports shell glob matching, relative path matching, and | ||
| # negation (prefixed with !). Only one pattern per line. | ||
| .DS_Store | ||
| # Common VCS dirs | ||
| .git/ | ||
| .gitignore | ||
| .bzr/ | ||
| .bzrignore | ||
| .hg/ | ||
| .hgignore | ||
| .svn/ | ||
| # Common backup files | ||
| *.swp | ||
| *.bak | ||
| *.tmp | ||
| *.orig | ||
| *~ | ||
| # Various IDEs | ||
| .project | ||
| .idea/ | ||
| *.tmproj | ||
| .vscode/ |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,26 @@ | ||||||
| apiVersion: v2 | ||||||
| name: talos | ||||||
| description: A Helm chart for talos | ||||||
| # A chart can be either an 'application' or a 'library' chart. | ||||||
| # | ||||||
| # Application charts are a collection of templates that can be packaged into versioned archives | ||||||
| # to be deployed. | ||||||
| # | ||||||
| # Library charts provide useful utilities or functions for the chart developer. They're included as | ||||||
| # a dependency of application charts to inject those utilities and functions into the rendering | ||||||
| # pipeline. Library charts do not define any templates and therefore cannot be deployed. | ||||||
| type: application | ||||||
| # 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 | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| # 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: "1.0.0" | ||||||
| annotations: | ||||||
| cluster.x-k8s.io/provider: bootstrap-talos, control-plane-talos | ||||||
| cluster.x-k8s.io/v1beta1: v1beta1 | ||||||
| maintainers: | ||||||
| - name: improwised | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| apiVersion: operator.cluster.x-k8s.io/v1alpha2 | ||
| kind: BootstrapProvider | ||
| metadata: | ||
| name: talos | ||
| spec: | ||
| version: v0.6.7 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should be templatized |
||
| {{- if .Values.configSecret.name }} | ||
| configSecret: | ||
| name: {{ .Values.configSecret.name }} | ||
| namespace: {{ .Values.configSecret.namespace | default .Release.Namespace | trunc 63 }} | ||
| {{- end }} | ||
| --- | ||
| apiVersion: operator.cluster.x-k8s.io/v1alpha2 | ||
| kind: ControlPlaneProvider | ||
| metadata: | ||
| name: talos | ||
| spec: | ||
| version: v0.5.8 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should be templatized |
||
| {{- if .Values.configSecret.name }} | ||
| configSecret: | ||
| name: {{ .Values.configSecret.name }} | ||
| namespace: {{ .Values.configSecret.namespace | default .Release.Namespace | trunc 63 }} | ||
| {{- end }} | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| {{- if and .Values.configSecret.create .Values.configSecret.name }} | ||
| apiVersion: v1 | ||
| kind: Secret | ||
| metadata: | ||
| name: {{ .Values.configSecret.name }} | ||
| namespace: {{ .Values.configSecret.namespace | default .Release.Namespace | trunc 63 }} | ||
| stringData: | ||
| {{ toYaml .Values.config | indent 2 }} | ||
| {{- end }} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| { | ||
| "$schema": "https://json-schema.org/draft/2019-09/schema", | ||
| "type": "object", | ||
| "properties": { | ||
| "configSecret": { | ||
| "type": "object", | ||
| "properties": { | ||
| "create": { | ||
| "type": "boolean" | ||
| }, | ||
| "name": { | ||
| "type": "string" | ||
| }, | ||
| "namespace": { | ||
| "type": "string" | ||
| } | ||
| } | ||
| }, | ||
| "config": { | ||
| "type": "object", | ||
| "additionalProperties": { | ||
| "type": "string" | ||
| } | ||
| } | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| configSecret: | ||
| create: false | ||
| name: "" | ||
| namespace: "" | ||
|
|
||
| config: {} | ||
|
Comment on lines
+1
to
+6
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A default config is a must. |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also rename the directory? Thanks.