Skip to content

Commit

Permalink
fix: incorrect configmap chart deployed
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Oct 21, 2023
1 parent 66f92f1 commit 3b6433b
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 11 deletions.
48 changes: 39 additions & 9 deletions Domain/Model/Template.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using Domain.Model;
namespace Domain.Model;

namespace Domain;
public record TemplateSearch
{
}

public record Template
{
Expand All @@ -11,16 +13,44 @@ public record Template
public record TemplatePrincipal
{
public required Guid Id { get; init; }
public required string Name { get; init; }
public required uint Version { get; init; }
public required TemplateRecord Record { get; init; }

// User Controlled, only on create
public required TemplateProperty Prop { get; init; }

// Telemetry, non-user controlled
public required TemplateInfo Info { get; init; }

// User Controlled, updatable, metadata
public required TemplateMetadata Metadata { get; init; }
}

public record TemplateInfo
{
public required int Likes { get; init; }
public required int Downloads { get; init; }
}

public record TemplateRecord
public record TemplateMetadata
{
public required string BlobPath { get; init; }
public required string Project { get; init; }
public required string Source { get; init; }
public required string Email { get; init; }
public required string Tags { get; init; }
public required string Description { get; init; }
public required string Readme { get; init; }
}

public record TemplateProperty
{
public required string Name { get; init; }

public required uint Version { get; init; }

public required string BlobDockerReference { get; init; }

public required string BlobDockerSha { get; init; }

public required string DockerReference { get; init; }
public required string TemplateDockerReference { get; init; }

public required string DockerSha { get; init; }
public required string TemplateDockerSha { get; init; }
}
6 changes: 6 additions & 0 deletions Domain/Repository/ITemplateRepository.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Domain.Repository;

public interface ITemplateRepository
{

}
2 changes: 1 addition & 1 deletion infra/root_chart/values.lapras.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ serviceTree:

api:
enabled: true
sericeTree:
serviceTree:
landscape: *landscape

imagePullSecrets: []
Expand Down
2 changes: 1 addition & 1 deletion infra/root_chart/values.pichu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ bromine:
api:
enabled: true
envFromSecret: *target
sericeTree:
serviceTree:
landscape: *landscape
image:
repository: ghcr.io/atomicloud/sulfone.zinc/api-amd
Expand Down

0 comments on commit 3b6433b

Please sign in to comment.