Skip to content
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

Couldn't install from url #44

Open
nicolasnetz opened this issue Dec 26, 2024 · 1 comment
Open

Couldn't install from url #44

nicolasnetz opened this issue Dec 26, 2024 · 1 comment

Comments

@nicolasnetz
Copy link

Hi!

I'm using helm and I'm trying to manage the development pods through this tool, but I wasn't able to install the package on my workload:

I got:

Error: UPGRADE FAILED: unable to recognize "": no matches for kind "SleepCycle" in version "core.rekuberate.io/v1alpha1"

My values are:

{{- if .Values.sleepcycles.enabled }}
apiVersion: core.rekuberate.io/v1alpha1
kind: SleepCycle
metadata:
  name: sleepcycle-{{ .Values.sleepcycles.app }}
  # namespace: {{ .Release.Namespace }}
spec:
  enabled: true
  shutdown: "{{ .Values.sleepcycles.shutdown }}"
  shutdownTimeZone: "{{ .Values.sleepcycles.shutdownTimeZone }}"
  wakeup: "{{ .Values.sleepcycles.wakeup }}"
  wakeupTimeZone: "{{ .Values.sleepcycles.wakeupTimeZone }}"
{{- end }}
sleepcycles:
  enabled: true
  app: app-1
  shutdown: "15 12 * * *"
  shutdownTimeZone: "America/Santiago"
  wakeup: "30 12 * * *"
  wakeupTimeZone: "America/Santiago"
@akyriako
Copy link
Member

akyriako commented Jan 2, 2025

Hi @nicolasnetz, two quick questions, so I understand better your issue:

  • I guess you have already installed the sleepcycles operator (otherwise they CRDs will not be there), right ?
  • This second YAML (sleepcycles: ...) is a portion of the values.yaml of your own Helm Chart, correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants