diff --git a/packages/k8sgpt-operator/v0.2.0+1/manifest.yaml b/packages/k8sgpt-operator/v0.2.0+1/manifest.yaml new file mode 100644 index 00000000..9347c49b --- /dev/null +++ b/packages/k8sgpt-operator/v0.2.0+1/manifest.yaml @@ -0,0 +1,23 @@ +apiVersion: v1 +kind: Secret +metadata: + name: k8sgpt-secret +type: Opaque +data: + openai-api-key: "" +--- +apiVersion: core.k8sgpt.ai/v1alpha1 +kind: K8sGPT +metadata: + name: k8sgpt +spec: + ai: + enabled: true + model: gpt-3.5-turbo + backend: openai + secret: + name: k8sgpt-secret + key: openai-api-key + noCache: false + repository: ghcr.io/k8sgpt-ai/k8sgpt + version: v0.3.8 diff --git a/packages/k8sgpt-operator/v0.2.0+1/package.yaml b/packages/k8sgpt-operator/v0.2.0+1/package.yaml new file mode 100644 index 00000000..01a48b8e --- /dev/null +++ b/packages/k8sgpt-operator/v0.2.0+1/package.yaml @@ -0,0 +1,59 @@ +# yaml-language-server: $schema=https://glasskube.dev/schemas/v1/package-manifest.json + +name: k8sgpt-operator +iconUrl: https://avatars.githubusercontent.com/u/128535266?s=150 +shortDescription: Automatic SRE Superpowers within your Kubernetes cluster +longDescription: Automatic SRE Superpowers within your Kubernetes cluster +defaultNamespace: k8sgpt-operator-system +helm: + chartName: k8sgpt-operator + chartVersion: 0.2.0 + repositoryUrl: https://charts.k8sgpt.ai +references: + - label: ArtifactHub + url: https://artifacthub.io/packages/helm/k8sgpt/k8sgpt-operator +manifests: + - url: https://glasskube.github.io/packages/packages/k8sgpt-operator/v0.2.0+1/manifest.yaml +valueDefinitions: + openaiApiKey: + type: text + targets: + - patch: + op: add + path: /data/openai-api-key + valueTemplate: | + "{{ . | base64 }}" + resource: + apiGroup: v1 + kind: Secret + name: k8sgpt-secret + namespace: k8sgpt-operator-system + constraints: + required: true + minLength: 50 + pattern: sk-.+ + anonymized: + type: boolean + defaultValue: "false" + targets: + - patch: + op: add + path: /spec/ai/anonymized + valueTemplate: "{{ . }}" + resource: + apiGroup: core.k8sgpt.ai/v1alpha1 + kind: K8sGPT + name: k8sgpt + namespace: k8sgpt-operator-system + language: + type: text + defaultValue: english + targets: + - patch: + op: add + path: /spec/ai/language + resource: + apiGroup: core.k8sgpt.ai/v1alpha1 + kind: K8sGPT + name: k8sgpt + namespace: k8sgpt-operator-system diff --git a/packages/k8sgpt-operator/versions.yaml b/packages/k8sgpt-operator/versions.yaml index d376a7c6..aaf5183f 100644 --- a/packages/k8sgpt-operator/versions.yaml +++ b/packages/k8sgpt-operator/versions.yaml @@ -1,3 +1,4 @@ latestVersion: v0.1.3+1 versions: - version: v0.1.3+1 + - version: v0.2.0+1