Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
3972762
Remove automated MC code and all hard checks related to MC (#349)
kashok-splunk May 27, 2021
46a5e81
CSPL-1052-disabled MC verifications and test (#358)
pdhanoya-splunk May 27, 2021
45d650f
MC CRD (#369)
kashok-splunk Jun 11, 2021
7b0903f
CSPL-1055-added test to verify MC pod comes up when MC CRD is applied…
pdhanoya-splunk Jun 16, 2021
d248810
Merge branch 'develop' into feature-MC/CRD
kashok-splunk Jun 16, 2021
d0bf54a
CSPL-1053 Removal of Automated MC on splunk operator upgrade (#388)
kashok-splunk Jun 29, 2021
17b5e12
Adding monitoringConsoleRef to standalone/lm/shc (#403)
kashok-splunk Jul 12, 2021
f42b373
CSPL-1056-Standalone-autoamtion-for-mc-crd (#405)
pdhanoya-splunk Jul 12, 2021
1e0f1f3
Merge Develop into feature/MC-CRD branch
kashok-splunk Jul 29, 2021
f2bf261
Fixing circle ci TEST_FOCUS
kashok-splunk Jul 29, 2021
84efd57
Fixing smoke test failures on merge
kashok-splunk Jul 29, 2021
89ba47f
Fixing compilation error for smoke tests
kashok-splunk Jul 30, 2021
c128dc9
Disabling MC test cases
kashok-splunk Jul 30, 2021
9928e90
CSPL-1160 MC Documentation (#444)
kashok-splunk Aug 3, 2021
d43c5c2
[CSPL-1089] Update MC for idxc (#451)
kashok-splunk Aug 9, 2021
0e6d35c
Automation for CSPL-1089 (#460)
pdhanoya-splunk Aug 11, 2021
9552693
Merge remote-tracking branch 'origin/develop' into feature-MC/CRD
kashok-splunk Aug 12, 2021
2417e7f
Merge conflicts
kashok-splunk Aug 12, 2021
f81f662
Added wait for MC to go to updating phase post SH scale up (#464)
pdhanoya-splunk Aug 13, 2021
8a89126
[CSPL-1087] Full re-configuration when mcRef is changed/removed (#469)
kashok-splunk Aug 24, 2021
5749f08
MC RECONFIG TEST CASE (#471)
pdhanoya-splunk Aug 25, 2021
f3b46ce
Merge remote-tracking branch 'origin/develop' into feature-MC/CRD
kashok-splunk Aug 25, 2021
e60434b
Fix merge errors
kashok-splunk Aug 25, 2021
6eeed94
CSPL-1266: Update to latest develop & Added additional check to resol…
pdhanoya-splunk Sep 1, 2021
aeb03e9
[CSPL-1191] Extend AppFramework for MC CRD (#481)
kashok-splunk Sep 7, 2021
87b75a1
CSPL 1180 - CRD apiVersioning change from V2 to V3 (#501)
kashok-splunk Sep 10, 2021
54a1e64
CSPL-1226 S1 Automation for MC with App Framework (#514)
pdhanoya-splunk Sep 17, 2021
ed0b283
MC Bug. Wrong err condition check and not returning mcRef retrieved f…
kashok-splunk Oct 1, 2021
6ed2c70
CSPL-1364 Added Monitoring console test to test pipelines (#541)
pdhanoya-splunk Oct 15, 2021
0c7dd0e
CSPL-1321 (#522)
jambrosiano Oct 15, 2021
7bcc74a
Fixing OSS whitesource High Priority issues (#542)
kashok-splunk Oct 19, 2021
6a9faf2
CSPL-1179 Merge Develop to MC Feature branch (#534)
kashok-splunk Oct 19, 2021
95d65e0
Merge remote-tracking branch 'origin/develop' into CSPL-1379
kashok-splunk Oct 20, 2021
51a9979
Fixing UTs and review comments
kashok-splunk Oct 21, 2021
9082bef
Fixing review comments
kashok-splunk Oct 22, 2021
7229eba
Changes in make_bundle.sh to update MC CRD
kashok-splunk Oct 22, 2021
9a61c03
Reverting config.yml.old file changes
kashok-splunk Oct 22, 2021
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
2 changes: 1 addition & 1 deletion .circleci/config.yml.old
Original file line number Diff line number Diff line change
Expand Up @@ -506,4 +506,4 @@ jobs:
name: Delete cluster
command: |
make cluster-down
no_output_timeout: 30m
no_output_timeout: 30m
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
OPERATOR_SDK_VERSION=v0.18.2
REVIEWERS=pdhanoyasplunk,smohan-splunk,kashok-splunk,akondur,sgontla,vebken-splunk,gaurav-splunk,mgaldino-splunk,jambrosiano,tpereirasplunk,jryb
REVIEWERS=pdhanoyasplunk,smohan-splunk,kashok-splunk,akondur,sgontla,vebken-splunk,gaurav-splunk,mgaldino-splunk,jambrosiano,tpereirasplunk,jryb
2 changes: 1 addition & 1 deletion .github/workflows/build-test-push-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
needs: vulnerability-scan
strategy:
matrix:
test: [basic, appframework, secret]
test: [basic, appframework, secret, monitoringconsole]
runs-on: ubuntu-latest
env:
CLUSTER_NODES: 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/int-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
int-tests:
strategy:
matrix:
test: [appframework, secret, smartstore, monitoringconsole, scaling]
test: [appframework, secret, smartstore, monitoringconsole, scaling, crcrud, licensemaster]
runs-on: ubuntu-latest
env:
CLUSTER_NODES: 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-int-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
int-tests:
strategy:
matrix:
test: [appframework, secret, smartstore, monitoringconsole, scaling]
test: [appframework, secret, smartstore, monitoringconsole, scaling, crcrud, licensemaster]
runs-on: ubuntu-latest
env:
CLUSTER_NODES: 1
Expand Down
16 changes: 10 additions & 6 deletions build/make_bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
set -e

VERSION=`grep "Version.*=.*\".*\"" version/version.go | sed "s,.*Version.*=.*\"\(.*\)\".*,\1,"`
OLD_VERSIONS="v1 v1beta1 v1alpha3 v1alpha2"
OLD_VERSIONS="v2 v1 v1beta1 v1alpha3 v1alpha2"
DOCKER_IO_PATH="docker.io/splunk"
REDHAT_REGISTRY_PATH="registry.connect.redhat.com/splunk"
OPERATOR_IMAGE="$DOCKER_IO_PATH/splunk-operator:${VERSION}"
Expand Down Expand Up @@ -39,7 +39,11 @@ done

# append older versions to CRD files
for crd in deploy/crds/*_crd.yaml; do
yq w -i -s $YAML_SCRIPT_FILE $crd
# when moving from V3 to V4 version re-evaluate this condition CSPL-1401
if [ "$crd" != deploy/crds/enterprise.splunk.com_monitoringconsoles_crd.yaml ]
then
yq w -i -s $YAML_SCRIPT_FILE $crd
fi
done

RESOURCES="
Expand Down Expand Up @@ -95,7 +99,7 @@ cat << EOF >$YAML_SCRIPT_FILE
path: metadata.annotations.alm-examples
value: |-
[{
"apiVersion": "enterprise.splunk.com/v2",
"apiVersion": "enterprise.splunk.com/v3",
"kind": "IndexerCluster",
"metadata": {
"name": "example",
Expand All @@ -106,7 +110,7 @@ cat << EOF >$YAML_SCRIPT_FILE
}
},
{
"apiVersion": "enterprise.splunk.com/v2",
"apiVersion": "enterprise.splunk.com/v3",
"kind": "LicenseMaster",
"metadata": {
"name": "example",
Expand All @@ -115,7 +119,7 @@ cat << EOF >$YAML_SCRIPT_FILE
"spec": {}
},
{
"apiVersion": "enterprise.splunk.com/v2",
"apiVersion": "enterprise.splunk.com/v3",
"kind": "SearchHeadCluster",
"metadata": {
"name": "example",
Expand All @@ -126,7 +130,7 @@ cat << EOF >$YAML_SCRIPT_FILE
}
},
{
"apiVersion": "enterprise.splunk.com/v2",
"apiVersion": "enterprise.splunk.com/v3",
"kind": "Standalone",
"metadata": {
"name": "example",
Expand Down
49 changes: 48 additions & 1 deletion deploy/crds/enterprise.splunk.com_clustermasters_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
jsonPath: .status.phase
name: Phase
type: string
name: v2
name: v3
schema:
openAPIV3Schema:
description: ClusterMaster is the Schema for the clustermasters API
Expand Down Expand Up @@ -941,6 +941,43 @@ spec:
a higher value'
format: int32
type: integer
monitoringConsoleRef:
description: MonitoringConsoleRef refers to a Splunk Enterprise monitoring
console managed by the operator within Kubernetes
properties:
apiVersion:
description: API version of the referent.
type: string
fieldPath:
description: 'If referring to a piece of an object instead of
an entire object, this string should contain a valid JSON/Go
field access statement, such as desiredState.manifest.containers[2].
For example, if the object reference is to a container within
a pod, this would take on a value like: "spec.containers{name}"
(where "name" refers to the name of the container that triggered
the event) or if no container name is specified "spec.containers[2]"
(container with index 2 in this pod). This syntax is chosen
only to have some well-defined way of referencing a part of
an object. TODO: this design is not final and this field is
subject to change in the future.'
type: string
kind:
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
type: string
namespace:
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
type: string
resourceVersion:
description: 'Specific resourceVersion to which this reference
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
type: string
uid:
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
type: string
type: object
readinessInitialDelaySeconds:
description: 'ReadinessInitialDelaySeconds defines initialDelaySeconds(See
https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-readiness-probes)
Expand Down Expand Up @@ -2912,6 +2949,16 @@ spec:
storage: true
subresources:
status: {}
- name: v2
served: true
storage: false
schema:
openAPIV3Schema:
type: object
x-kubernetes-preserve-unknown-fields: true
properties:
apiVersion:
type: string
- name: v1
served: true
storage: false
Expand Down
49 changes: 48 additions & 1 deletion deploy/crds/enterprise.splunk.com_indexerclusters_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v2
name: v3
schema:
openAPIV3Schema:
description: IndexerCluster is the Schema for a Splunk Enterprise indexer
Expand Down Expand Up @@ -882,6 +882,43 @@ spec:
a higher value'
format: int32
type: integer
monitoringConsoleRef:
description: MonitoringConsoleRef refers to a Splunk Enterprise monitoring
console managed by the operator within Kubernetes
properties:
apiVersion:
description: API version of the referent.
type: string
fieldPath:
description: 'If referring to a piece of an object instead of
an entire object, this string should contain a valid JSON/Go
field access statement, such as desiredState.manifest.containers[2].
For example, if the object reference is to a container within
a pod, this would take on a value like: "spec.containers{name}"
(where "name" refers to the name of the container that triggered
the event) or if no container name is specified "spec.containers[2]"
(container with index 2 in this pod). This syntax is chosen
only to have some well-defined way of referencing a part of
an object. TODO: this design is not final and this field is
subject to change in the future.'
type: string
kind:
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
type: string
namespace:
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
type: string
resourceVersion:
description: 'Specific resourceVersion to which this reference
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
type: string
uid:
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
type: string
type: object
readinessInitialDelaySeconds:
description: 'ReadinessInitialDelaySeconds defines initialDelaySeconds(See
https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-readiness-probes)
Expand Down Expand Up @@ -2569,6 +2606,16 @@ spec:
specReplicasPath: .spec.replicas
statusReplicasPath: .status.replicas
status: {}
- name: v2
served: true
storage: false
schema:
openAPIV3Schema:
type: object
x-kubernetes-preserve-unknown-fields: true
properties:
apiVersion:
type: string
- name: v1
served: true
storage: false
Expand Down
49 changes: 48 additions & 1 deletion deploy/crds/enterprise.splunk.com_licensemasters_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v2
name: v3
schema:
openAPIV3Schema:
description: LicenseMaster is the Schema for a Splunk Enterprise license manager.
Expand Down Expand Up @@ -946,6 +946,43 @@ spec:
a higher value'
format: int32
type: integer
monitoringConsoleRef:
description: MonitoringConsoleRef refers to a Splunk Enterprise monitoring
console managed by the operator within Kubernetes
properties:
apiVersion:
description: API version of the referent.
type: string
fieldPath:
description: 'If referring to a piece of an object instead of
an entire object, this string should contain a valid JSON/Go
field access statement, such as desiredState.manifest.containers[2].
For example, if the object reference is to a container within
a pod, this would take on a value like: "spec.containers{name}"
(where "name" refers to the name of the container that triggered
the event) or if no container name is specified "spec.containers[2]"
(container with index 2 in this pod). This syntax is chosen
only to have some well-defined way of referencing a part of
an object. TODO: this design is not final and this field is
subject to change in the future.'
type: string
kind:
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
type: string
namespace:
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
type: string
resourceVersion:
description: 'Specific resourceVersion to which this reference
is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
type: string
uid:
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
type: string
type: object
readinessInitialDelaySeconds:
description: 'ReadinessInitialDelaySeconds defines initialDelaySeconds(See
https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-readiness-probes)
Expand Down Expand Up @@ -2681,6 +2718,16 @@ spec:
storage: true
subresources:
status: {}
- name: v2
served: true
storage: false
schema:
openAPIV3Schema:
type: object
x-kubernetes-preserve-unknown-fields: true
properties:
apiVersion:
type: string
- name: v1
served: true
storage: false
Expand Down
Loading