File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,5 +32,4 @@ Part of <https://github.com/stackabletech/issues/issues/TRACKING_ISSUE>
3232### Bump Rust Dependencies
3333
3434- [ ] Bump ` stackable-operator ` and friends
35- - [ ] Bump ` product-config `
3635- [ ] Bump all other dependencies
Original file line number Diff line number Diff line change 2020 with :
2121 persist-credentials : false
2222 - uses : rustsec/audit-check@69366f33c96575abad1ee0dba8212993eecbe998 # v2.0.0
23+ # Build against stable because cargo-audit sometimes depends on things
24+ # that require a newer Rust version than our pinned toolchain. This does
25+ # not influence the result, so it should be safe.
26+ env :
27+ RUSTUP_TOOLCHAIN : stable
2328 with :
2429 token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -28,22 +28,15 @@ docker-build:
2828 docker build --force-rm --build-arg VERSION=${VERSION} -t " ${OCI_REGISTRY_HOSTNAME} /${OCI_REGISTRY_PROJECT_IMAGES} /${OPERATOR_NAME} :${VERSION} -${ARCH} " -f docker/Dockerfile .
2929
3030# # Chart related targets
31- compile-chart : version crds config
31+ compile-chart : version crds
3232
3333chart-clean :
34- rm -rf " deploy/helm/${OPERATOR_NAME} /configs"
3534 rm -rf " deploy/helm/${OPERATOR_NAME} /crds"
3635
3736version :
3837 cat " deploy/helm/${OPERATOR_NAME} /Chart.yaml" | yq " .version = \" ${VERSION} \" | .appVersion = \" ${VERSION} \" " > " deploy/helm/${OPERATOR_NAME} /Chart.yaml.new"
3938 mv " deploy/helm/${OPERATOR_NAME} /Chart.yaml.new" " deploy/helm/${OPERATOR_NAME} /Chart.yaml"
4039
41- config :
42- if [ -d " deploy/config-spec/" ]; then\
43- mkdir -p " deploy/helm/${OPERATOR_NAME} /configs" ; \
44- cp -r deploy/config-spec/* " deploy/helm/${OPERATOR_NAME} /configs" ; \
45- fi
46-
4740# We generate a crds.yaml, so that the effect of code changes are visible.
4841# The operator will take care of the CRD rollout itself.
4942crds :
Original file line number Diff line number Diff line change @@ -151,12 +151,6 @@ rec {
151151 pkgsTarget . util-linuxMinimal
152152 ] ;
153153 config = {
154- Env =
155- let
156- fileRefVars = {
157- PRODUCT_CONFIG = deploy/config-spec/properties.yaml ;
158- } ;
159- in lib . concatLists ( lib . mapAttrsToList ( env : path : lib . optional ( lib . pathExists path ) "${ env } =${ path } " ) fileRefVars ) ;
160154 Entrypoint = [ entrypoint ] ;
161155 Cmd = [ "run" ] ;
162156 } ;
Load diff This file was deleted.
Load diff This file was deleted.
Load diff This file was deleted.
Original file line number Diff line number Diff line change 1616 metadata :
1717 annotations :
1818 internal.stackable.tech/image : {{ include "operator.image" . }}
19- checksum/config : {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
2019 {{- with .Values.podAnnotations }}
2120 {{- toYaml . | nindent 8 }}
2221 {{- end }}
4140 imagePullPolicy : {{ .Values.image.pullPolicy }}
4241 resources :
4342 {{- toYaml .Values.resources | nindent 12 }}
44- volumeMounts :
45- - mountPath : /etc/stackable/{{ include "operator.appname" . }}/config-spec
46- name : config-spec
4743 env :
4844 # The following env vars are passed as clap (think CLI) arguments to the operator.
4945 # They are picked up by clap using the structs defied in the operator.
8884
8985 {{- include "telemetry.envVars" . | nindent 12 }}
9086 {{- include "maintenance.envVars" . | nindent 12 }}
91- volumes :
92- - name : config-spec
93- configMap :
94- name : {{ include "operator.fullname" . }}-configmap
9587 {{- with .Values.nodeSelector }}
9688 nodeSelector :
9789 {{- toYaml . | nindent 8 }}
Original file line number Diff line number Diff line change @@ -191,8 +191,6 @@ COPY LICENSE /licenses/LICENSE
191191
192192COPY --from=builder --chown=${STACKABLE_USER_UID}:0 /app/* /usr/local/bin/
193193
194- COPY deploy/config-spec/properties.yaml /etc/stackable/opensearch-operator/config-spec/properties.yaml
195-
196194USER ${STACKABLE_USER_UID}
197195
198196ENTRYPOINT ["stackable-opensearch-operator" ]
Original file line number Diff line number Diff line change 3939done
4040
4141# Ensure this script is executable
42- chmod +x " docs/modules/opensearch/examples/getting_started/getting_started.sh" \
43- || chmod +x " docs/modules/opensearch/examples/getting_started/code/getting_started.sh" \
42+ chmod +x " docs/modules/opensearch-operator /examples/getting_started/getting_started.sh" \
43+ || chmod +x " docs/modules/opensearch-operator /examples/getting_started/code/getting_started.sh" \
4444 || true
4545
4646echo " done"
You can’t perform that action at this time.
0 commit comments