Skip to content

namespace annotations for profile enforcement #10

Description

@mblaschke

it should be possible to set the profile annotation on namespace level which should enforce a profile and ignore the pod profile (or make it possible to configure enforcement or default profile)

example:

apiVersion: v1
kind: Namespace
metadata:
  name: foobar
  annotations:
    # for default profile (can be overwritten in pod)
    nodepolicy.softonic.io/default-profile: "stateless"
   # for enforced (not overwritable profile)
    nodepolicy.softonic.io/enforce-profile: "stateless"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions