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
|
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
|
||||||
// Important: Run "make" to regenerate code after modifying this file
|
// Important: Run "make" to regenerate code after modifying this file
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
|
Tag string `json:"tag"`
|
||||||
Location string `json:"location"`
|
Location string `json:"location"`
|
||||||
WorkingDir string `json:"working_dir"`
|
WorkingDir string `json:"working_dir"`
|
||||||
Command []string `json:"command,omitempty"`
|
Command []string `json:"command,omitempty"`
|
||||||
|
@ -83,12 +83,15 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
|
tag:
|
||||||
|
type: string
|
||||||
working_dir:
|
working_dir:
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- location
|
- location
|
||||||
- name
|
- name
|
||||||
- ports
|
- ports
|
||||||
|
- tag
|
||||||
- working_dir
|
- working_dir
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
|
@ -8,6 +8,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
location: git.acooldomain.co/server-manager/minecraft:paper-1.21.4
|
location: git.acooldomain.co/server-manager/minecraft:paper-1.21.4
|
||||||
name: minecraft:paper-1.21.4
|
name: minecraft:paper-1.21.4
|
||||||
|
tag: paper-1.21.4
|
||||||
working_dir: /opt/server
|
working_dir: /opt/server
|
||||||
ports:
|
ports:
|
||||||
- port: 25565
|
- port: 25565
|
||||||
|
Loading…
x
Reference in New Issue
Block a user