-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
2.13.1 GA
-
None
In the document https://access.redhat.com/documentation/en-us/red_hat_3scale_api_management/2.13/html/installing_3scale/install-threescale-on-openshift-guide#amazon_s3_secret the secret yaml example, if we paste it directly, cannot be applied successfuly because it miss the apiVersion at the header.
kind: Secret
metadata:
creationTimestamp: null
name: aws-auth
stringData:
AWS_ACCESS_KEY_ID: 123456
AWS_SECRET_ACCESS_KEY: 98765544
AWS_BUCKET: mybucket.example.com
AWS_REGION: eu-west-1
type: Opaque
should be:
apiVersion: v1
kind: Secret
metadata:
creationTimestamp: null
name: aws-auth
stringData:
AWS_ACCESS_KEY_ID: 123456
AWS_SECRET_ACCESS_KEY: 98765544
AWS_BUCKET: mybucket.example.com
AWS_REGION: eu-west-1
type: Opaque
Without the proper apiVersion, one will face error
[root@bastion-rhel8 3scale]# oc apply -f secret.yaml
Error from server (NotFound): error when creating "secret.yaml": the server could not find the requested resource
previous version of doc has the same issue.