Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Add v1alpha4 API #821

Merged
merged 1 commit into from
Apr 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ IMAGE_TAG:=$(shell IGNITE_GIT_VERSION=$(GIT_VERSION) DOCKER_USER=$(DOCKER_USER)
IS_DIRTY:=$(shell echo ${GIT_VERSION} | grep -c dirty)
PROJECT = github.com/weaveworks/ignite
APIS_DIR = ${PROJECT}/pkg/apis
API_DIRS = ${APIS_DIR}/ignite,${APIS_DIR}/ignite/v1alpha2,${APIS_DIR}/ignite/v1alpha3,${APIS_DIR}/meta/v1alpha1
API_DIRS = ${APIS_DIR}/ignite,${APIS_DIR}/ignite/v1alpha2,${APIS_DIR}/ignite/v1alpha3,${APIS_DIR}/ignite/v1alpha4,${APIS_DIR}/meta/v1alpha1
CACHE_DIR = $(shell pwd)/bin/cache
# Specifies if this is a CI build or not; if it is, it will save the docker image created to bin/$(GOARCH)/image.tar
IS_CI_BUILD ?= 0
Expand Down
2 changes: 1 addition & 1 deletion cmd/ignite/cmd/vmcmd/ps.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func NewCmdPs(out io.Writer) *cobra.Command {
also list VMs that are not currently running.
Using the -f (--filter) flag, you can give conditions VMs should fullfilled to be displayed.
You can filter on all the underlying fields of the VM struct, see the documentation:
https://ignite.readthedocs.io/en/stable/api/ignite_v1alpha3#VM.
https://ignite.readthedocs.io/en/stable/api/ignite_v1alpha4#VM.

Different operators can be used:
- "=" and "==" for the equal
Expand Down
2 changes: 1 addition & 1 deletion cmd/ignite/run/testdata/output/apply-vm-config-empty.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"kind": "VM",
"apiVersion": "ignite.weave.works/v1alpha3",
"apiVersion": "ignite.weave.works/v1alpha4",
"metadata": {
"name": "",
"created": "2000-01-01T01:00:00Z"
Expand Down
2 changes: 1 addition & 1 deletion cmd/ignite/run/testdata/output/apply-vm-config-json.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"kind": "VM",
"apiVersion": "ignite.weave.works/v1alpha3",
"apiVersion": "ignite.weave.works/v1alpha4",
"metadata": {
"name": "",
"created": "2000-01-01T01:00:00Z"
Expand Down
2 changes: 1 addition & 1 deletion cmd/ignite/run/testdata/output/apply-vm-config-yaml.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"kind": "VM",
"apiVersion": "ignite.weave.works/v1alpha3",
"apiVersion": "ignite.weave.works/v1alpha4",
"metadata": {
"name": "",
"created": "2000-01-01T01:00:00Z"
Expand Down
2 changes: 1 addition & 1 deletion cmd/ignite/run/testdata/output/inspect-json.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"kind": "VM",
"apiVersion": "ignite.weave.works/v1alpha3",
"apiVersion": "ignite.weave.works/v1alpha4",
"metadata": {
"name": "someVM",
"uid": "1699b6ba255cde7f",
Expand Down
2 changes: 1 addition & 1 deletion cmd/ignite/run/testdata/output/inspect-yaml.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: ignite.weave.works/v1alpha3
apiVersion: ignite.weave.works/v1alpha4
kind: VM
metadata:
created: "2000-01-01T01:00:00Z"
Expand Down
Loading