apiVersion: lifecycle.keptn.sh/v1
kind: KeptnTaskDefinition
metadata:
  name: python-secret
  namespace: podtato-kubectl
spec:
  python:
    httpRef:
      url: https://raw.githubusercontent.com/keptn/lifecycle-toolkit/main/runtimes/python-runtime/samples/secrets.py
    parameters:
      map:
        user: "myuser"
    secureParameters:
      secret: mypysecret
---
apiVersion: v1
kind: Secret
metadata:
  name: mypysecret
  namespace: podtato-kubectl
type: Opaque
data:
  SECURE_DATA: dG9rZW46IG15dG9rZW4=
