-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
104 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
README.md | ||
*.Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# MetalK8s catalog source for OLMv1 | ||
|
||
contains the current operators: | ||
|
||
- MetalK8s [nginx-operator](../nginx-operator) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
ARG BASE_IMG=quay.io/operator-framework/opm:latest | ||
# The builder image is expected to contain | ||
# /bin/opm (with serve subcommand) | ||
FROM ${BASE_IMG} as builder | ||
|
||
# Copy FBC root into image at /configs and pre-populate serve cache | ||
ADD catalog /configs | ||
RUN ["/bin/opm", "serve", "/configs", "--cache-dir=/tmp/cache", "--cache-only"] | ||
|
||
FROM ${BASE_IMG} | ||
# The base image is expected to contain | ||
# /bin/opm (with serve subcommand) and /bin/grpc_health_probe | ||
|
||
# Configure the entrypoint and command | ||
ENTRYPOINT ["/bin/opm"] | ||
CMD ["serve", "/configs", "--cache-dir=/tmp/cache"] | ||
|
||
COPY --from=builder /configs /configs | ||
COPY --from=builder /tmp/cache /tmp/cache | ||
|
||
# Set FBC-specific label for the location of the FBC root directory | ||
# in the image | ||
LABEL operators.operatorframework.io.index.configs.v1=/configs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
README.md |
38 changes: 38 additions & 0 deletions
38
catalog-source/catalog/nginx-operator/bundles/v4.11.3.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
schema: olm.channel | ||
package: nginx-operator | ||
name: stable | ||
entries: | ||
- name: nginx-operator.v4.11.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
defaultChannel: stable | ||
description: | | ||
# NGINX-operator | ||
This operator manages IngressNginx CRs and uses them as a values file for the [ingress-nginx](https://github.com/kubernetes/ingress-nginx) helm chart. | ||
name: nginx-operator | ||
schema: olm.package |