forked from dana-team/container-app-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changed logging to only support syslogng and elasticsearch.
When a user wants logging, now automatcially SyslogNGOutput and SyslogNGFlow objects are created. In addition, support for Splunk has been removed and only Elasticsearch Outputs are supported. A test case has been modified due to a known issue whiich should be fixed in the next release of loggig-operator (kube-logging/logging-operator#1140) Signed-off-by: mzeevi <meytar80@gmail.com>
- Loading branch information
Showing
26 changed files
with
527 additions
and
555 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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,42 @@ | ||
apiVersion: rcs.dana.io/v1alpha1 | ||
kind: Capp | ||
metadata: | ||
name: capp-sample | ||
namespace: capp-sample | ||
spec: | ||
configurationSpec: | ||
template: | ||
spec: | ||
containers: | ||
- env: | ||
- name: APP_NAME | ||
value: capp-env-var | ||
image: 'quay.io/danateamorg/example-python-app:v1-flask' | ||
name: capp-sample | ||
volumeMounts: | ||
- name: testpvc | ||
mountPath: /data | ||
volumes: | ||
- name: testpvc | ||
persistentVolumeClaim: | ||
claimName: nfspvc | ||
readOnly: false | ||
routeSpec: | ||
hostname: capp.dev | ||
tlsEnabled: true | ||
tlsSecret: cappTlsSecretName | ||
volumesSpec: | ||
nfsVolumes: | ||
- server: test | ||
path: /test | ||
name: nfspvc | ||
capacity: | ||
storage: 200Gi | ||
logSpec: | ||
type: splunk | ||
host: 10.11.12.13 | ||
index: main | ||
username: elastic | ||
passwordSecretName: es-elastic-user | ||
scaleMetric: concurrency | ||
state: enabled |
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 |
---|---|---|
@@ -1,2 +1,8 @@ | ||
resources: | ||
- manager.yaml | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
images: | ||
- name: controller | ||
newName: controller | ||
newTag: latest |
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 was deleted.
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,14 @@ | ||
--- | ||
apiVersion: logging.banzaicloud.io/v1beta1 | ||
kind: Logging | ||
metadata: | ||
name: logging | ||
spec: | ||
controlNamespace: logging | ||
--- | ||
apiVersion: logging.banzaicloud.io/v1beta1 | ||
kind: SyslogNGConfig | ||
metadata: | ||
name: logging | ||
namespace: logging | ||
spec: {} |
Oops, something went wrong.