From 743b8f0d251cd6e15d0052d57a091cf5a74c1ed4 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Tue, 7 Nov 2023 03:28:13 +0100 Subject: [PATCH] Start generating a deployment --- example/{test-bundle => vaultwarden}/bundle.yaml | 9 ++++----- example/{ => vaultwarden}/bundle/workload.yaml | 2 ++ proto/shoebill.proto | 10 ++++++++++ 3 files changed, 16 insertions(+), 5 deletions(-) rename example/{test-bundle => vaultwarden}/bundle.yaml (60%) rename example/{ => vaultwarden}/bundle/workload.yaml (53%) diff --git a/example/test-bundle/bundle.yaml b/example/vaultwarden/bundle.yaml similarity index 60% rename from example/test-bundle/bundle.yaml rename to example/vaultwarden/bundle.yaml index 4d14886..db7691f 100644 --- a/example/test-bundle/bundle.yaml +++ b/example/vaultwarden/bundle.yaml @@ -1,14 +1,13 @@ --- metadata: - name: test + name: vaultwarden version: 1.0.0 - maintainers: + maintainers: - name: allanger email: allanger@badhouseplants.net website: https://badhouseplants.net spec: type: package image: - repository: alpine - tag: latest - + repository: registry.hub.docker.com/vaultwarden/server + tag: 1.29.2 diff --git a/example/bundle/workload.yaml b/example/vaultwarden/bundle/workload.yaml similarity index 53% rename from example/bundle/workload.yaml rename to example/vaultwarden/bundle/workload.yaml index 8c18919..800326b 100644 --- a/example/bundle/workload.yaml +++ b/example/vaultwarden/bundle/workload.yaml @@ -1,2 +1,4 @@ kind: Deployment replicas: 1 +containers: + - image: diff --git a/proto/shoebill.proto b/proto/shoebill.proto index 07a79b5..bd9bc6e 100644 --- a/proto/shoebill.proto +++ b/proto/shoebill.proto @@ -42,3 +42,13 @@ message Maintainer { string Email = 2; string Website = 3; } + + +message Workload { + string Kind = 1; + int32 Replicas = 2; +} + +message Container { + +} \ No newline at end of file