Skip to content

configuration help aadpodidbinding, in deployment/statefullset #43

@nissessenap

Description

@nissessenap

Recently I did a stupid error that was to label the deployment with: aadpodidbinding instead of the pod template.
Let's create a warning that tells the user that you shouldn't do that :)

Bellow is not okay

apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    aadpodidbinding: backend
  name: podinfo
spec:

This one is okay

apiVersion: apps/v1
kind: Deployment
metadata:
  name: podinfo
spec:
  template:
    metadata:
      labels:
        aadpodidbinding: backend
        app: podinfo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions