creating services inside the argo manifest

This commit is contained in:
pb
2024-12-23 16:05:25 +01:00
parent d1dab992cf
commit 2f9b2fb464
8 changed files with 268 additions and 45 deletions

View File

@@ -10,16 +10,11 @@ type ServiceResource struct {
}
type Service struct {
APIVersion string `yaml:"apiVersion"`
Kind string `yaml:"kind"`
Metadata Metadata `yaml:"metadata"`
Manifest
Spec ServiceSpec `yaml:"spec"`
}
type Metadata struct {
Name string `yaml:"generateName"`
}
// ServiceSpec is the specification of the Kubernetes Service
type ServiceSpec struct {