Skip to content

Commit

Permalink
Docs fix for using defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
akondur committed Dec 10, 2020
1 parent 9d3db80 commit cfaaf88
Showing 1 changed file with 4 additions and 24 deletions.
28 changes: 4 additions & 24 deletions docs/Examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -434,32 +434,12 @@ installation.
defaultsUrl: "http://myco.com/splunk/generic.yml,/mnt/defaults/apps.yml"
```

Suppose you want to just override the admin password for your deployment
(instead of using the automatically generated one), you can also specify
inline overrides using the `defaults` parameter:

```yaml
apiVersion: enterprise.splunk.com/v1beta1
kind: Standalone
metadata:
name: example
finalizers:
- enterprise.splunk.com/delete-pvc
spec:
volumes:
- name: defaults
configMap:
name: splunk-defaults
defaultsUrl: /mnt/defaults/default.yml
defaults: |-
splunk:
password: helloworld456
```

*Setting passwords in your CRDs may be OK for testing, but it is discouraged.*

Inline `defaults` are always processed last, after any `defaultsUrl` files.

Any password management related configuration via `defaults` and `defaultsUrl`
has been disabled. Please review [`PasswordManagement.md`](PasswordManagement.md)
and [`Managing global kubernetes secret object`](#managing-global-kubernetes-secret-object)
for more details.

## Installing Splunk Apps

Expand Down

0 comments on commit cfaaf88

Please sign in to comment.