Peter Kurfer
647f602c79
- added Core CRD to manage DB migrations & configuration, PostgREST and GoTrue (auth) - added APIGateway CRD to manage Envoy proxy - added Dashboard CRD to manage (so far) pg-meta and (soon) studio deployments - implemented basic Envoy control plane based on K8s watcher
27 lines
505 B
Cheetah
27 lines
505 B
Cheetah
package supabase
|
|
|
|
import "fmt"
|
|
|
|
type ImageRef struct {
|
|
// The repository of the image
|
|
Repository string
|
|
// The tag of the image
|
|
Tag string
|
|
}
|
|
|
|
func (r ImageRef) String() string {
|
|
return fmt.Sprintf("%s:%s", r.Repository, r.Tag)
|
|
}
|
|
|
|
var Images = struct{
|
|
{{- range $name, $image := .Images }}
|
|
{{$name}} ImageRef
|
|
{{- end }}
|
|
}{
|
|
{{- range $name, $image := .Images }}
|
|
{{$name}}: ImageRef{
|
|
Repository: "{{$image.Repository}}",
|
|
Tag: "{{$image.Tag}}",
|
|
},
|
|
{{- end }}
|
|
}
|