Example #1
0
    {
        "section": "DEFAULT",
        "keyword": "ca",
        "inheritance": "head",
        "at": True,
        "text":
        "The name of secret containing a certificate to use as a Certificate Authority. This secret must be in the same namespace.",
        "example": "ca",
    },
    {
        "sections": ["DEFAULT"],
        "keyword":
        "comment",
        "default":
        "",
        "text":
        "Helps users understand the role of the service and resources, which is nice to on-call support people having to operate on a service they are not usually responsible for."
    },
]

KEYS = KeywordStore(
    name="sec",
    keywords=KEYWORDS,
    deprecated_keywords=DEPRECATED_KEYWORDS,
    reverse_deprecated_keywords=REVERSE_DEPRECATED_KEYWORDS,
    deprecated_sections=DEPRECATED_SECTIONS,
    template_prefix="template.secret.",
    base_sections=BASE_SECTIONS,
    has_default_section=False,
)
Example #2
0
        "{clusternodes}",
        "default_text":
        "<hostname of the current node>",
        "text":
        "A node selector expression specifying the list of cluster nodes hosting service instances."
    },
    {
        "section": "DEFAULT",
        "keyword": "drpnodes",
        "inheritance": "head",
        "at": True,
        "convert": "list_lower",
        "default": [],
        "default_text": "",
        "text":
        "Alternate backup nodes, where the service could be activated in a DRP situation if the 'drpnode' is not available. These nodes are also data synchronization targets for :c-res:`sync` resources.",
        "example": "node1 node2"
    },
]

KEYS = KeywordStore(
    name="ccfg",
    keywords=PRIVATE_KEYWORDS + KEYWORDS,
    deprecated_keywords=DEPRECATED_KEYWORDS,
    reverse_deprecated_keywords=REVERSE_DEPRECATED_KEYWORDS,
    deprecated_sections=DEPRECATED_SECTIONS,
    template_prefix="template.cluster.",
    base_sections=BASE_SECTIONS,
    has_default_section=False,
)