Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions build/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,12 @@ rm -f release-${VERSION}/*
docker image save splunk/splunk-operator:${VERSION} | gzip -c > release-${VERSION}/splunk-operator-${VERSION}.tar.gz

echo Generating release-${VERSION}/splunk-operator-crds.yaml
echo "---" > release-${VERSION}/splunk-operator-crds.yaml
cat deploy/crds/enterprise.splunk.com_standalones_crd.yaml >> release-${VERSION}/splunk-operator-crds.yaml
echo "---" >> release-${VERSION}/splunk-operator-crds.yaml
cat deploy/crds/enterprise.splunk.com_licensemasters_crd.yaml >> release-${VERSION}/splunk-operator-crds.yaml
echo "---" >> release-${VERSION}/splunk-operator-crds.yaml
cat deploy/crds/enterprise.splunk.com_searchheadclusters_crd.yaml >> release-${VERSION}/splunk-operator-crds.yaml
echo "---" >> release-${VERSION}/splunk-operator-crds.yaml
cat deploy/crds/enterprise.splunk.com_indexerclusters_crd.yaml >> release-${VERSION}/splunk-operator-crds.yaml
echo "---" >> release-${VERSION}/splunk-operator-crds.yaml
cat deploy/crds/enterprise.splunk.com_sparks_crd.yaml >> release-${VERSION}/splunk-operator-crds.yaml
touch release-${VERSION}/splunk-operator-crds.yaml
for i in `ls deploy/crds/|grep crd.yaml`
do
echo "---" >> release-${VERSION}/splunk-operator-crds.yaml
cat deploy/crds/$i >> release-${VERSION}/splunk-operator-crds.yaml
done

echo Generating release-${VERSION}/splunk-operator-noadmin.yaml
cat deploy/service_account.yaml deploy/role.yaml deploy/role_binding.yaml > release-${VERSION}/splunk-operator-noadmin.yaml
Expand Down
2,309 changes: 2,309 additions & 0 deletions deploy/crds/enterprise.splunk.com_clustermasters_crd.yaml

Large diffs are not rendered by default.

136 changes: 29 additions & 107 deletions deploy/crds/enterprise.splunk.com_indexerclusters_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -633,35 +633,8 @@ spec:
type: array
type: object
type: object
defaults:
description: Inline map of default.yml overrides used to initialize
the environment
type: string
defaultsUrl:
description: Full path or URL for one or more default.yml files, separated
by commas
type: string
ephemeralStorage:
description: If true, ephemeral (emptyDir) storage will be used for
/opt/splunk/etc and /opt/splunk/var volumes
type: boolean
etcStorage:
description: Storage capacity to request for /opt/splunk/etc persistent
volume claims (default=”1Gi”)
type: string
image:
description: Image to use for Splunk pod containers (overrides RELATED_IMAGE_SPLUNK_ENTERPRISE
environment variables)
type: string
imagePullPolicy:
description: 'Sets pull policy for all images (either “Always” or the
default: “IfNotPresent”)'
enum:
- Always
- IfNotPresent
type: string
indexerClusterRef:
description: IndexerClusterRef refers to a Splunk Enterprise indexer
clusterMasterRef:
description: ClusterMasterRef refers to a Splunk Enterprise indexer
cluster managed by the operator within Kubernetes
properties:
apiVersion:
Expand Down Expand Up @@ -697,6 +670,33 @@ spec:
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
type: string
type: object
defaults:
description: Inline map of default.yml overrides used to initialize
the environment
type: string
defaultsUrl:
description: Full path or URL for one or more default.yml files, separated
by commas
type: string
ephemeralStorage:
description: If true, ephemeral (emptyDir) storage will be used for
/opt/splunk/etc and /opt/splunk/var volumes
type: boolean
etcStorage:
description: Storage capacity to request for /opt/splunk/etc persistent
volume claims (default=”1Gi”)
type: string
image:
description: Image to use for Splunk pod containers (overrides RELATED_IMAGE_SPLUNK_ENTERPRISE
environment variables)
type: string
imagePullPolicy:
description: 'Sets pull policy for all images (either “Always” or the
default: “IfNotPresent”)'
enum:
- Always
- IfNotPresent
type: string
licenseMasterRef:
description: LicenseMasterRef refers to a Splunk Enterprise license
master managed by the operator within Kubernetes
Expand Down Expand Up @@ -1002,45 +1002,6 @@ spec:
type: object
type: object
type: object
smartstore:
description: Splunk Smartstore configuration. Refer to indexes.conf.spec
on docs.splunk.com
properties:
indexes:
description: List of Splunk indexes
items:
description: IndexSpec defines Splunk index name and storage path
properties:
name:
description: Splunk index name
type: string
remotePath:
description: Index location relative to the remote volume
path
type: string
volumeName:
description: Remote Volume name
type: string
type: object
type: array
volumes:
description: List of remote storage volumes
items:
description: VolumeSpec defines remote volume name and remote
volume URI
properties:
endpoint:
description: Remote volume URI
type: string
name:
description: Remote volume name
type: string
path:
description: Remote volume path
type: string
type: object
type: array
type: object
storageClassName:
description: Name of StorageClass to use for persistent volume claims
type: string
Expand Down Expand Up @@ -2348,45 +2309,6 @@ spec:
description: Indicates whether the master is ready to begin servicing,
based on whether it is initialized.
type: boolean
smartstore:
description: Splunk Smartstore configuration. Refer to indexes.conf.spec
on docs.splunk.com
properties:
indexes:
description: List of Splunk indexes
items:
description: IndexSpec defines Splunk index name and storage path
properties:
name:
description: Splunk index name
type: string
remotePath:
description: Index location relative to the remote volume
path
type: string
volumeName:
description: Remote Volume name
type: string
type: object
type: array
volumes:
description: List of remote storage volumes
items:
description: VolumeSpec defines remote volume name and remote
volume URI
properties:
endpoint:
description: Remote volume URI
type: string
name:
description: Remote volume name
type: string
path:
description: Remote volume path
type: string
type: object
type: array
type: object
type: object
type: object
version: v1alpha3
Expand Down
58 changes: 29 additions & 29 deletions deploy/crds/enterprise.splunk.com_licensemasters_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -616,35 +616,8 @@ spec:
type: array
type: object
type: object
defaults:
description: Inline map of default.yml overrides used to initialize
the environment
type: string
defaultsUrl:
description: Full path or URL for one or more default.yml files, separated
by commas
type: string
ephemeralStorage:
description: If true, ephemeral (emptyDir) storage will be used for
/opt/splunk/etc and /opt/splunk/var volumes
type: boolean
etcStorage:
description: Storage capacity to request for /opt/splunk/etc persistent
volume claims (default=”1Gi”)
type: string
image:
description: Image to use for Splunk pod containers (overrides RELATED_IMAGE_SPLUNK_ENTERPRISE
environment variables)
type: string
imagePullPolicy:
description: 'Sets pull policy for all images (either “Always” or the
default: “IfNotPresent”)'
enum:
- Always
- IfNotPresent
type: string
indexerClusterRef:
description: IndexerClusterRef refers to a Splunk Enterprise indexer
clusterMasterRef:
description: ClusterMasterRef refers to a Splunk Enterprise indexer
cluster managed by the operator within Kubernetes
properties:
apiVersion:
Expand Down Expand Up @@ -680,6 +653,33 @@ spec:
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
type: string
type: object
defaults:
description: Inline map of default.yml overrides used to initialize
the environment
type: string
defaultsUrl:
description: Full path or URL for one or more default.yml files, separated
by commas
type: string
ephemeralStorage:
description: If true, ephemeral (emptyDir) storage will be used for
/opt/splunk/etc and /opt/splunk/var volumes
type: boolean
etcStorage:
description: Storage capacity to request for /opt/splunk/etc persistent
volume claims (default=”1Gi”)
type: string
image:
description: Image to use for Splunk pod containers (overrides RELATED_IMAGE_SPLUNK_ENTERPRISE
environment variables)
type: string
imagePullPolicy:
description: 'Sets pull policy for all images (either “Always” or the
default: “IfNotPresent”)'
enum:
- Always
- IfNotPresent
type: string
licenseMasterRef:
description: LicenseMasterRef refers to a Splunk Enterprise license
master managed by the operator within Kubernetes
Expand Down
58 changes: 29 additions & 29 deletions deploy/crds/enterprise.splunk.com_searchheadclusters_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -633,35 +633,8 @@ spec:
type: array
type: object
type: object
defaults:
description: Inline map of default.yml overrides used to initialize
the environment
type: string
defaultsUrl:
description: Full path or URL for one or more default.yml files, separated
by commas
type: string
ephemeralStorage:
description: If true, ephemeral (emptyDir) storage will be used for
/opt/splunk/etc and /opt/splunk/var volumes
type: boolean
etcStorage:
description: Storage capacity to request for /opt/splunk/etc persistent
volume claims (default=”1Gi”)
type: string
image:
description: Image to use for Splunk pod containers (overrides RELATED_IMAGE_SPLUNK_ENTERPRISE
environment variables)
type: string
imagePullPolicy:
description: 'Sets pull policy for all images (either “Always” or the
default: “IfNotPresent”)'
enum:
- Always
- IfNotPresent
type: string
indexerClusterRef:
description: IndexerClusterRef refers to a Splunk Enterprise indexer
clusterMasterRef:
description: ClusterMasterRef refers to a Splunk Enterprise indexer
cluster managed by the operator within Kubernetes
properties:
apiVersion:
Expand Down Expand Up @@ -697,6 +670,33 @@ spec:
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
type: string
type: object
defaults:
description: Inline map of default.yml overrides used to initialize
the environment
type: string
defaultsUrl:
description: Full path or URL for one or more default.yml files, separated
by commas
type: string
ephemeralStorage:
description: If true, ephemeral (emptyDir) storage will be used for
/opt/splunk/etc and /opt/splunk/var volumes
type: boolean
etcStorage:
description: Storage capacity to request for /opt/splunk/etc persistent
volume claims (default=”1Gi”)
type: string
image:
description: Image to use for Splunk pod containers (overrides RELATED_IMAGE_SPLUNK_ENTERPRISE
environment variables)
type: string
imagePullPolicy:
description: 'Sets pull policy for all images (either “Always” or the
default: “IfNotPresent”)'
enum:
- Always
- IfNotPresent
type: string
licenseMasterRef:
description: LicenseMasterRef refers to a Splunk Enterprise license
master managed by the operator within Kubernetes
Expand Down
Loading