Skip to content

Commit de67e2b

Browse files
authored
Merge pull request #17 from marklogic/main
Merge main back to develop
2 parents 38df497 + 4897f2e commit de67e2b

14 files changed

+2132
-254
lines changed

.github/workflows/release.yaml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Release Charts
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
release:
10+
permissions:
11+
contents: write
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Configure Git
20+
run: |
21+
git config user.name "$GITHUB_ACTOR"
22+
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
23+
24+
- name: Install Helm
25+
uses: azure/setup-helm@v4
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
29+
- name: Run chart-releaser
30+
uses: helm/chart-releaser-action@v1.6.0
31+
with:
32+
charts_dir: 'charts'
33+
env:
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
CR_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ helm upgrade marklogic-operator marklogic-operator/marklogic-operator --install
4343
## Install MarkLogic Cluster with MarkLogic Operator
4444
Once MarkLogic Operator is installed, go to config/samples folder and pick one sample file to deploy. For example, to deploy marklogic single group, use the following script:
4545
```sh
46-
kubeclt apply -f marklogicgroup.yaml
46+
kubectl apply -f marklogicgroup.yaml
4747
```

api/v1alpha1/common_types.go

+6-1
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,17 @@ type ContainerProbe struct {
1919
}
2020

2121
// Storage is the inteface to add pvc and pv support in marklogic
22-
2322
type Storage struct {
2423
Size string `json:"size,omitempty"`
2524
VolumeMount VolumeMountWrapper `json:"volumeMount,omitempty"`
2625
}
2726

27+
type HugePages struct {
28+
Enabled bool `json:"enabled,omitempty"`
29+
// +kubebuilder:default:="/dev/hugepages"
30+
MountPath string `json:"mountPath,omitempty"`
31+
}
32+
2833
type VolumeMountWrapper struct {
2934
Volume []corev1.Volume `json:"volume,omitempty"`
3035
MountPath []corev1.VolumeMount `json:"mountPath,omitempty"`

api/v1alpha1/marklogicgroup_types.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ type MarklogicGroupSpec struct {
3535
// +kubebuilder:default:="cluster.local"
3636
ClusterDomain string `json:"clusterDomain,omitempty"`
3737

38-
// +kubebuilder:default:="marklogicdb/marklogic-db:11.2.0-ubi"
38+
// +kubebuilder:default:="progressofficial/marklogic-db:11.3.0-ubi-rootless"
3939
Image string `json:"image"`
4040
// +kubebuilder:default:="IfNotPresent"
4141
ImagePullPolicy string `json:"imagePullPolicy,omitempty"`
@@ -57,6 +57,9 @@ type MarklogicGroupSpec struct {
5757
TopologySpreadConstraints []corev1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
5858
PriorityClassName string `json:"priorityClassName,omitempty"`
5959

60+
// +kubebuilder:default:={enabled: false, mountPath: "/dev/hugepages"}
61+
HugePages *HugePages `json:"hugePages,omitempty"`
62+
6063
// +kubebuilder:default:={enabled: true, initialDelaySeconds: 30, timeoutSeconds: 5, periodSeconds: 30, successThreshold: 1, failureThreshold: 3}
6164
LivenessProbe ContainerProbe `json:"livenessProbe,omitempty"`
6265
// +kubebuilder:default:={enabled: false, initialDelaySeconds: 10, timeoutSeconds: 5, periodSeconds: 30, successThreshold: 1, failureThreshold: 3}

api/v1alpha1/zz_generated.deepcopy.go

+20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

charts/marklogic-operator/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ type: application
1313
# This is the chart version. This version number should be incremented each time you make changes
1414
# to the chart and its templates, including the app version.
1515
# Versions are expected to follow Semantic Versioning (https://semver.org/)
16-
version: 0.1.0
16+
version: 1.0.0-ea1
1717
# This is the version number of the application being deployed. This version number should be
1818
# incremented each time you make changes to the application. Versions are not expected to
1919
# follow Semantic Versioning. They should reflect the version the application is using.
2020
# It is recommended to use it with quotes.
21-
appVersion: "0.1.0"
21+
appVersion: 1.0.0-ea1

0 commit comments

Comments
 (0)