seperated tag and name from name in image
This commit is contained in:
parent
b021c161ca
commit
e42e4a2d21
@ -34,6 +34,7 @@ type ImageSpec struct {
|
||||
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
|
||||
// Important: Run "make" to regenerate code after modifying this file
|
||||
Name string `json:"name"`
|
||||
Tag string `json:"tag"`
|
||||
Location string `json:"location"`
|
||||
WorkingDir string `json:"working_dir"`
|
||||
Command []string `json:"command,omitempty"`
|
||||
|
@ -83,12 +83,15 @@ spec:
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
tag:
|
||||
type: string
|
||||
working_dir:
|
||||
type: string
|
||||
required:
|
||||
- location
|
||||
- name
|
||||
- ports
|
||||
- tag
|
||||
- working_dir
|
||||
type: object
|
||||
type: object
|
||||
|
@ -8,6 +8,7 @@ metadata:
|
||||
spec:
|
||||
location: git.acooldomain.co/server-manager/minecraft:paper-1.21.4
|
||||
name: minecraft:paper-1.21.4
|
||||
tag: paper-1.21.4
|
||||
working_dir: /opt/server
|
||||
ports:
|
||||
- port: 25565
|
||||
|
Loading…
x
Reference in New Issue
Block a user