Skip to content

Commit 5f58448

Browse files
committed
MINOR: add storage_name attribute to map model
The attribute value, if present, will indicate the name for the resource on the storage and runtime endpoints. If the attribute doesn't have a value, this means the corresponding mapfile is loaded into haproxy but resides on the filesystem outside of the directory the datplane manages files in. As a consequence this map file will not be able to be manipulated through the dataplane's map storage and runtime endpoints.
1 parent 9e6fe91 commit 5f58448

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

build/haproxy_spec.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4462,6 +4462,8 @@ definitions:
44624462
type: string
44634463
id:
44644464
type: string
4465+
storage_name:
4466+
type: string
44654467
title: Map File
44664468
type: object
44674469
maps:

models/runtime.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,8 @@ map:
355355
type: string
356356
file:
357357
type: string
358+
storage_name:
359+
type: string
358360
description:
359361
type: string
360362
map_entry:

0 commit comments

Comments
 (0)