Macro Dump: 2022-08-06 16:39:12 -0700
Note: This file is generated and macro titles are calculated as best as possible with data from input. This is also just a current snapshot, there's no guarantees that all of these macros work. =P
Note: This file is generated and macro titles are calculated as best as possible with data from input. This is also just a current snapshot, there's no guarantees that all of these macros work. =P
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
# Simple script to start and seed a local splunk instances using Docker | |
# Usage: | |
# $ bash splunk.sh [USERNAME] [HEC TOKEN] | |
PASSWORD="$1" | |
TOKEN="$2" | |
test -z "$PASSWORD" && PASSWORD=password | |
test -z "$TOKEN" && TOKEN=token |
Options:
- -1 is auto
- 0 is smallest
- 2 is biggest
/console cursorsizepreferred 2
--- | |
apiVersion: 'kubernetes-client.io/v1' | |
kind: ExternalSecret | |
metadata: | |
name: test-external-secrets | |
namespace: default | |
secretDescriptor: | |
backendType: secretsManager | |
data: | |
- key: /splunk/license |
UPDATE_TYPE ?= sts | |
STS ?= | |
indexers: ## Select indexer as actionable StatefultSet | |
indexers: | |
$(eval STS := indexer) | |
@echo "Set indexer as actionable StatefulSet" | |
indexer: indexers |
# Override github.com/splunk/docker-splunk build args | |
# --- | |
# SPLUNK_ANSIBLE_BRANCH ?= master | |
# SPLUNK_VERSION ?= 7.2.0 | |
# SPLUNK_BUILD ?= 8c86330ac18 | |
# Choose a github.com/splunk/docker-splunk branch to deploy | |
DOCKER_SPLUNK_BRANCH ?= master | |
IMAGE ?= splunk-edge |
provider "helm" { | |
kubernetes { | |
config_path = "${local_file.kubeconfig.filename}" | |
} | |
} | |
provider "helm" { | |
kubernetes { | |
host = "${aws_eks_cluster.eks_master.endpoint}" | |
cluster_ca_certificate = "${base64decode(aws_eks_cluster.eks_master.certificate_authority.0.data)}" |
# Simply ensure repo and return url | |
aws ecr create-repository --repository-name $1 2>/dev/null || true | |
echo "$(aws ecr describe-repositories --repository-name $1 | jq '.repositories[0].repositoryUri')" |