Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

Conversation

@mathieu-benoit
Copy link
Contributor

@mathieu-benoit mathieu-benoit commented Nov 29, 2024

A volume res def needs to exist in the Humanitec Orchestrator:

apiVersion: entity.humanitec.io/v1b1
kind: Definition
metadata:
  id: volume-emptydir
entity:
  name: volume-emptydir
  type: volume
  driver_type: humanitec/template
  driver_inputs:
    values:
      templates:
        manifests:
          emptydir.yaml:
            location: volumes
            data: |
              name: ${context.res.guresid}-emptydir
              emptyDir:
                sizeLimit: 1024Mi
  criteria:
  - {}

Done in the different ref archs:

Tested in a live instance: https://github.com/htc-kubecon-na-2024/backstage.

@mathieu-benoit mathieu-benoit requested a review from a team as a code owner November 29, 2024 20:08
@mathieu-benoit mathieu-benoit merged commit a80a9f5 into main Nov 29, 2024
2 checks passed
@mathieu-benoit mathieu-benoit deleted the emptydir-volume branch November 29, 2024 21:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants