Skip to content

Commit

Permalink
Change required fields for image definition
Browse files Browse the repository at this point in the history
  • Loading branch information
jsl-hpe committed Jun 27, 2024
1 parent a72b675 commit 69ea5c0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 74 deletions.
5 changes: 1 addition & 4 deletions cray/modules/ims/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2312,11 +2312,8 @@ components:
- x86_64
type: string
metadata:
description: Key/value pair used to further define an Image
description: User supplied annotations about an image
type: object
required:
- key
- value
properties:
key:
description: Template variable to associate with the IMS image
Expand Down
84 changes: 14 additions & 70 deletions cray/modules/ims/swagger3.json
Original file line number Diff line number Diff line change
Expand Up @@ -1429,12 +1429,8 @@
"type": "string"
},
"metadata": {
"description": "Key/value pair used to further define an Image",
"description": "User supplied annotations about an image",
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"description": "Template variable to associate with the IMS image",
Expand Down Expand Up @@ -1571,12 +1567,8 @@
"type": "string"
},
"metadata": {
"description": "Key/value pair used to further define an Image",
"description": "User supplied annotations about an image",
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"description": "Template variable to associate with the IMS image",
Expand Down Expand Up @@ -1664,12 +1656,8 @@
"type": "string"
},
"metadata": {
"description": "Key/value pair used to further define an Image",
"description": "User supplied annotations about an image",
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"description": "Template variable to associate with the IMS image",
Expand Down Expand Up @@ -1958,12 +1946,8 @@
"type": "string"
},
"metadata": {
"description": "Key/value pair used to further define an Image",
"description": "User supplied annotations about an image",
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"description": "Template variable to associate with the IMS image",
Expand Down Expand Up @@ -2217,12 +2201,8 @@
"type": "string"
},
"metadata": {
"description": "Key/value pair used to further define an Image",
"description": "User supplied annotations about an image",
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"description": "Template variable to associate with the IMS image",
Expand Down Expand Up @@ -9632,12 +9612,8 @@
"type": "string"
},
"metadata": {
"description": "Key/value pair used to further define an Image",
"description": "User supplied annotations about an image",
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"description": "Template variable to associate with the IMS image",
Expand Down Expand Up @@ -9774,12 +9750,8 @@
"type": "string"
},
"metadata": {
"description": "Key/value pair used to further define an Image",
"description": "User supplied annotations about an image",
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"description": "Template variable to associate with the IMS image",
Expand Down Expand Up @@ -10165,12 +10137,8 @@
"type": "string"
},
"metadata": {
"description": "Key/value pair used to further define an Image",
"description": "User supplied annotations about an image",
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"description": "Template variable to associate with the IMS image",
Expand Down Expand Up @@ -10424,12 +10392,8 @@
"type": "string"
},
"metadata": {
"description": "Key/value pair used to further define an Image",
"description": "User supplied annotations about an image",
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"description": "Template variable to associate with the IMS image",
Expand Down Expand Up @@ -14493,12 +14457,8 @@
"type": "string"
},
"metadata": {
"description": "Key/value pair used to further define an Image",
"description": "User supplied annotations about an image",
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"description": "Template variable to associate with the IMS image",
Expand Down Expand Up @@ -14635,12 +14595,8 @@
"type": "string"
},
"metadata": {
"description": "Key/value pair used to further define an Image",
"description": "User supplied annotations about an image",
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"description": "Template variable to associate with the IMS image",
Expand Down Expand Up @@ -15026,12 +14982,8 @@
"type": "string"
},
"metadata": {
"description": "Key/value pair used to further define an Image",
"description": "User supplied annotations about an image",
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"description": "Template variable to associate with the IMS image",
Expand Down Expand Up @@ -15285,12 +15237,8 @@
"type": "string"
},
"metadata": {
"description": "Key/value pair used to further define an Image",
"description": "User supplied annotations about an image",
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"description": "Template variable to associate with the IMS image",
Expand Down Expand Up @@ -19565,12 +19513,8 @@
"type": "string"
},
"metadata": {
"description": "Key/value pair used to further define an Image",
"description": "User supplied annotations about an image",
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"description": "Template variable to associate with the IMS image",
Expand Down

0 comments on commit 69ea5c0

Please sign in to comment.