File: BashedConfigMap

package info (click to toggle)
golang-k8s-sigs-kustomize-api 0.19.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,732 kB
  • sloc: makefile: 206; sh: 67
file content (16 lines) | stat: -rwxr-xr-x 242 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

# Skip the config file name argument.
shift

cat <<EOF
kind: ConfigMap
apiVersion: v1
metadata:
  name: example-configmap-test
  annotations:
    kustomize.config.k8s.io/needs-hash: "true"
data:
  username: $1
  password: $2
EOF